Update to 1.58.
Modernize spec.
This commit is contained in:
parent
383fce0ba8
commit
dcf7e15fce
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/File-Remove-1.57.tar.gz
|
||||
/File-Remove-1.58.tar.gz
|
||||
|
||||
@ -1,12 +1,16 @@
|
||||
Name: perl-File-Remove
|
||||
Version: 1.57
|
||||
Release: 8%{?dist}
|
||||
Version: 1.58
|
||||
Release: 1%{?dist}
|
||||
Summary: Convenience module for removing files and directories
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
|
||||
URL: https://metacpan.org/release/File-Remove
|
||||
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/File-Remove-%{version}.tar.gz
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
|
||||
BuildRequires: %{__perl}
|
||||
BuildRequires: %{__make}
|
||||
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(constant)
|
||||
BuildRequires: perl(Cwd) >= 3.29
|
||||
@ -34,14 +38,14 @@ BuildArch: noarch
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
%{__make} pure_install DESTDIR="$RPM_BUILD_ROOT"
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
%{__make} test
|
||||
|
||||
%files
|
||||
%doc Changes README
|
||||
@ -50,6 +54,10 @@ make test
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Fri Oct 12 2018 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.58-1
|
||||
- Update to 1.58.
|
||||
- Modernize spec.
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.57-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user