Blame SPECS/perl-Date-Calc.spec

86bfc3
Name:           perl-Date-Calc
86bfc3
Version:        6.4
86bfc3
Release:        20%{?dist}
86bfc3
Summary:        Gregorian calendar date calculations
86bfc3
License:        GPL+ or Artistic
86bfc3
URL:            https://metacpan.org/release/Date-Calc
86bfc3
Source0:        https://cpan.metacpan.org/authors/id/S/ST/STBEY/Date-Calc-%{version}.tar.gz
86bfc3
BuildArch:      noarch
86bfc3
# Build
86bfc3
BuildRequires: make
86bfc3
BuildRequires:  perl-interpreter
86bfc3
BuildRequires:  perl-generators
86bfc3
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
86bfc3
BuildRequires:  perl(Config)
86bfc3
BuildRequires:  perl(strict)
86bfc3
# Runtime
86bfc3
BuildRequires:  perl(Bit::Vector) >= 7.1
86bfc3
BuildRequires:  perl(bytes)
86bfc3
BuildRequires:  perl(Carp::Clan) >= 6.04
86bfc3
BuildRequires:  perl(Exporter)
86bfc3
BuildRequires:  perl(overload)
86bfc3
BuildRequires:  perl(POSIX)
86bfc3
BuildRequires:  perl(vars)
86bfc3
# Tests only
86bfc3
Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
86bfc3
Requires:       perl(Bit::Vector) >= 7.1
86bfc3
Requires:       perl(Carp::Clan) >= 6.04
86bfc3
86bfc3
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Bit::Vector\\)$
86bfc3
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Carp::Clan\\)$
86bfc3
# Filter unwanted Provides:
86bfc3
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(Date::Calc\\)$
86bfc3
86bfc3
%description
86bfc3
The library provides all sorts of date calculations based on the
86bfc3
Gregorian calendar (the one used in all western countries today),
86bfc3
thereby complying with all relevant norms and standards: ISO/R
86bfc3
2015-1971, DIN 1355 and, to some extent, ISO 8601 (where applicable).
86bfc3
86bfc3
%prep
86bfc3
%setup -q -n Date-Calc-%{version}
86bfc3
86bfc3
%build
86bfc3
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
86bfc3
make %{?_smp_mflags}
86bfc3
86bfc3
%install
86bfc3
make pure_install DESTDIR=%{buildroot}
86bfc3
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} +
86bfc3
chmod -R u+w %{buildroot}/*
86bfc3
for file in %{buildroot}%{_mandir}/man3/Date::Calc.3pm \
86bfc3
            CREDITS.txt; do
86bfc3
  iconv -f iso-8859-1 -t utf-8 < "$file" > "${file}_"
86bfc3
  mv -f "${file}_" "$file"
86bfc3
done
86bfc3
86bfc3
%check
86bfc3
make test
86bfc3
86bfc3
%files
86bfc3
%license license/Artistic.txt license/GNU_GPL.txt license/GNU_LGPL.txt
86bfc3
%doc CHANGES.txt CREDITS.txt README.txt
86bfc3
%{perl_vendorlib}/Date/
86bfc3
%{_mandir}/man3/*.3*
86bfc3
86bfc3
86bfc3
%changelog
86bfc3
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 6.4-20
86bfc3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
86bfc3
  Related: rhbz#1991688
86bfc3
86bfc3
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 6.4-19
86bfc3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
86bfc3
86bfc3
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-18
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
86bfc3
86bfc3
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-17
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
86bfc3
86bfc3
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 6.4-16
86bfc3
- Perl 5.32 rebuild
86bfc3
86bfc3
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-15
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
86bfc3
86bfc3
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-14
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
86bfc3
86bfc3
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 6.4-13
86bfc3
- Perl 5.30 rebuild
86bfc3
86bfc3
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-12
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
86bfc3
86bfc3
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-11
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
86bfc3
86bfc3
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6.4-10
86bfc3
- Perl 5.28 rebuild
86bfc3
86bfc3
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-9
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
86bfc3
86bfc3
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-8
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
86bfc3
86bfc3
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 6.4-7
86bfc3
- Perl 5.26 rebuild
86bfc3
86bfc3
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-6
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
86bfc3
86bfc3
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 6.4-5
86bfc3
- Perl 5.24 rebuild
86bfc3
86bfc3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-4
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
86bfc3
86bfc3
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.4-3
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
86bfc3
86bfc3
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 6.4-2
86bfc3
- Perl 5.22 rebuild
86bfc3
86bfc3
* Thu Mar 12 2015 Jitka Plesnikova <jplesnik@redhat.com> - 6.4-1
86bfc3
- 6.4 bump
86bfc3
86bfc3
* Wed Jan 07 2015 Petr Šabata <contyk@redhat.com> - 6.3-18
86bfc3
- Adapt the test suite for the 2015-2115 era
86bfc3
86bfc3
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 6.3-17
86bfc3
- Perl 5.20 rebuild
86bfc3
86bfc3
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-16
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
86bfc3
86bfc3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-15
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
86bfc3
86bfc3
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 6.3-14
86bfc3
- Perl 5.18 rebuild
86bfc3
86bfc3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-13
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
86bfc3
86bfc3
* Mon Nov 26 2012 Jitka Plesnikova <jplesnik@redhat.com> - 6.3-12
86bfc3
- Update filter
86bfc3
- Add BR perl(Carp)
86bfc3
- Don't need to remove examples and tools, they don't exist
86bfc3
86bfc3
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-11
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
86bfc3
86bfc3
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 6.3-10
86bfc3
- Perl 5.16 rebuild
86bfc3
86bfc3
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-9
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
86bfc3
86bfc3
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 6.3-8
86bfc3
- Perl mass rebuild
86bfc3
86bfc3
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 6.3-7
86bfc3
- Perl mass rebuild
86bfc3
86bfc3
* Thu Jul 21 2011 Petr Sabata <contyk@redhat.com> - 6.3-6
86bfc3
- Perl mass rebuild
86bfc3
86bfc3
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3-5
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
86bfc3
86bfc3
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 6.3-4
86bfc3
- 661697 rebuild for fixing problems with vendorach/lib
86bfc3
86bfc3
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 6.3-3
86bfc3
- Mass rebuild with perl-5.12.0
86bfc3
86bfc3
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 6.3-2
86bfc3
- rebuild against perl 5.10.1
86bfc3
86bfc3
* Wed Nov 18 2009 Marcela Mašláňová <mmaslano@redhat.com> - 6.3-1
86bfc3
- new upstream version - noarch, because since 6.0 there were bigger
86bfc3
 changes like stripping this module into more of them
86bfc3
86bfc3
* Mon Oct 19 2009 Marcela Mašláňová <mmaslano@redhat.com> - 6.2-1
86bfc3
- new upstream version
86bfc3
86bfc3
* Tue Aug  4 2009 Stepan Kasal <skasal@redhat.com> - 5.6-1
86bfc3
- new upstream version
86bfc3
86bfc3
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4-8
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
86bfc3
86bfc3
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.4-7
86bfc3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
86bfc3
86bfc3
* Tue Mar  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 5.4-6
86bfc3
- rebuild for new perl
86bfc3
86bfc3
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.4-5
86bfc3
- Autorebuild for GCC 4.3
86bfc3
86bfc3
* Mon Nov 12 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 5.4-4
86bfc3
- filtered out too many provides
86bfc3
86bfc3
* Wed Oct 24 2007 Robin Norwood <rnorwood@redhat.com> - 5.4-3
86bfc3
- various specfile fixes
86bfc3
86bfc3
* Mon Oct 15 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 5.4-2.1
86bfc3
- correct license tag
86bfc3
- add BR: perl(ExtUtils::MakeMaker)
86bfc3
86bfc3
* Mon Aug 27 2007 Robin Norwood <rnorwood@redhat.com> - 5.4-2
86bfc3
- Update License tag
86bfc3
- Clean up minor specfile issues
86bfc3
86bfc3
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 5.4-1.2.2.1
86bfc3
- rebuild
86bfc3
86bfc3
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 5.4-1.2.2
86bfc3
- bump again for double-long bug on ppc(64)
86bfc3
86bfc3
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 5.4-1.2.1
86bfc3
- rebuilt for new gcc4.1 snapshot and glibc changes
86bfc3
86bfc3
* Fri Feb 03 2006 Jason Vas Dias <jvdias@redhat.com> - 5.4-1.2
86bfc3
- rebuild for new perl-5.8.8
86bfc3
86bfc3
* Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
86bfc3
- rebuilt for new gcc
86bfc3
86bfc3
* Sat Apr  2 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 5.4-1
86bfc3
- Update to 5.4.
86bfc3
- Bring up to date with current Fedora.Extras perl spec template.
86bfc3
86bfc3
* Thu Nov 25 2004 Miloslav Trmac <mitr@redhat.com> - 5.3-10
86bfc3
- Convert man page to UTF-8
86bfc3
86bfc3
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
86bfc3
- rebuilt
86bfc3
86bfc3
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
86bfc3
- rebuilt
86bfc3
86bfc3
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 5.3-5
86bfc3
- rebuilt
86bfc3
86bfc3
* Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com>
86bfc3
- rebuilt
86bfc3
86bfc3
* Tue Dec 10 2002 Chip Turner <cturner@redhat.com>
86bfc3
- update to latest version from CPAN
86bfc3
86bfc3
* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
86bfc3
- automated release bump and build
86bfc3
86bfc3
* Wed Jan 30 2002 cturner@redhat.com
86bfc3
- Specfile autogenerated
86bfc3