rpms/perl-Catalyst-Runtime/F-9 perl-Catalyst-Runtime.spec, 1.5, 1.6 sources, 1.3, 1.4

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Mon Jun 23 16:15:24 UTC 2008


Author: cweyl

Update of /cvs/extras/rpms/perl-Catalyst-Runtime/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29630

Modified Files:
	perl-Catalyst-Runtime.spec sources 
Log Message:
* Mon Jun 23 2008 Chris Weyl <cweyl at alumni.drew.edu> 5.7014-3
- Quiet STDERR somewhat on build



Index: perl-Catalyst-Runtime.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Catalyst-Runtime/F-9/perl-Catalyst-Runtime.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- perl-Catalyst-Runtime.spec	28 Mar 2008 00:53:18 -0000	1.5
+++ perl-Catalyst-Runtime.spec	23 Jun 2008 16:14:38 -0000	1.6
@@ -1,5 +1,5 @@
 Name:           perl-Catalyst-Runtime
-Version:        5.7012
+Version:        5.7014
 Release:        3%{?dist}
 Summary:        Catalyst core modules
 License:        GPL+ or Artistic
@@ -54,7 +54,18 @@
 
 %description
 This is the primary class for the Catalyst-Runtime distribution.  It provides
-the core of the any runtime Catalyst instance.
+the core of any runtime Catalyst instance.
+
+
+%package        scripts
+Summary:        Scripts for %{name}
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+
+%description    scripts
+The %{name}-scripts package contains scripts distributed with
+%{name} but generally used for developing Catalyst applications.
+
 
 %prep
 %setup -q -n Catalyst-Runtime-%{version}
@@ -63,6 +74,27 @@
 perldoc perlgpl      > COPYING.gpl
 perldoc perlartistic > COPYING.artistic
 
+find .  -type f -exec chmod -c -x {} +
+find t/ -type f -exec perl -pi -e 's|^#!perl|#!/usr/bin/perl|' {} +
+
+# make sure doc/tests don't generate provides
+cat << \EOF > %{name}-prov
+#!/bin/sh
+FOO=`perl -p -e 's|%{buildroot}%{_docdir}/%{name}-%{version}\S+||'`
+if [ "$FOO" != "" ] ; then %{__perl_provides} $FOO ; fi
+EOF
+
+%define __perl_provides %{_builddir}/Catalyst-Runtime-%{version}/%{name}-prov
+chmod +x %{__perl_provides}
+
+cat << \EOF > %{name}-req
+#!/bin/sh
+%{__perl_requires} `perl -p -e 's|%{buildroot}%{_docdir}/%{name}-%{version}\S+||'`
+EOF
+
+%define __perl_requires %{_builddir}/Catalyst-Runtime-%{version}/%{name}-req
+chmod +x %{__perl_requires}
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -77,9 +109,6 @@
 
 %{_fixperms} %{buildroot}/*
 
-# packaged better -- and conflicting with! -- in Catalyst-Manual
-rm %{buildroot}%{perl_vendorlib}/Catalyst/Manual.pm
-
 %check
 # note that some of the optional tests we're enabling here will be skipped
 # anyways, due to deps on Catalyst::Devel, etc.  We cannot depend on
@@ -96,20 +125,35 @@
 export TEST_STRESS=1 
 export TEST_THREADS=1 
 make test
+make clean
 
 %clean
 rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc Changes COPYING*
+%doc Changes COPYING* t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
-# we deliver this in perl-Catalyst-Devel (needs Catalyst::Helper)
-%exclude %{_bindir}/*
-%exclude %{_mandir}/man1/*
+
+%files scripts 
+%defattr(-,root,root,-)
+%{_bindir}/*
+%{_mandir}/man1/*
 
 %changelog
+* Mon Jun 23 2008 Chris Weyl <cweyl at alumni.drew.edu> 5.7014-3
+- Quiet STDERR somewhat on build
+
+* Sat May 31 2008 Chris Weyl <cweyl at alumni.drew.edu> 5.7014-2
+- pull catalyst.pl back from perl-Catalyst-Devel, put into subpackage: too
+  much of a headache to keep this bit of -Runtime in -Devel
+- pull in tests
+- deal with perl-Catalyst-Manual issues
+  
+* Sat May 31 2008 Chris Weyl <cweyl at alumni.drew.edu> 5.7014-1
+- update to 5.7014
+
 * Thu Mar 27 2008 Chris Weyl <cweyl at alumni.drew.edu> 5.7012-3
 - nuke Catalyst/Manual.pm from this dist -- handled in perl-Catalyst-Manual
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Catalyst-Runtime/F-9/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	1 Mar 2008 19:21:20 -0000	1.3
+++ sources	23 Jun 2008 16:14:38 -0000	1.4
@@ -1 +1 @@
-db926f732cd24ac4c35c50e612c03b7d  Catalyst-Runtime-5.7012.tar.gz
+897829109863c5c8e14f39d7889c2ad1  Catalyst-Runtime-5.7014.tar.gz




More information about the fedora-extras-commits mailing list