2006-08-08 21:49:11 +00:00
|
|
|
# Note: Some tests for this package are disabled by default, as they
|
|
|
|
# require network access and would thus fail in the buildsys' mock
|
|
|
|
# environments. To build locally while enabling tests, either:
|
|
|
|
#
|
|
|
|
# rpmbuild ... --define '_with_network_tests 1' ...
|
|
|
|
# rpmbuild ... --with network_tests ...
|
|
|
|
# define _with_network_tests 1 in your ~/.rpmmacros
|
|
|
|
#
|
|
|
|
# Note that right now, the only way to run tests locally from a cvs sandbox
|
|
|
|
# "make noarch" type scenario is the third one.
|
2016-01-05 16:30:19 +00:00
|
|
|
%global real_version 0.81
|
2006-08-08 21:49:11 +00:00
|
|
|
|
|
|
|
Name: perl-DateTime-Format-Builder
|
2010-05-07 11:35:31 +00:00
|
|
|
# 0.80 in reality, but rpm can't get it
|
2013-04-05 12:44:58 +00:00
|
|
|
Version: 0.8100
|
2018-07-13 16:53:32 +00:00
|
|
|
Release: 16%{?dist}
|
2006-08-08 21:49:11 +00:00
|
|
|
Summary: Create DateTime parser classes and objects
|
|
|
|
|
2013-04-05 13:49:22 +00:00
|
|
|
License: Artistic 2.0
|
2018-06-04 12:31:31 +00:00
|
|
|
URL: https://metacpan.org/release/DateTime-Format-Builder
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-Builder-%{real_version}.tar.gz
|
2006-08-08 21:49:11 +00:00
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
## core
|
2016-06-24 08:21:59 +00:00
|
|
|
BuildRequires: perl-generators
|
2006-08-08 21:49:11 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
## non-core
|
2008-01-26 19:24:15 +00:00
|
|
|
BuildRequires: perl(Module::Build)
|
2010-05-07 11:35:31 +00:00
|
|
|
BuildRequires: perl(Class::ISA)
|
2008-01-26 19:24:15 +00:00
|
|
|
BuildRequires: perl(Class::Factory::Util)
|
|
|
|
BuildRequires: perl(DateTime)
|
|
|
|
BuildRequires: perl(DateTime::Format::Strptime)
|
2006-08-08 21:49:11 +00:00
|
|
|
BuildRequires: perl(Params::Validate) >= 0.73
|
2008-01-26 19:24:15 +00:00
|
|
|
# note -- listed as a BR but _not_ needed with Fedora perl
|
|
|
|
#BuildRequires: perl(Task::Weaken)
|
|
|
|
BuildRequires: perl(Test::Pod)
|
2006-08-08 21:49:11 +00:00
|
|
|
## For extended testing
|
2008-01-26 19:24:15 +00:00
|
|
|
BuildRequires: perl(DateTime::Format::HTTP)
|
|
|
|
BuildRequires: perl(DateTime::Format::Mail)
|
2006-08-08 21:49:11 +00:00
|
|
|
BuildRequires: perl(DateTime::Format::IBeat)
|
2010-05-14 08:31:35 +00:00
|
|
|
Provides: perl(DateTime::Format::Builder) = %{version}
|
2006-08-08 21:49:11 +00:00
|
|
|
|
|
|
|
# for signature checking
|
|
|
|
%{?_with_network_tests:BuildRequires: perl(Module::Signature) }
|
|
|
|
|
2010-12-12 07:00:25 +00:00
|
|
|
%{?perl_default_filter}
|
|
|
|
|
2006-08-08 21:49:11 +00:00
|
|
|
%description
|
|
|
|
DateTime::Format::Builder creates DateTime parsers. Many string formats of
|
|
|
|
dates and times are simple and just require a basic regular expression to
|
|
|
|
extract the relevant information. Builder provides a simple way to do this
|
|
|
|
without writing reams of structural code.
|
|
|
|
|
|
|
|
Builder provides a number of methods, most of which you'll never need, or at
|
|
|
|
least rarely need. They're provided more for exposing of the module's innards
|
|
|
|
to any subclasses, or for when you need to do something slightly beyond what
|
|
|
|
is expected.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2010-05-07 11:35:31 +00:00
|
|
|
%setup -q -n DateTime-Format-Builder-%{real_version}
|
2006-08-08 21:49:11 +00:00
|
|
|
|
|
|
|
# digital signature checking. Not essential, but nice
|
|
|
|
%{?_with_network_tests: cpansign -v }
|
|
|
|
|
|
|
|
# POD doesn't like E<copy> very much...
|
|
|
|
perl -pi -e 's/E<copy>/(C)/' `find lib/ -type f`
|
|
|
|
|
2013-04-05 13:00:22 +00:00
|
|
|
# silence rpmlint
|
|
|
|
sed -i '1s~^#!.*perl~#!%{__perl}~' t/*.t
|
2006-08-08 21:55:38 +00:00
|
|
|
|
2006-08-08 21:49:11 +00:00
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
2008-01-26 19:24:15 +00:00
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
2006-08-08 21:49:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
2013-04-05 12:44:58 +00:00
|
|
|
%doc Changes LICENSE README examples/ t/
|
2006-08-08 21:49:11 +00:00
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2018-07-13 16:53:32 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8100-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-29 19:46:42 +00:00
|
|
|
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.8100-15
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
2018-02-08 20:27:04 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8100-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 03:29:36 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8100-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-06 04:13:57 +00:00
|
|
|
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.8100-12
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
2017-02-11 02:38:01 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8100-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-05-16 01:32:43 +00:00
|
|
|
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.8100-10
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
2016-02-04 13:13:19 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8100-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-18 02:34:09 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8100-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-06 20:08:27 +00:00
|
|
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.8100-7
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2014-08-29 15:18:24 +00:00
|
|
|
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.8100-6
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-06-07 03:08:13 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8100-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 19:45:04 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8100-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-31 11:33:45 +00:00
|
|
|
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 0.8100-3
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-04-05 13:49:22 +00:00
|
|
|
* Fri Apr 05 2013 Iain Arnell <iarnell@gmail.com> 0.8100-2
|
|
|
|
- license change from "same as perl" to Artistic 2.0
|
|
|
|
|
2013-04-05 12:44:58 +00:00
|
|
|
* Fri Apr 05 2013 Iain Arnell <iarnell@gmail.com> 0.8100-1
|
|
|
|
- update to latest upstream version
|
2013-04-05 12:45:48 +00:00
|
|
|
- drop dependency filtering
|
2013-04-05 12:44:58 +00:00
|
|
|
|
2013-02-14 11:49:27 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8000-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-20 14:30:45 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8000-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-20 16:17:01 +00:00
|
|
|
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 0.8000-9
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-01-13 13:22:53 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8000-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-07-21 13:52:53 +00:00
|
|
|
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 0.8000-7
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-07-19 11:43:59 +00:00
|
|
|
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.8000-6
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-02-08 20:54:29 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8000-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-12-16 04:29:31 +00:00
|
|
|
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.8000-4
|
|
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
|
2010-12-12 07:00:25 +00:00
|
|
|
* Sun Dec 12 2010 Iain Arnell <iarnell@gmail.com> 0.8000-3
|
|
|
|
- use perl_default_filter
|
|
|
|
- clean up spec for modern rpmbuild
|
|
|
|
|
2010-05-14 08:31:35 +00:00
|
|
|
* Fri May 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.8000-2
|
|
|
|
- add provides with rpm version for other packages
|
|
|
|
|
2010-05-07 11:35:31 +00:00
|
|
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.8000-1
|
2010-04-30 13:49:52 +00:00
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2009-12-07 12:48:19 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.7901-5
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-07-26 05:34:54 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7901-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-26 14:46:37 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7901-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-03-04 19:33:23 +00:00
|
|
|
* Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.7901-2
|
|
|
|
- rebuild for new perl
|
|
|
|
|
2008-01-26 19:24:15 +00:00
|
|
|
* 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
|
2006-09-01 04:00:30 +00:00
|
|
|
- bump for mass rebuild
|
|
|
|
|
2006-08-08 21:55:38 +00:00
|
|
|
* Tue Aug 08 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.7807-3
|
|
|
|
- bump for release & build, not in that order
|
|
|
|
|
2006-08-08 21:49:11 +00:00
|
|
|
* Tue Aug 08 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.7807-2
|
|
|
|
- additional br's
|
|
|
|
|
|
|
|
* Fri Aug 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.7807-1
|
|
|
|
- Initial spec file for F-E
|