|
|
|
@ -3,14 +3,18 @@
|
|
|
|
|
|
|
|
|
|
Name: perl-Spiffy
|
|
|
|
|
Version: 0.46
|
|
|
|
|
Release: 18%{?dist}
|
|
|
|
|
Release: 19%{?dist}
|
|
|
|
|
Summary: Framework for doing object oriented (OO) programming in Perl
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Spiffy
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/I/IN/INGY/Spiffy-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
# Build:
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
@ -31,6 +35,7 @@ BuildRequires: perl(Test::More)
|
|
|
|
|
# Release Tests:
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.41
|
|
|
|
|
%endif
|
|
|
|
|
# Dependencies:
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
|
Requires: perl(Filter::Util::Call)
|
|
|
|
@ -57,26 +62,29 @@ perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
unset RELEASE_TESTING
|
|
|
|
|
make test %{?with_perl_Spiffy_enables_extra_test:RELEASE_TESTING=1}
|
|
|
|
|
|
|
|
|
|
# Support use of %%license on old distributions
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc Changes CONTRIBUTING README
|
|
|
|
|
%{perl_vendorlib}/Spiffy.pm
|
|
|
|
|
%doc %{perl_vendorlib}/Spiffy.pod
|
|
|
|
|
%{perl_vendorlib}/Spiffy/
|
|
|
|
|
%{_mandir}/man3/Spiffy.3pm*
|
|
|
|
|
%{_mandir}/man3/Spiffy.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Oct 23 2020 Paul Howarth <paul@city-fan.org> - 0.46-19
|
|
|
|
|
- Spec tidy-up
|
|
|
|
|
- Specify all build dependencies
|
|
|
|
|
- Simplify find command using -delete
|
|
|
|
|
- Fix permissions verbosely
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-18
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|