|
|
|
@ -1,20 +1,14 @@
|
|
|
|
|
# Perform release tests
|
|
|
|
|
%bcond_without perl_Spiffy_enables_extra_test
|
|
|
|
|
|
|
|
|
|
Name: perl-Spiffy
|
|
|
|
|
Version: 0.46
|
|
|
|
|
Release: 19%{?dist}
|
|
|
|
|
Release: 11%{?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
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Spiffy/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/I/IN/INGY/Spiffy-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Build:
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
|
# Run-time:
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
@ -31,11 +25,6 @@ BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Cwd)
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
%if %{with perl_Spiffy_enables_extra_test}
|
|
|
|
|
# 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)
|
|
|
|
@ -62,13 +51,15 @@ perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
unset RELEASE_TESTING
|
|
|
|
|
make test %{?with_perl_Spiffy_enables_extra_test:RELEASE_TESTING=1}
|
|
|
|
|
make test RELEASE_TESTING=0
|
|
|
|
|
|
|
|
|
|
# Support use of %%license on old distributions
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
@ -76,38 +67,14 @@ make test %{?with_perl_Spiffy_enables_extra_test:RELEASE_TESTING=1}
|
|
|
|
|
%{perl_vendorlib}/Spiffy.pm
|
|
|
|
|
%doc %{perl_vendorlib}/Spiffy.pod
|
|
|
|
|
%{perl_vendorlib}/Spiffy/
|
|
|
|
|
%{_mandir}/man3/Spiffy.3*
|
|
|
|
|
%{_mandir}/man3/Spiffy.3pm*
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.46-17
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-16
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-15
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.46-14
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Fri May 17 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.46-11
|
|
|
|
|
- Rebuilt for MSVSphere 8.9
|
|
|
|
|
|
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.46-11
|
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.46-11
|
|
|
|
|
- Rebuild with enable hardening (bug #1636329)
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.46-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|