rpms/rt3/F-10 rt3.spec,1.32,1.33

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: corsepiu

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

Modified Files:
	rt3.spec 
Log Message:
* Sat Jan 24 2009 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 3.8.2-2
- Filter out R: perl(Test::Email).
- Don't pass --enable/disable-devel-mode to configure.
- Add Explicit check for devel-mode deps.



Index: rt3.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rt3/F-10/rt3.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- rt3.spec	23 Jan 2009 13:30:17 -0000	1.32
+++ rt3.spec	24 Jan 2009 06:47:32 -0000	1.33
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2005, 2006, 2007, 2008 Ralf Corsepius, Ulm, Germany.
+# Copyright (c) 2005, 2006, 2007, 2008, 2009 Ralf Corsepius, Ulm, Germany.
 # This file and all modifications and additions to the pristine
 # package are under the same license as the package itself.
 #
@@ -18,8 +18,8 @@
 
 # --with devel_mode/--without devel_mode
 #	enable/disable building/installing devel files
-#	Default: without
-%bcond_with devel_mode
+#	Default: with
+%bcond_without devel_mode
 
 # --with gpg/--without gpg
 #	enable/disable building gpg support
@@ -40,7 +40,7 @@
 
 Name:		rt3
 Version:	3.8.2
-Release:	1%{?dist}
+Release:	3%{?dist}
 Summary:	Request tracker 3
 
 Group:		Applications/Internet
@@ -198,7 +198,7 @@
 %description mailgate
 %{summary}
 
-%if 0%{?with_devel_mode}
+%if 0
 %package -n perl-RT-Test
 Summary: rt3's test utility.
 Group:   Applications/Internet
@@ -242,11 +242,13 @@
 
 # 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(Mail::SpamAssassin)$/d' \
+	-e '/^perl(Test::Email)$/d'
 EOF
 %define __perl_requires %{_builddir}/rt-%{version}/%{name}-req
 chmod +x %{__perl_requires}
@@ -291,11 +293,13 @@
 --libdir=%{RT3_LIBDIR} \
 %{?with_graphviz:--enable-graphviz}%{!?with_graphviz:--disable-graphviz} \
 %{?with_gd:--enable-gd}%{!?with_gd:--disable-gd} \
-%{?with_gpg:--enable-gpg}%{!?with_gpg:--disable-gpg} \
-%{?with_devel_mode:--enable-devel-mode}%{!?with_devel_mode:--disable-devel-mode}
+%{?with_gpg:--enable-gpg}%{!?with_gpg:--disable-gpg}
 
 make %{?_smp_mflags}
 
+# Explicitly check for devel-mode deps
+%{?with_devel_mode:%{__perl} ./sbin/rt-test-dependencies --verbose --with-mysql --with-modperl2 --with-dev}
+
 # Generate man-pages
 /usr/bin/pod2man bin/rt-mailgate > bin/rt-mailgate.1
 /usr/bin/pod2man bin/mason_handler.fcgi > bin/mason_handler.fcgi.1
@@ -417,7 +421,7 @@
 %{_sbindir}/rt-mailgate
 %{_mandir}/man1/rt-mailgate*
 
-%if 0%{?with_devel_mode}
+%if 0
 %files -n perl-RT-Test
 %defattr(-,root,root,-)
 %dir %{RT3_LIBDIR}/RT
@@ -425,6 +429,11 @@
 %endif
 
 %changelog
+* Sat Jan 24 2009 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 3.8.2-2
+- Filter out R: perl(Test::Email).
+- Don't pass --enable/disable-devel-mode to configure.
+- Add Explicit check for devel-mode deps.
+
 * Fri Jan 23 2009 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> - 3.8.2-1
 - Upstream update.
 - Preps to add a perl-RT-Test package.

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux