packages: oprofile/oprofile.spec - without_gui fix - rpm would refuse to ex...

jajcus jajcus at pld-linux.org
Wed Jun 13 15:10:20 CEST 2012


Author: jajcus                       Date: Wed Jun 13 13:10:20 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- without_gui fix - rpm would refuse to exclude file that does not exist

---- Files affected:
packages/oprofile:
   oprofile.spec (1.62 -> 1.63) 

---- Diffs:

================================================================
Index: packages/oprofile/oprofile.spec
diff -u packages/oprofile/oprofile.spec:1.62 packages/oprofile/oprofile.spec:1.63
--- packages/oprofile/oprofile.spec:1.62	Tue May  8 21:41:57 2012
+++ packages/oprofile/oprofile.spec	Wed Jun 13 15:10:15 2012
@@ -138,7 +138,9 @@
 %attr(755,root,root) %{_bindir}/opjitconv
 %attr(755,root,root) %{_bindir}/opreport
 %attr(755,root,root) %{_bindir}/oprofiled
+%if %{without gui}
 %exclude  %{_bindir}/oprof_start
+%endif
 %dir %{_libdir}/oprofile
 %attr(755,root,root) %{_libdir}/oprofile/libopagent.so.*.*.*
 %attr(755,root,root) %{_libdir}/oprofile/libopagent.so.1
@@ -175,6 +177,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.63  2012/06/13 13:10:15  jajcus
+- without_gui fix - rpm would refuse to exclude file that does not exist
+
 Revision 1.62  2012/05/08 19:41:57  arekm
 - release 6
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/oprofile/oprofile.spec?r1=1.62&r2=1.63



More information about the pld-cvs-commit mailing list