rpms/rt3/F-10 rt3.spec,1.34,1.35

Ralf Corsépius corsepiu at fedoraproject.org
Fri Feb 6 07:47:03 UTC 2009


Author: corsepiu

Update of /cvs/pkgs/rpms/rt3/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19166

Modified Files:
	rt3.spec 
Log Message:
* Thu Feb 05 2009 Ralf Corsépius <corsepiu at fedoraproject.org> - 3.8.2-4
- Stop filtering perl(Test::Email).
- Add perl(:MODULE_COMPAT ...) to perl-RT-Test.



Index: rt3.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rt3/F-10/rt3.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- rt3.spec	24 Jan 2009 06:49:24 -0000	1.34
+++ rt3.spec	6 Feb 2009 07:46:33 -0000	1.35
@@ -40,7 +40,7 @@
 
 Name:		rt3
 Version:	3.8.2
-Release:	2%{?dist}
+Release:	4%{?dist}
 Summary:	Request tracker 3
 
 Group:		Applications/Internet
@@ -198,11 +198,12 @@
 %description mailgate
 %{summary}
 
-%if 0
+%if 0%{?with_devel_mode}
 %package -n perl-RT-Test
 Summary: rt3's test utility.
 Group:   Applications/Internet
 Requires:	rt3 = %{version}-%{release}
+Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description -n perl-RT-Test
 %{summary}
@@ -242,13 +243,11 @@
 
 # Filter out a bogus R:perl() rpm adds.
 # Keep SpamAssassin optional
-# Keep Test::Email optional (Not yet in Fedora)
 cat << \EOF > %{name}-req
 #!/bin/sh
 %{__perl_requires} $* |\
     sed -e '/^perl()/d' \
-	-e '/^perl(Mail::SpamAssassin)$/d' \
-	-e '/^perl(Test::Email)$/d'
+	-e '/^perl(Mail::SpamAssassin)$/d'
 EOF
 %define __perl_requires %{_builddir}/rt-%{version}/%{name}-req
 chmod +x %{__perl_requires}
@@ -421,16 +420,23 @@
 %{_sbindir}/rt-mailgate
 %{_mandir}/man1/rt-mailgate*
 
-%if 0
 %files -n perl-RT-Test
 %defattr(-,root,root,-)
 %dir %{RT3_LIBDIR}/RT
 %{RT3_LIBDIR}/RT/Test*
-%endif
 
 %changelog
+* Thu Feb 05 2009 Ralf Corsépius <corsepiu at fedoraproject.org> - 3.8.2-4
+- Stop filtering perl(Test::Email).
+- Add perl(:MODULE_COMPAT ...) to perl-RT-Test.
+
+* Sat Jan 24 2009 Ralf Corsépius <corsepiu at fedoraproject.org> - 3.8.2-3
+- Fix date in changelog entry.
+
 * Sat Jan 24 2009 Ralf Corsépius <corsepiu at fedoraproject.org> - 3.8.2-2
 - Filter out R: perl(Test::Email).
+- Add perl-RT-Test package.
+- Activate --with devel_mode.
 - Don't pass --enable/disable-devel-mode to configure.
 - Add Explicit check for devel-mode deps.
 




More information about the Fedora-perl-devel-list mailing list