- update to 0.7901
- additional docs - some spec rework
This commit is contained in:
parent
7a0c8eb0a7
commit
8e91a1ca73
@ -1 +1 @@
|
|||||||
DateTime-Format-Builder-0.7807.tar.gz
|
DateTime-Format-Builder-0.7901.tar.gz
|
||||||
|
@ -11,12 +11,12 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-DateTime-Format-Builder
|
Name: perl-DateTime-Format-Builder
|
||||||
Version: 0.7807
|
Version: 0.7901
|
||||||
Release: 4%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Create DateTime parser classes and objects
|
Summary: Create DateTime parser classes and objects
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: Artistic or GPL
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/DateTime-Format-Builder
|
URL: http://search.cpan.org/dist/DateTime-Format-Builder
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Builder-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Builder-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -28,16 +28,25 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
## non-core
|
## non-core
|
||||||
BuildRequires: perl(Module::Build), perl(Class::Factory::Util)
|
BuildRequires: perl(Module::Build)
|
||||||
BuildRequires: perl(DateTime::Format::Strptime), perl(Test::Pod)
|
BuildRequires: perl(Class::Factory::Util)
|
||||||
|
BuildRequires: perl(DateTime)
|
||||||
|
BuildRequires: perl(DateTime::Format::Strptime)
|
||||||
BuildRequires: perl(Params::Validate) >= 0.73
|
BuildRequires: perl(Params::Validate) >= 0.73
|
||||||
|
# note -- listed as a BR but _not_ needed with Fedora perl
|
||||||
|
#BuildRequires: perl(Task::Weaken)
|
||||||
|
BuildRequires: perl(Test::Pod)
|
||||||
## For extended testing
|
## For extended testing
|
||||||
BuildRequires: perl(DateTime::Format::HTTP), perl(DateTime::Format::Mail)
|
BuildRequires: perl(DateTime::Format::HTTP)
|
||||||
|
BuildRequires: perl(DateTime::Format::Mail)
|
||||||
BuildRequires: perl(DateTime::Format::IBeat)
|
BuildRequires: perl(DateTime::Format::IBeat)
|
||||||
|
|
||||||
# for signature checking
|
# for signature checking
|
||||||
%{?_with_network_tests:BuildRequires: perl(Module::Signature) }
|
%{?_with_network_tests:BuildRequires: perl(Module::Signature) }
|
||||||
|
|
||||||
|
# not explicitly picked up
|
||||||
|
Requires: perl(DateTime::Format::Strptime)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
DateTime::Format::Builder creates DateTime parsers. Many string formats of
|
DateTime::Format::Builder creates DateTime parsers. Many string formats of
|
||||||
dates and times are simple and just require a basic regular expression to
|
dates and times are simple and just require a basic regular expression to
|
||||||
@ -53,6 +62,16 @@ is expected.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n DateTime-Format-Builder-%{version}
|
%setup -q -n DateTime-Format-Builder-%{version}
|
||||||
|
|
||||||
|
cat << \EOF > %{name}-req
|
||||||
|
#!/bin/sh
|
||||||
|
%{__perl_requires} $* |\
|
||||||
|
sed -e '/perl(DateTime::Format::HTTP)/d;/perl(DateTime::Format::IBeat)/d' \
|
||||||
|
-e '/perl(DateTime::Format::Mail)/d'
|
||||||
|
EOF
|
||||||
|
|
||||||
|
%define __perl_requires %{_builddir}/DateTime-Format-Builder-%{version}/%{name}-req
|
||||||
|
chmod +x %{__perl_requires}
|
||||||
|
|
||||||
# digital signature checking. Not essential, but nice
|
# digital signature checking. Not essential, but nice
|
||||||
%{?_with_network_tests: cpansign -v }
|
%{?_with_network_tests: cpansign -v }
|
||||||
|
|
||||||
@ -70,10 +89,12 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
||||||
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||||
chmod -R u+w %{buildroot}/*
|
|
||||||
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -88,13 +109,18 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING Artistic Changes AUTHORS CREDITS LICENSE README
|
%doc COPYING Artistic Changes AUTHORS CREDITS LICENSE README examples/ t/
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Aug 31 2006 Chris Weyl <cweyl.drew.edu> 0.7807-4
|
* Sat Jan 26 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.7901-1
|
||||||
|
- update to 0.7901
|
||||||
|
- additional docs
|
||||||
|
- some spec rework
|
||||||
|
|
||||||
|
* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.7807-4
|
||||||
- bump for mass rebuild
|
- bump for mass rebuild
|
||||||
|
|
||||||
* Tue Aug 08 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.7807-3
|
* Tue Aug 08 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.7807-3
|
||||||
|
Loading…
Reference in New Issue
Block a user