rpms/otrs/FC-5 otrs.spec,1.2,1.3

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


Author: mmcgrath

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

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/FC-5/otrs.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- otrs.spec	29 Mar 2006 21:43:37 -0000	1.2
+++ otrs.spec	4 Jan 2007 04:37:13 -0000	1.3
@@ -1,7 +1,7 @@
 Summary:	The Open Ticket Request System
 Name:		otrs
 Version:	2.0.4
-Release:	3%{?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,12 @@
 %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
+
 * Wed Mar 22 2006 Mike McGrath <imlinux at gmail.com> 2.0.4-3
 - Removed bogus req's and perl provides
 - Removed a number of perl packages that are provided by Fedora




More information about the scm-commits mailing list