|
|
|
@ -1,14 +1,17 @@
|
|
|
|
|
Name: perl-Algorithm-C3
|
|
|
|
|
Version: 0.10
|
|
|
|
|
Release: 15%{?dist}
|
|
|
|
|
Release: 16%{?dist}
|
|
|
|
|
Summary: Module for merging hierarchies using the C3 algorithm
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
URL: https://metacpan.org/release/Algorithm-C3
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/Algorithm-C3-%{version}.tar.gz
|
|
|
|
|
Source0: https://cpan.metacpan.org/modules/by-module/Algorithm/Algorithm-C3-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# Build
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: findutils
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
# Module
|
|
|
|
|
BuildRequires: perl(Carp) >= 0.01
|
|
|
|
@ -33,10 +36,9 @@ perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
%{_fixperms} %{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
|
|
|
|
%{_fixperms} -c %{buildroot}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
@ -44,9 +46,17 @@ make test
|
|
|
|
|
%files
|
|
|
|
|
%doc Changes README t/
|
|
|
|
|
%{perl_vendorlib}/Algorithm/
|
|
|
|
|
%{_mandir}/man3/Algorithm::C3.3pm*
|
|
|
|
|
%{_mandir}/man3/Algorithm::C3.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 15 2019 Paul Howarth <paul@city-fan.org> - 0.10-16
|
|
|
|
|
- Spec tidy-up
|
|
|
|
|
- Use author-independent source URL
|
|
|
|
|
- Specify all build dependencies
|
|
|
|
|
- Drop redundant buildroot cleaning in %%install section
|
|
|
|
|
- Simplify find command using -delete
|
|
|
|
|
- Fix permissions verbosely
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10-15
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|