|
David Dick |
fa74495 |
Name: perl-DateTime-Incomplete
|
|
|
29f3b39 |
Version: 0.08
|
|
|
2dfc9d5 |
Release: 13%{?dist}
|
|
David Dick |
fa74495 |
Summary: Representing partial dates and times
|
|
David Dick |
fa74495 |
License: GPL+ or Artistic
|
|
David Dick |
fa74495 |
# patch to address https://fedoraproject.org/wiki/Common_Rpmlint_issues#incorrect-fsf-address has been sent upstream at https://rt.cpan.org/Ticket/Display.html?id=97520
|
|
|
cd04a74 |
URL: https://metacpan.org/release/DateTime-Incomplete
|
|
|
cd04a74 |
Source0: https://cpan.metacpan.org/modules/by-module/DateTime/DateTime-Incomplete-%{version}.tar.gz
|
|
David Dick |
fa74495 |
BuildArch: noarch
|
|
|
29f3b39 |
BuildRequires: coreutils
|
|
|
29f3b39 |
BuildRequires: findutils
|
|
|
29f3b39 |
BuildRequires: make
|
|
|
02698f0 |
BuildRequires: perl-interpreter
|
|
|
c7775ca |
BuildRequires: perl-generators
|
|
|
29f3b39 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
29f3b39 |
BuildRequires: perl(strict)
|
|
|
29f3b39 |
BuildRequires: sed
|
|
|
29f3b39 |
# Run-time:
|
|
|
29f3b39 |
BuildRequires: perl(DateTime::Event::Recurrence)
|
|
|
29f3b39 |
BuildRequires: perl(DateTime::Set) >= 0.1401
|
|
|
29f3b39 |
BuildRequires: perl(Params::Validate)
|
|
|
29f3b39 |
BuildRequires: perl(vars)
|
|
|
29f3b39 |
# Tests:
|
|
David Dick |
fa74495 |
BuildRequires: perl(constant)
|
|
David Dick |
fa74495 |
BuildRequires: perl(DateTime)
|
|
David Dick |
fa74495 |
BuildRequires: perl(DateTime::Locale)
|
|
David Dick |
fa74495 |
BuildRequires: perl(Test::More)
|
|
David Dick |
fa74495 |
BuildRequires: perl(utf8)
|
|
David Dick |
fa74495 |
BuildRequires: perl(warnings)
|
|
David Dick |
fa74495 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
29f3b39 |
Requires: perl(DateTime::Set) >= 0.1401
|
|
|
29f3b39 |
|
|
|
29f3b39 |
# Remove under-specified dependencies
|
|
|
29f3b39 |
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(DateTime::Set\\)$
|
|
David Dick |
fa74495 |
|
|
David Dick |
fa74495 |
%description
|
|
David Dick |
fa74495 |
DateTime::Incomplete is a class for representing partial dates and times.
|
|
David Dick |
fa74495 |
These are actually encountered relatively frequently. For example, a birthday
|
|
David Dick |
fa74495 |
is commonly given as a month and day, without a year.
|
|
David Dick |
fa74495 |
|
|
David Dick |
fa74495 |
%prep
|
|
David Dick |
fa74495 |
%setup -q -n DateTime-Incomplete-%{version}
|
|
David Dick |
c16c890 |
# difficult to cancel out a specific required version in EPEL6
|
|
David Dick |
b2321e3 |
sed -i 's|use DateTime::Set.*;|use DateTime::Set;|' lib/DateTime/Incomplete.pm
|
|
David Dick |
fa74495 |
|
|
David Dick |
fa74495 |
%build
|
|
David Dick |
fa74495 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
David Dick |
fa74495 |
make %{?_smp_mflags}
|
|
David Dick |
fa74495 |
|
|
David Dick |
fa74495 |
%install
|
|
David Dick |
fa74495 |
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
David Dick |
fa74495 |
|
|
David Dick |
fa74495 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
David Dick |
fa74495 |
|
|
David Dick |
fa74495 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
David Dick |
fa74495 |
|
|
David Dick |
fa74495 |
%check
|
|
David Dick |
fa74495 |
make test
|
|
David Dick |
fa74495 |
|
|
David Dick |
fa74495 |
%files
|
|
|
29f3b39 |
%license LICENSE
|
|
|
29f3b39 |
%doc Changes README TODO
|
|
David Dick |
fa74495 |
%{perl_vendorlib}/*
|
|
David Dick |
fa74495 |
%{_mandir}/man3/*
|
|
David Dick |
fa74495 |
|
|
David Dick |
fa74495 |
%changelog
|
|
|
2dfc9d5 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-13
|
|
|
2dfc9d5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
2dfc9d5 |
|
|
|
1388585 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-12
|
|
|
1388585 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
1388585 |
|
|
|
e7b907b |
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-11
|
|
|
e7b907b |
- Perl 5.30 rebuild
|
|
|
e7b907b |
|
|
|
16adfa9 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-10
|
|
|
16adfa9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
16adfa9 |
|
|
|
8dfd542 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-9
|
|
|
8dfd542 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
8dfd542 |
|
|
|
94f349e |
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-8
|
|
|
94f349e |
- Perl 5.28 rebuild
|
|
|
94f349e |
|
|
|
672ba4e |
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-7
|
|
|
672ba4e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
672ba4e |
|
|
|
9a4412e |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-6
|
|
|
9a4412e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
9a4412e |
|
|
|
931c130 |
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-5
|
|
|
931c130 |
- Perl 5.26 rebuild
|
|
|
931c130 |
|
|
|
3cb671b |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-4
|
|
|
3cb671b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
3cb671b |
|
|
|
7823140 |
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.08-3
|
|
|
7823140 |
- Perl 5.24 rebuild
|
|
|
7823140 |
|
|
|
763e5b1 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-2
|
|
|
763e5b1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
763e5b1 |
|
|
|
29f3b39 |
* Fri Nov 20 2015 Petr Pisar <ppisar@redhat.com> - 0.08-1
|
|
|
29f3b39 |
- 0.08 bump
|
|
|
29f3b39 |
|
|
|
43ff5f8 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-6
|
|
|
43ff5f8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
43ff5f8 |
|
|
|
4b1a093 |
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.07-5
|
|
|
4b1a093 |
- Perl 5.22 rebuild
|
|
|
4b1a093 |
|
|
|
8b3c904 |
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.07-4
|
|
|
8b3c904 |
- Perl 5.20 rebuild
|
|
|
8b3c904 |
|
|
David Dick |
b2321e3 |
* Tue Aug 05 2014 David Dick <ddick@cpan.org> - 0.07-3
|
|
David Dick |
b2321e3 |
- Improved removal of specific version requirement for DateTime::Set
|
|
David Dick |
b2321e3 |
|
|
David Dick |
c16c890 |
* Tue Aug 05 2014 David Dick <ddick@cpan.org> - 0.07-2
|
|
David Dick |
c16c890 |
- Removed specific version requirement for DateTime::Set to allow a release on EPEL6
|
|
David Dick |
c16c890 |
|
|
David Dick |
fa74495 |
* Thu Jul 24 2014 David Dick <ddick@cpan.org> - 0.07-1
|
|
David Dick |
fa74495 |
- Initial release
|