rpms/perl-Event/FC-5 perl-Event.spec,1.4,1.5 sources,1.4,1.5

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Fri Jun 1 21:11:41 UTC 2007


Author: cweyl

Update of /cvs/extras/rpms/perl-Event/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32237/FC-5

Modified Files:
	perl-Event.spec sources 
Log Message:
* Fri Jun 01 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.09-1
- update to 1.09
- add t/ to doc



Index: perl-Event.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Event/FC-5/perl-Event.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- perl-Event.spec	4 Nov 2006 09:17:21 -0000	1.4
+++ perl-Event.spec	1 Jun 2007 21:11:01 -0000	1.5
@@ -1,5 +1,5 @@
 Name:           perl-Event
-Version:        1.08
+Version:        1.09
 Release:        1%{?dist}
 Summary:        Event loop processing
 
@@ -8,10 +8,15 @@
 URL:            http://search.cpan.org/dist/Event/ 
 Source0:        http://search.cpan.org/CPAN/authors/id/J/JP/JPRIT/Event-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  perl, perl(ExtUtils::MakeMaker), /usr/bin/iconv
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:  perl(Time::HiRes)
+
+# non-perl
+BuildRequires:  /usr/bin/iconv
+# core
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Time::HiRes)
+
+Requires:       perl(Time::HiRes)
 
 %description
 The Event module provide a central facility to watch for various types of
@@ -24,12 +29,13 @@
 %setup -q -n Event-%{version} 
 
 # generate our two licenses...
-perldoc perlgpl > LICENSE.GPL
+perldoc perlgpl      > LICENSE.GPL
 perldoc perlartistic > LICENSE.Artistic
 
-# fix some perm issues...
-chmod -x demo/* util/*
+# appease rpmlint :) 
+find . -type f -exec chmod -c -x {} +
 %{_fixperms} demo util
+find t/ -type f -exec perl -pi -e 's|^#!\./perl|#!/usr/bin/perl|' {} +
 
 # fix some other interperter issues..
 cd demo
@@ -55,9 +61,9 @@
 rm -rf %{buildroot}
 
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
+find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} +
+find %{buildroot} -type d -depth -exec rmdir --ignore-fail-on-non-empty {} +
 
 %{_fixperms} %{buildroot}/*
 
@@ -72,13 +78,18 @@
 
 %files
 %defattr(-,root,root,-)
-%doc ANNOUNCE TODO README Tutorial.pdf ChangeLog demo/ util/ LICENSE.* INSTALL
+%doc ANNOUNCE TODO README Tutorial.pdf ChangeLog demo/ util/ LICENSE* INSTALL
+%doc t/
 %{perl_vendorarch}/auto/Event
 %{perl_vendorarch}/Event*
 %{_mandir}/man3/*.3*
 
 
 %changelog
+* Fri Jun 01 2007 Chris Weyl <cweyl at alumni.drew.edu> 1.09-1
+- update to 1.09
+- add t/ to doc
+
 * Sat Nov 04 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.08-1
 - update to 1.08
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Event/FC-5/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	4 Nov 2006 09:17:21 -0000	1.4
+++ sources	1 Jun 2007 21:11:01 -0000	1.5
@@ -1 +1 @@
-475b5613c584256fa23b4215103f106c  Event-1.08.tar.gz
+3700789e6af2595925a6fe2ce3d5d052  Event-1.09.tar.gz




More information about the scm-commits mailing list