rpms/otrs/devel otrs.spec,1.3,1.4

Michael Patrick McGrath (mmcgrath) fedora-extras-commits at redhat.com
Thu Jan 4 04:37:48 UTC 2007


Author: mmcgrath

Update of /cvs/extras/rpms/otrs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31201/devel

Modified Files:
	otrs.spec 
Log Message:
Using a different method for removing bogus perl requirements/provides to work with older versions of RPM


Index: otrs.spec
===================================================================
RCS file: /cvs/extras/rpms/otrs/devel/otrs.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- otrs.spec	7 Sep 2006 20:42:08 -0000	1.3
+++ otrs.spec	4 Jan 2007 04:37:18 -0000	1.4
@@ -1,7 +1,7 @@
 Summary:	The Open Ticket Request System
 Name:		otrs
 Version:	2.0.4
-Release:	4%{?dist}
+Release:	5%{?dist}
 License:	GPL
 Group:		Applications/Internet
 URL: 		http://www.otrs.org/
@@ -17,10 +17,9 @@
 Requires(postun): /sbin/service
 
 #This package does not provide ANY perl modules
-%define bogusreqs 'perl(Kernel\
-perl(HTML::Safe)'
-%global reqfilt sh -c "%{__perl_requires} | %{__grep} -Fv %{bogusreqs}"
-%global provfilt sh -c "%{__perl_provides} | %{__grep} -Fv %{bogusreqs}"
+%define bogusreqs 'perl.Kernel\\|perl.HTML..Safe.'
+%global reqfilt sh -c '%{__perl_requires} | %{__grep} -Ev "%{bogusreqs}"'
+%global provfilt sh -c '%{__perl_provides} | %{__grep} -Ev "%{bogusreqs}"'
 %define __perl_requires %{reqfilt}
 %define __perl_provides %{provfilt}
 %define otrsdir %{_localstatedir}/www/%{name}/ 
@@ -117,6 +116,9 @@
 %attr(0660,otrs,apache) %{otrsdir}/.*ail*
 
 %changelog
+* Wed Jan 03 2007 Mike McGrath <imlinux at gmail.com> 2.0.4-5
+- Using different method to remove perl modules
+
 * Thu Sep 07 2006 Mike McGrath <imlinux at gmail.com> 2.0.4-4
 - Rebuild for FC6
 




More information about the scm-commits mailing list