rpms/perl-Date-Simple/devel perl-Date-Simple.spec,1.3,1.4

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Thu Mar 8 13:45:20 UTC 2007


Author: pghmcfc

Update of /cvs/extras/rpms/perl-Date-Simple/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28402

Modified Files:
	perl-Date-Simple.spec 
Log Message:
Buildrequire perl-devel for Fedora 7 onwards


Index: perl-Date-Simple.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Date-Simple/devel/perl-Date-Simple.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- perl-Date-Simple.spec	29 Aug 2006 17:21:37 -0000	1.3
+++ perl-Date-Simple.spec	8 Mar 2007 13:44:48 -0000	1.4
@@ -1,13 +1,16 @@
 Summary:	Simple date object for perl
 Name:		perl-Date-Simple
 Version:	3.02
-Release:	4%{?dist}
+Release:	5%{?dist}
 License:	Artistic or GPL
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Date-Simple/
 Source0:	http://search.cpan.org/CPAN/authors/id/Y/YV/YVES/Date-Simple-%{version}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%if 0%{?fedora} > 6
+BuildRequires:	perl-devel
+%endif
 
 %description
 %{summary}.
@@ -20,7 +23,7 @@
 
 # Spurious exec permissions in files from tarball
 /usr/bin/find lib -type f -exec %{__chmod} -x {} ';'
-%{__chmod} -x ChangeLog COPYING README
+%{__chmod} -x ChangeLog COPYING README Simple.xs
 
 # The NoXS.pm file provides a pure-perl alternative to the C implementation
 # of the module. This results in duplicate "Provides:" entries, which rpmlint
@@ -41,20 +44,25 @@
 %{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
 /usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
 /usr/bin/find %{buildroot} -type f -name '*.bs' -a -size 0 -exec %{__rm} -f {} ';'
-/usr/bin/find %{buildroot} -type d -depth -exec /bin/rmdir {} 2>/dev/null ';'
+/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';'
 %{__chmod} -R u+w %{buildroot}/*
 
 %check
 %{__make} test
 
 %files
-%defattr(-,root,root,0755)
+%defattr(-,root,root,-)
 %doc Artistic ChangeLog COPYING README
 %{perl_vendorarch}/Date/
 %{perl_vendorarch}/auto/Date/
 %{_mandir}/man3/Date::Simple*.3pm*
 
 %changelog
+* Thu Mar  8 2007 Paul Howarth <paul at city-fan.org> 3.02-5
+- Buildrequire perl-devel for Fedora 7 onwards
+- Fix argument order for find with -depth
+- Fix permissions in debuginfo
+
 * Tue Aug 29 2006 Paul Howarth <paul at city-fan.org> 3.02-4
 - FE6 mass rebuild
 




More information about the scm-commits mailing list