|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-Class-Trigger
|
|
|
|
|
Version: 0.14
|
|
|
|
|
Release: 30%{?dist}
|
|
|
|
|
Version: 0.15
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Mixin to add / call inheritable triggers
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Class-Trigger
|
|
|
|
@ -12,12 +12,8 @@ BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(inc::Module::Install)
|
|
|
|
|
BuildRequires: perl(Module::Install::Include)
|
|
|
|
|
BuildRequires: perl(Module::Install::Metadata)
|
|
|
|
|
BuildRequires: perl(Module::Install::TestBase)
|
|
|
|
|
BuildRequires: perl(Module::Install::WriteAll)
|
|
|
|
|
BuildRequires: sed
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
# Runtime
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
@ -27,7 +23,7 @@ BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(IO::Scalar)
|
|
|
|
|
BuildRequires: perl(IO::WrapTie)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::More) >= 0.32
|
|
|
|
|
# Dependencies
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
@ -37,10 +33,6 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n Class-Trigger-%{version}
|
|
|
|
|
|
|
|
|
|
# Remove bundled libraries
|
|
|
|
|
rm -r inc
|
|
|
|
|
sed -i -e '/^inc\// d' MANIFEST
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{_smp_mflags}
|
|
|
|
@ -54,12 +46,16 @@ find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc Changes README
|
|
|
|
|
%{perl_vendorlib}/Class/
|
|
|
|
|
%{_mandir}/man3/Class::Trigger.3*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Apr 20 2020 Paul Howarth <paul@city-fan.org> - 0.15-1
|
|
|
|
|
- Update to 0.15
|
|
|
|
|
- Repackaged to avoid build issues with modern perls
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-30
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|