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
Qt bindings for PackageKit.
Qt5 bindings for PackageKit.

View File

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