diff --git a/.gitignore b/.gitignore index 5922171..caee3e6 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /PackageKit-Qt-0.8.7.tar.xz /PackageKit-Qt-0.8.8.tar.xz /QPACKAGEKIT_0_8_9.tar.gz +/master.tar.gz diff --git a/PackageKit-Qt.spec b/PackageKit-Qt.spec index abe853e..9234228 100644 --- a/PackageKit-Qt.spec +++ b/PackageKit-Qt.spec @@ -1,9 +1,9 @@ -%global gitTag QPACKAGEKIT_0_8_9 +%global gitTag master Summary: Qt support library for PackageKit Name: PackageKit-Qt -Version: 0.8.9 -Release: 1%{?dist} +Version: 0.9.0 +Release: 0.1.20140408git%{?dist} License: LGPLv2+ URL: http://www.packagekit.org/ @@ -12,7 +12,6 @@ URL: http://www.packagekit.org/ # of specific commits or tags Source0: https://gitorious.org/packagekit/packagekit-qt/archive/%{gitTag}.tar.gz -# Re-add file removed in upstream Patch0: packagekit-qt-add-missing-config-file.patch BuildRequires: cmake @@ -64,19 +63,22 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %files %doc AUTHORS NEWS COPYING -%{_libdir}/libpackagekit-qt2.so.%{version} -%{_libdir}/libpackagekit-qt2.so.6* +%{_libdir}/libpackagekitqt4.so.%{version} +%{_libdir}/libpackagekitqt4.so.0 %files devel -%{_libdir}/libpackagekit-qt2.so -%{_libdir}/pkgconfig/packagekit-qt2.pc +%{_libdir}/libpackagekitqt4.so +%{_libdir}/pkgconfig/packagekitqt4.pc %dir %{_includedir}/PackageKit -%{_includedir}/PackageKit/packagekit-qt2/ +%{_includedir}/PackageKit/packagekitqt4/ %dir %{_libdir}/cmake -%{_libdir}/cmake/packagekit-qt2/ +%{_libdir}/cmake/packagekitqt4/ %changelog +* Tue Apr 08 2014 Daniel Vrátil - 0.9.0-1 +- Update to 0.9.0 git snapshot, 0.8.x does not build against PackageKit 0.9.0 which is in rawhide + * Tue Apr 08 2014 Daniel Vrátil - 0.8.9-1 - Update to latest upstream release diff --git a/packagekit-qt-add-missing-config-file.patch b/packagekit-qt-add-missing-config-file.patch index a037e88..502e937 100644 --- a/packagekit-qt-add-missing-config-file.patch +++ b/packagekit-qt-add-missing-config-file.patch @@ -11,11 +11,11 @@ index e643a71..0b84840 100755 ${CMAKE_CURRENT_BINARY_DIR}/${LIBNAME}-config-version.cmake @ONLY ) -diff --git a/src/modules/packagekit-qt2-config-version.cmake.in b/src/modules/packagekit-qt2-config-version.cmake.in +diff --git a/src/modules/packagekitqt4-config-version.cmake.in b/src/modules/packagekitqt4-config-version.cmake.in new file mode 100644 index 0000000..860eb70 --- /dev/null -+++ b/src/modules/packagekit-qt2-config-version.cmake.in ++++ b/src/modules/packagekitqt4-config-version.cmake.in @@ -0,0 +1,13 @@ +SET(PACKAGE_VERSION @VERSION@) +IF (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION) diff --git a/sources b/sources index 2287ffd..500f05e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -22cdccfdad1b8146eedab27c90c1da80 QPACKAGEKIT_0_8_9.tar.gz +b82491744a84b6e0dcfe3a163ef441c9 master.tar.gz