Update to 0.929 (rhbz#2157199)
- New upstream release 0.929 - Update packaging and metadata - Use SPDX-format license tag - Use %license - Fix permissions verbosely - Simplify find command using -delete - Drop redundant buildroot cleaning in %install section
This commit is contained in:
parent
22f9290545
commit
2180b42820
@ -6,18 +6,20 @@
|
||||
%endif
|
||||
|
||||
Name: perl-Sub-Install
|
||||
Version: 0.928
|
||||
Release: 33%{?dist}
|
||||
Version: 0.929
|
||||
Release: 1%{?dist}
|
||||
Summary: Install subroutines into packages easily
|
||||
License: GPL+ or Artistic
|
||||
License: GPL-1.0-or-later OR Artistic-1.0-Perl
|
||||
URL: https://metacpan.org/release/Sub-Install
|
||||
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Sub-Install-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
# ================= Module Build ============================
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(warnings)
|
||||
# ================= Run-time ================================
|
||||
@ -48,20 +50,29 @@ 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
|
||||
|
||||
%files
|
||||
%doc Changes LICENSE README
|
||||
%license LICENSE
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/Sub/
|
||||
%{_mandir}/man3/Sub::Install.3pm*
|
||||
%{_mandir}/man3/Sub::Install.3*
|
||||
|
||||
%changelog
|
||||
* Wed Jan 4 2023 Paul Howarth <paul@city-fan.org> - 0.929-1
|
||||
- Update to 0.929 (rhbz#2157199)
|
||||
- Update packaging and metadata
|
||||
- Use SPDX-format license tag
|
||||
- Use %%license
|
||||
- Fix permissions verbosely
|
||||
- Simplify find command using -delete
|
||||
- Drop redundant buildroot cleaning in %%install section
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.928-33
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (Sub-Install-0.928.tar.gz) = 3f25df9f5992075968830d4235e9f6520c526331b9180391e41483241d43253a61ad8dc381d77aaeb6c6fb841cfc5c097598e62abb46208894275c393a133ade
|
||||
SHA512 (Sub-Install-0.929.tar.gz) = f51992531607af97ff6b8700bf23a2918261d05f24886781f36e2676c130df5d109a42ad3d6f8d089a6ee2c050af27ec5fc2ef9610ee993eca6549866a4fe8d7
|
||||
|
||||
Loading…
Reference in New Issue
Block a user