Update to latest upstream release

epel9
Dan Vrátil 11 years ago
parent 60e5d44b4c
commit 10b7b47fed

1
.gitignore vendored

@ -1,3 +1,4 @@
/PackageKit-Qt-0.8.6.tar.gz /PackageKit-Qt-0.8.6.tar.gz
/PackageKit-Qt-0.8.7.tar.xz /PackageKit-Qt-0.8.7.tar.xz
/PackageKit-Qt-0.8.8.tar.xz /PackageKit-Qt-0.8.8.tar.xz
/QPACKAGEKIT_0_8_9.tar.gz

@ -1,11 +1,19 @@
%global gitTag QPACKAGEKIT_0_8_9
Summary: Qt support library for PackageKit Summary: Qt support library for PackageKit
Name: PackageKit-Qt Name: PackageKit-Qt
Version: 0.8.8 Version: 0.8.9
Release: 2%{?dist} Release: 1%{?dist}
License: LGPLv2+ License: LGPLv2+
URL: http://www.packagekit.org/ URL: http://www.packagekit.org/
Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.xz
# Gitorious does not provide final tarballs, but allows downloading gzipp'ed snapshots
# 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 BuildRequires: cmake
BuildRequires: pkgconfig(QtDBus) pkgconfig(QtSql) BuildRequires: pkgconfig(QtDBus) pkgconfig(QtSql)
@ -32,7 +40,9 @@ Development headers and libraries for PackageKit-Qt.
%prep %prep
%setup -q %setup -q -n packagekit-packagekit-qt
%patch0 -p1 -b .cmake-config
%build %build
mkdir -p %{_target_platform} mkdir -p %{_target_platform}
@ -67,6 +77,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog %changelog
* Tue Apr 08 2014 Daniel Vrátil <dvratil@redhat.com> - 0.8.9-1
- Update to latest upstream release
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-2 * Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

@ -0,0 +1,32 @@
diff --git a/src/modules/CMakeLists.txt b/src/modules/CMakeLists.txt
index e643a71..0b84840 100755
--- a/src/modules/CMakeLists.txt
+++ b/src/modules/CMakeLists.txt
@@ -4,7 +4,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${LIBNAME}-config.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/${LIBNAME}-config.cmake
@ONLY
)
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/packagekit-qt-config-version.cmake.in
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${LIBNAME}-config-version.cmake.in
${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
new file mode 100644
index 0000000..860eb70
--- /dev/null
+++ b/src/modules/packagekit-qt2-config-version.cmake.in
@@ -0,0 +1,13 @@
+SET(PACKAGE_VERSION @VERSION@)
+IF (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
+ SET(PACKAGE_VERSION_EXACT "true")
+ENDIF (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION)
+IF (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
+ SET(PACKAGE_VERSION_COMPATIBLE "true")
+ELSE (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
+ SET(PACKAGE_VERSION_UNSUITABLE "true")
+ENDIF (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION)
+IF (PACKAGE_VERSION_UNSUITABLE)
+ MESSAGE("VERSION CHECK FAILED FOR ${PACKAGE_FIND_NAME}. WANTED ${PACKAGE_FIND_VERSION}, HAVE ${PACKAGE_VERSION}")
+ENDIF(PACKAGE_VERSION_UNSUITABLE)
+

@ -1 +1 @@
55ba87425a8d7a8b1f021e8769b88534 PackageKit-Qt-0.8.8.tar.xz 22cdccfdad1b8146eedab27c90c1da80 QPACKAGEKIT_0_8_9.tar.gz

Loading…
Cancel
Save