rpms/kdebindings/devel kdebindings.spec,1.240,1.241

Kevin Kofler kkofler at fedoraproject.org
Thu Sep 3 21:53:16 UTC 2009


Author: kkofler

Update of /cvs/pkgs/rpms/kdebindings/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30036/devel

Modified Files:
	kdebindings.spec 
Log Message:
* Thu Sep 03 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.3.1-3
- also disable polkit-qt on EL6+
- also remove polkit-qt sip files and examples on F12+/EL6+


Index: kdebindings.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kdebindings/devel/kdebindings.spec,v
retrieving revision 1.240
retrieving revision 1.241
diff -u -p -r1.240 -r1.241
--- kdebindings.spec	3 Sep 2009 14:10:28 -0000	1.240
+++ kdebindings.spec	3 Sep 2009 21:53:16 -0000	1.241
@@ -36,7 +36,7 @@
 
 Name: kdebindings
 Version: 4.3.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: KDE bindings to non-C++ languages
 
 # http://techbase.kde.org/Policies/Licensing_Policy
@@ -60,7 +60,7 @@ BuildRequires:  kdebase-workspace-devel 
 BuildRequires:  kdegraphics-devel >= %{version}
 BuildRequires:  kdelibs4-devel >= %{version}
 BuildRequires:  kdepimlibs-devel >= %{version}
-%if 0%{?fedora} < 12
+%if 0%{?fedora} < 12 && 0%{?rhel} < 6
 BuildRequires:  polkit-qt-devel
 %endif
 BuildRequires:  python-devel
@@ -307,6 +307,12 @@ make -C %{_target_platform}
 rm -rf %{buildroot}
 make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
 
+%if 0%{?fedora} >= 12 || 0%{?rhel} >= 6
+# zap polkit-qt stuff which gets installed even without polkit-qt available
+rm -rf %{buildroot}%{_kde4_datadir}/sip/PyKDE4/polkitqt/
+rm -rf %{buildroot}%{_kde4_appsdir}/pykde4/examples/polkitqtExamples/
+%endif
+
 # HACK: fix multilb conflict, similar to PyQt4's http://bugzilla.redhat.com/509415
 rm -fv %{buildroot}%{_bindir}/pykdeuic4
 mv %{buildroot}%{python_sitearch}/PyQt4/uic/pykdeuic4.py \
@@ -509,6 +515,10 @@ fi
 
 
 %changelog
+* Thu Sep 03 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.3.1-3
+- also disable polkit-qt on EL6+
+- also remove polkit-qt sip files and examples on F12+/EL6+
+
 * Thu Sep 03 2009 Kevin Kofler <Kevin at tigcc.ticalc.org> - 4.3.1-2
 - only (temporarily) disable Falcon on F12+
 - drop bindings for polkit-qt on F12+ (PolicyKit 0.9 is going away)




More information about the fedora-extras-commits mailing list