Compare commits

...

No commits in common. 'c9' and 'i8c' have entirely different histories.
c9 ... i8c

2
.gitignore vendored

@ -1 +1 @@
SOURCES/DateTime-Format-Builder-0.83.tar.gz SOURCES/DateTime-Format-Builder-0.81.tar.gz

@ -1 +1 @@
d2e450801ab59daeb2052769adb10565dda22d1d SOURCES/DateTime-Format-Builder-0.83.tar.gz 0df6fb5e9cd15c7925d830c516ce8d9f1290ad35 SOURCES/DateTime-Format-Builder-0.81.tar.gz

@ -1,60 +1,53 @@
%if 0%{?rhel} >= 9 # Note: Some tests for this package are disabled by default, as they
%bcond_with perl_DateTime_Format_Builder_enable_optional_tests # require network access and would thus fail in the buildsys' mock
%else # environments. To build locally while enabling tests, either:
%bcond_without perl_DateTime_Format_Builder_enable_optional_tests #
%endif # rpmbuild ... --define '_with_network_tests 1' ...
# rpmbuild ... --with network_tests ...
%global real_version 0.83 # 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.
%global real_version 0.81
Name: perl-DateTime-Format-Builder Name: perl-DateTime-Format-Builder
# 0.83 in reality, but rpm can't get it # 0.80 in reality, but rpm can't get it
Version: 0.8300 Version: 0.8100
Release: 5%{?dist} Release: 15%{?dist}
Summary: Create DateTime parser classes and objects Summary: Create DateTime parser classes and objects
Group: Development/Libraries
# examples/W3CDTF.pm: GPL+ or Artistic # examples/W3CDTF.pm: GPL+ or Artistic
# examples/MySQL.pm: GPL+ or Artistic
# lib/DateTime/Format/Builder.pm: Artistic 2.0 # lib/DateTime/Format/Builder.pm: Artistic 2.0
# LICENSE: Artistic 2.0 text
License: Artistic 2.0 and (GPL+ or Artistic) License: Artistic 2.0 and (GPL+ or Artistic)
URL: https://metacpan.org/release/DateTime-Format-Builder URL: http://search.cpan.org/dist/DateTime-Format-Builder
Source0: https://cpan.metacpan.org/modules/by-module/DateTime/DateTime-Format-Builder-%{real_version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-Builder-%{real_version}.tar.gz
BuildArch: noarch
# Module Build BuildArch: noarch
BuildRequires: coreutils Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: findutils
BuildRequires: make ## core
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl(Test::More)
BuildRequires: perl(ExtUtils::MakeMaker) ## non-core
BuildRequires: sed BuildRequires: perl(Module::Build)
# Module Runtime BuildRequires: perl(Class::ISA)
BuildRequires: perl(Carp) BuildRequires: perl(Class::Factory::Util)
BuildRequires: perl(DateTime) >= 1.00 BuildRequires: perl(DateTime)
BuildRequires: perl(DateTime::Format::Strptime) >= 1.04 BuildRequires: perl(DateTime::Format::Strptime)
BuildRequires: perl(Params::Validate) >= 0.72 BuildRequires: perl(Params::Validate) >= 0.73
BuildRequires: perl(parent) # note -- listed as a BR but _not_ needed with Fedora perl
BuildRequires: perl(Scalar::Util) #BuildRequires: perl(Task::Weaken)
BuildRequires: perl(strict) BuildRequires: perl(Test::Pod)
BuildRequires: perl(warnings) ## For extended testing
# Test Suite
BuildRequires: perl(File::Spec)
BuildRequires: perl(lib)
BuildRequires: perl(Test::More) >= 0.88
# Optional Tests
%if %{with perl_DateTime_Format_Builder_enable_optional_tests}
BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(DateTime::Format::HTTP) BuildRequires: perl(DateTime::Format::HTTP)
BuildRequires: perl(DateTime::Format::Mail) BuildRequires: perl(DateTime::Format::Mail)
BuildRequires: perl(DateTime::Format::IBeat) BuildRequires: perl(DateTime::Format::IBeat)
BuildRequires: perl(Devel::Cycle) >= 1.07
BuildRequires: perl(Test::Memory::Cycle)
BuildRequires: perl(Test::Pod) >= 1.00
%endif
# Dependencies
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Provides: perl(DateTime::Format::Builder) = %{version} Provides: perl(DateTime::Format::Builder) = %{version}
# Avoid doc-file dependencies from tests # for signature checking
%{?_with_network_tests:BuildRequires: perl(Module::Signature) }
%{?perl_default_filter} %{?perl_default_filter}
%description %description
@ -65,101 +58,50 @@ without writing reams of structural code.
Builder provides a number of methods, most of which you'll never need, or at 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 least rarely need. They're provided more for exposing of the module's innards
to any sub-classes, or for when you need to do something slightly beyond what to any subclasses, or for when you need to do something slightly beyond what
is expected. is expected.
%prep %prep
%setup -q -n DateTime-Format-Builder-%{real_version} %setup -q -n DateTime-Format-Builder-%{real_version}
# digital signature checking. Not essential, but nice
%{?_with_network_tests: cpansign -v }
# POD doesn't like E<copy> very much... # POD doesn't like E<copy> very much...
perl -pi -e 's/E<copy>/(C)/' `find lib/ -type f` perl -pi -e 's/E<copy>/(C)/' `find lib/ -type f`
# Silence rpmlint # silence rpmlint
sed -i '1s~^#!.*perl~#!%{__perl}~' t/*.t sed -i '1s~^#!.*perl~#!%{__perl}~' t/*.t
%build %build
perl Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
make test
%files
%if 0%{?_licensedir:1}
%license LICENSE
%else
%doc LICENSE
%endif
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md examples/ t/
%{perl_vendorlib}/DateTime/
%{_mandir}/man3/DateTime::Format::Builder.3*
%{_mandir}/man3/DateTime::Format::Builder::Parser.3*
%{_mandir}/man3/DateTime::Format::Builder::Parser::Dispatch.3*
%{_mandir}/man3/DateTime::Format::Builder::Parser::Quick.3*
%{_mandir}/man3/DateTime::Format::Builder::Parser::Regex.3*
%{_mandir}/man3/DateTime::Format::Builder::Parser::Strptime.3*
%{_mandir}/man3/DateTime::Format::Builder::Parser::generic.3*
%{_mandir}/man3/DateTime::Format::Builder::Tutorial.3*
%changelog %install
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.8300-5 make pure_install PERL_INSTALL_ROOT=%{buildroot}
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags find %{buildroot} -type f -name .packlist -exec rm -f {} +
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.8300-4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Thu Mar 25 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.8300-3
- Disable optional tests on ELN
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8300-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Aug 10 2020 Paul Howarth <paul@city-fan.org> - 0.8300-1
- Update to 0.83
- Switched to GitHub issues
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8200-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.8200-6
- Perl 5.32 rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8200-5 %{_fixperms} %{buildroot}/*
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Nov 1 2019 Paul Howarth <paul@city-fan.org> - 0.8200-4
- Fix License: tag to reflect content of actual shipped files, not just what
the LICENSE file says (#1600504, CPAN RT#125832)
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8200-3 %check
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild make test
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.8200-2
- Perl 5.30 rebuild
* Mon Mar 4 2019 Paul Howarth <paul@city-fan.org> - 0.8200-1 %files
- Update to 0.82 %doc Changes LICENSE README examples/ t/
- Removed use of Class::Factory::Util, which isn't really needed %{perl_vendorlib}/*
- Package new upstream CODE_OF_CONDUCT.md and CONTRIBUTING.md %{_mandir}/man3/*.3*
- Use %%license where possible
- Make %%files list more explicit
- Use DESTDIR rather than PERL_INSTALL_ROOT
- Simplify find command using -delete
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8100-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8100-16 %changelog
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Dec 07 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.8100-15
- Rebuilt for MSVSphere 8.8
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.8100-15 * Thu Jul 12 2018 Petr Pisar <ppisar@redhat.com> - 0.8100-15
- Perl 5.28 rebuild - Correct license tag (bug #1600504)
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8100-14 * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8100-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

Loading…
Cancel
Save