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