rpms/polkit-qt/devel polkit-qt-0.95.1-install-cmake-find.patch, NONE, 1.1 polkit-qt.spec, 1.7, 1.8

Jaroslav Reznik jreznik at fedoraproject.org
Thu Jan 14 15:27:34 UTC 2010


Author: jreznik

Update of /cvs/pkgs/rpms/polkit-qt/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17387

Modified Files:
	polkit-qt.spec 
Added Files:
	polkit-qt-0.95.1-install-cmake-find.patch 
Log Message:
* Thu Jan 14 2010 Jaroslav Reznik <jreznik at redhat.com> - 0.95.1-2
- Installs FindPolkitQt-1.cmake


polkit-qt-0.95.1-install-cmake-find.patch:
 CMakeLists.txt |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--- NEW FILE polkit-qt-0.95.1-install-cmake-find.patch ---
diff -up polkit-qt-1-0.95.1/cmake/modules/CMakeLists.txt.install-cmake-find polkit-qt-1-0.95.1/cmake/modules/CMakeLists.txt
--- polkit-qt-1-0.95.1/cmake/modules/CMakeLists.txt.install-cmake-find	2009-12-23 12:31:13.000000000 +0100
+++ polkit-qt-1-0.95.1/cmake/modules/CMakeLists.txt	2010-01-14 15:22:30.100520720 +0100
@@ -1,9 +1,9 @@
  
 ## install the cmake files
 
-#file( GLOB cmakeFiles FindPolkitQt.cmake )
-#set(module_install_dir ${CMAKE_ROOT}/Modules )
+file( GLOB cmakeFiles FindPolkitQt-1.cmake )
+set(module_install_dir ${CMAKE_ROOT}/Modules )
 
-#install( FILES ${cmakeFiles} 
-#         DESTINATION ${module_install_dir}  )
+install( FILES ${cmakeFiles} 
+         DESTINATION ${module_install_dir}  )
 


Index: polkit-qt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/polkit-qt/devel/polkit-qt.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -p -r1.7 -r1.8
--- polkit-qt.spec	5 Jan 2010 16:11:13 -0000	1.7
+++ polkit-qt.spec	14 Jan 2010 15:27:34 -0000	1.8
@@ -1,6 +1,6 @@
 Name:            polkit-qt
 Version:         0.95.1
-Release:         1%{?dist}
+Release:         2%{?dist}
 Summary:         Qt bindings for PolicyKit
 
 Group:           System Environment/Libraries
@@ -9,6 +9,9 @@ URL:             http://websvn.kde.org/b
 
 Source0:         %{name}-1-%{version}.tar.bz2
 Source1:         Doxyfile
+
+Patch0:          polkit-qt-0.95.1-install-cmake-find.patch
+
 BuildRoot:       %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:   automoc4
@@ -46,6 +49,9 @@ BuildArch: noarch
 %prep
 %setup -q -n %{name}-1-%{version}
 
+# temporary patch - installs FindPolkitQt-1.cmake until we decide how to deal with cmake 
+# module installation
+%patch0 -p1 -b .install-cmake-find
 
 %build
 mkdir -p %{_target_platform}
@@ -90,12 +96,16 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/polkit-qt-core-1.pc
 %{_libdir}/pkgconfig/polkit-qt-gui-1.pc
 %{_libdir}/pkgconfig/polkit-qt-agent-1.pc
+%{_datadir}/cmake/Modules/*.cmake
 
 %files doc
 %defattr(-,root,root,-)
 %doc html/*
 
 %changelog
+* Thu Jan 14 2010 Jaroslav Reznik <jreznik at redhat.com> - 0.95.1-2
+- Installs FindPolkitQt-1.cmake
+
 * Tue Jan 05 2010 Jaroslav Reznik <jreznik at redhat.com> - 0.95.1-1
 - Update to release version
 



More information about the scm-commits mailing list