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

rpms/rt3/devel rt3.spec,1.32,1.33



Author: corsepiu

Update of /cvs/pkgs/rpms/rt3/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11796

Modified Files:
	rt3.spec 
Log Message:
* Fri Jan 24 2009 Ralf Corsépius <corsepiu 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.



Index: rt3.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rt3/devel/rt3.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- rt3.spec	23 Jan 2009 13:05:13 -0000	1.32
+++ rt3.spec	24 Jan 2009 06:10:10 -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:	2%{?dist}
 Summary:	Request tracker 3
 
 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,14 +421,19 @@
 %{_sbindir}/rt-mailgate
 %{_mandir}/man1/rt-mailgate*
 
-%if 0%{?with_devel_mode}
 %files -n perl-RT-Test
 %defattr(-,root,root,-)
 %dir %{RT3_LIBDIR}/RT
 %{RT3_LIBDIR}/RT/Test*
-%endif
 
 %changelog
+* Fri Jan 24 2009 Ralf Corsépius <corsepiu 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.
+
 * Fri Jan 23 2009 Ralf Corsépius <corsepiu fedoraproject org> - 3.8.2-1
 - Upstream update.
 - Preps to add a perl-RT-Test package.


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