don't obsolete libpackagekitqt4 [release 0.9.6-2mamba;Tue Oct 17 2017]

This commit is contained in:
Silvan Calarco 2024-01-06 08:22:16 +01:00
parent dc9c1e0402
commit 5c57193d89
2 changed files with 31 additions and 31 deletions

View File

@ -1,4 +1,4 @@
# packagekit-qt # packagekit-qt
Qt bindings for PackageKit. Qt5 bindings for PackageKit.

View File

@ -1,9 +1,9 @@
%define tagver %(echo %version | tr . _) %define tagver %(echo %version | tr . _)
Name: packagekit-qt Name: packagekit-qt
Epoch: 1 Epoch: 1
Version: 0.9.5 Version: 0.9.6
Release: 2mamba Release: 2mamba
Summary: Qt bindings for PackageKit Summary: Qt5 bindings for PackageKit
Group: System/Management Group: System/Management
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
@ -16,34 +16,28 @@ License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libqt4-devel BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: PackageKit-devel >= 0.9 BuildRequires: PackageKit-glib-devel
BuildRequires: cmake BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Qt bindings for PackageKit. Qt5 bindings for PackageKit.
%package -n libpackagekitqt4 %package -n libpackagekitqt5
Summary: Shared libraries for %{name} Summary: Qt5 bindings for PackageKit.
Group: System/Libraries Group: System/Libraries
Provides: PackageKit-qt Requires: PackageKit >= 1.1.6
Obsoletes: PackageKit-qt
Provides: PackageKit-qt2
Obsoletes: PackageKit-qt2
Provides: libpackagekit-qt2
Obsoletes: libpackagekit-qt2
Requires: PackageKit >= 0.9
%description -n libpackagekitqt4 %description -n libpackagekitqt5
Qt bindings for PackageKit. Qt bindings for PackageKit.
%package -n libpackagekitqt4-devel %package -n libpackagekitqt5-devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: libpackagekitqt4 = %{?epoch:%epoch:}%{version}-%{release} Requires: libpackagekitqt5 = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config Requires: pkg-config
Provides: PackageKit-qt-devel Provides: PackageKit-qt-devel
Obsoletes: PackageKit-qt-devel Obsoletes: PackageKit-qt-devel
@ -52,7 +46,7 @@ Obsoletes: PackageKit-qt2-devel
Provides: libpackagekit-qt2-devel Provides: libpackagekit-qt2-devel
Obsoletes: libpackagekit-qt2-devel Obsoletes: libpackagekit-qt2-devel
%description -n libpackagekitqt4-devel %description -n libpackagekitqt5-devel
This package contains libraries and header files for developing applications that use %{name}. This package contains libraries and header files for developing applications that use %{name}.
%debug_package %debug_package
@ -72,26 +66,32 @@ This package contains libraries and header files for developing applications tha
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n libpackagekitqt4 -p /sbin/ldconfig %post -n libpackagekitqt5 -p /sbin/ldconfig
%postun -n libpackagekitqt4 -p /sbin/ldconfig %postun -n libpackagekitqt5 -p /sbin/ldconfig
%files -n libpackagekitqt4 %files -n libpackagekitqt5
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libpackagekitqt4.so.* %{_libdir}/libpackagekitqt5.so.*
%doc AUTHORS COPYING %doc AUTHORS COPYING
%files -n libpackagekitqt4-devel %files -n libpackagekitqt5-devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/packagekitqt4 %dir %{_includedir}/packagekitqt5
%dir %{_includedir}/packagekitqt4/PackageKit %dir %{_includedir}/packagekitqt5/PackageKit
%{_includedir}/packagekitqt4/PackageKit/* %{_includedir}/packagekitqt5/PackageKit/*
%dir %{_libdir}/cmake/packagekitqt4 %dir %{_libdir}/cmake/packagekitqt5
%{_libdir}/cmake/packagekitqt4/*.cmake %{_libdir}/cmake/packagekitqt5/*.cmake
%{_libdir}/libpackagekitqt4.so %{_libdir}/libpackagekitqt5.so
%{_libdir}/pkgconfig/packagekitqt4.pc %{_libdir}/pkgconfig/packagekitqt5.pc
%doc NEWS TODO %doc NEWS TODO
%changelog %changelog
* Tue Oct 17 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-2mamba
- don't obsolete libpackagekitqt4
* Fri Oct 13 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.6-1mamba
- update to 0.9.6
* Sat Aug 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.5-2mamba * Sat Aug 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.5-2mamba
- fix requirements of libpackagekitqt4-devel - fix requirements of libpackagekitqt4-devel