|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
Summary: Simple date object for perl
|
|
|
|
|
Name: perl-Date-Simple
|
|
|
|
|
Version: 3.02
|
|
|
|
|
Release: 9%{?dist}
|
|
|
|
|
Version: 3.03
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
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
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/I/IZ/IZUT/Date-Simple-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
|
|
|
|
@ -16,9 +16,6 @@ BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Date-Simple-%{version}
|
|
|
|
|
|
|
|
|
|
# Artistic license text not included in tarball
|
|
|
|
|
/usr/bin/perldoc -t perlartistic > Artistic
|
|
|
|
|
|
|
|
|
|
# Spurious exec permissions in files from tarball
|
|
|
|
|
/usr/bin/find lib -type f -exec %{__chmod} -x {} ';'
|
|
|
|
|
%{__chmod} -x ChangeLog COPYING README Simple.xs
|
|
|
|
@ -50,12 +47,17 @@ BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc Artistic ChangeLog COPYING README
|
|
|
|
|
%doc ChangeLog COPYING README
|
|
|
|
|
%{perl_vendorarch}/Date/
|
|
|
|
|
%{perl_vendorarch}/auto/Date/
|
|
|
|
|
%{_mandir}/man3/Date::Simple*.3pm*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 22 2009 Paul Howarth <paul@city-fan.org> 3.03-1
|
|
|
|
|
- Update to 3.03
|
|
|
|
|
- Don't package Artistic license text, not included in upstream release
|
|
|
|
|
- New upstream maintainer -> new source URL
|
|
|
|
|
|
|
|
|
|
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 3.02-9
|
|
|
|
|
- Rebuild for perl 5.10 (again)
|
|
|
|
|
|
|
|
|
@ -63,7 +65,7 @@ BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
|
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
|
|
|
|
|
* Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> 3.02-7
|
|
|
|
|
- rebuild for new perl
|
|
|
|
|
- Rebuild for new perl
|
|
|
|
|
|
|
|
|
|
* Mon Aug 13 2007 Paul Howarth <paul@city-fan.org> 3.02-6
|
|
|
|
|
- Clarify license as GPL v1 or later, or Artistic (same as perl)
|
|
|
|
|