Compare commits

...

No commits in common. "c8" and "c9" have entirely different histories.
c8 ... c9

3 changed files with 95 additions and 11 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/Specio-0.42.tar.gz
SOURCES/Specio-0.47.tar.gz

View File

@ -1 +1 @@
fbda4dac714f26ecbc2ff0eec4401a740644ccfa SOURCES/Specio-0.42.tar.gz
b4501d7ac77b265577c7c187e53192acdf8769d1 SOURCES/Specio-0.47.tar.gz

View File

@ -6,12 +6,15 @@
%endif
Name: perl-Specio
Version: 0.42
Release: 2%{?dist}
Version: 0.47
Release: 3%{?dist}
Summary: Type constraints and coercions for Perl
License: Artistic 2.0
URL: http://search.cpan.org/dist/Specio/
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Specio-%{version}.tar.gz
# lib/Specio/PartialDump.pm: GPL+ or Artistic
# <https://github.com/houseabsolute/Specio/issues/17>
# other files: Artistic 2.0
License: Artistic 2.0 and (GPL+ or Artistic)
URL: https://metacpan.org/release/Specio
Source0: https://cpan.metacpan.org/modules/by-module/Test/Specio-%{version}.tar.gz
BuildArch: noarch
# Module Build
BuildRequires: coreutils
@ -20,7 +23,6 @@ BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Module Runtime
BuildRequires: perl(B)
BuildRequires: perl(Carp)
BuildRequires: perl(Devel::StackTrace)
BuildRequires: perl(Eval::Closure)
@ -45,8 +47,10 @@ BuildRequires: perl(Test::More) >= 0.96
BuildRequires: perl(Try::Tiny)
BuildRequires: perl(version) >= 0.83
BuildRequires: perl(warnings)
BuildRequires: perl(XString)
# Test Suite
BuildRequires: perl(File::Spec)
BuildRequires: perl(FindBin)
BuildRequires: perl(lib)
BuildRequires: perl(open)
BuildRequires: perl(Test::Needs)
@ -68,6 +72,7 @@ BuildRequires: perl(namespace::autoclean)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Ref::Util) >= 0.112
Requires: perl(Sub::Util) >= 1.40
Requires: perl(XString)
# Avoid provides for private packages
%global __provides_exclude ^perl\\(_T::.*\\)
@ -98,10 +103,10 @@ types.
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags}
%{make_build}
%install
make install DESTDIR=%{buildroot}
%{make_install}
%{_fixperms} -c %{buildroot}
%check
@ -109,7 +114,7 @@ make test
%files
%license LICENSE
%doc Changes CONTRIBUTING.md README.md TODO.md
%doc Changes CODE_OF_CONDUCT.md CONTRIBUTING.md README.md TODO.md
%{perl_vendorlib}/Specio.pm
%{perl_vendorlib}/Specio/
%{_mandir}/man3/Specio.3*
@ -157,6 +162,85 @@ make test
%{_mandir}/man3/Test::Specio.3*
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.47-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.47-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Sun Jan 31 2021 Paul Howarth <paul@city-fan.org> - 0.47-1
- Update to 0.47
- Change Specio constraint object's stringification overloading to return the
type name rather than the default Perl object stringification, which gives
you something like
"Specio::Constraint::Parameterized=HASH(0x564d258efb48)"; anonymous are
special cased to return something you can print
- All types now overload the 'eq' comparison operator: Moose expects types to
be comparable in this manner when doing role summation (GH#18)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.46-3
- Perl 5.32 re-rebuild of bootstrapped packages
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.46-2
- Perl 5.32 rebuild
* Sat Mar 14 2020 Paul Howarth <paul@city-fan.org> - 0.46-1
- Update to 0.46
- Correct license of Specio::PartialDump (GH#17)
* Tue Feb 18 2020 Petr Pisar <ppisar@redhat.com> - 0.45-3
- Correct a perl-Specio license to "Artistic 2.0 and (GPL+ or Artistic)"
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.45-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Nov 25 2019 Paul Howarth <paul@city-fan.org> - 0.45-1
- Update to 0.45
- Made XString a prereq if installing with Perl 5.10+
* Thu Aug 15 2019 Paul Howarth <paul@city-fan.org> - 0.44-1
- Update to 0.44
- Replaced the use of B with XString if it is installed; the latter is much
smaller and provides the one subroutine from B we cared about (based on
GH#15)
- Use %%{make_build} and %%{make_install}
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.43-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.43-4
- Perl 5.30 re-rebuild of bootstrapped packages
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.43-3
- Perl 5.30 rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.43-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Oct 28 2018 Paul Howarth <paul@city-fan.org> - 0.43-1
- Update to 0.43
- Optimized compile-time operations to make Specio itself quicker to load;
Specio's load time is a non-trivial part of the load time of DateTime (and
presumably other things that use it)
- Based on https://github.com/houseabsolute/DateTime.pm/issues/85
- Package new CODE_OF_CONDUCT.md file
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.42-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sun Jul 01 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.42-4
- Perl 5.28 re-rebuild of bootstrapped packages
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.42-3
- Perl 5.28 rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.42-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild