Update to 1.18

- New upstream release 1.18
  - Escape { and } (CPAN RT#124147)
- This release by SREZIC → update source URL
- Specify all dependencies
- Simplify find command using -delete
- Use %license where possible
- Make %files list more explicit
epel9
Paul Howarth 7 years ago
parent a2851ff63c
commit 93eb7f6372

3
.gitignore vendored

@ -1,2 +1,3 @@
String-Format-1.16.tar.gz
/String-Format-1.16.tar.gz
/String-Format-1.17.tar.gz
/String-Format-1.18.tar.gz

@ -1,2 +1,3 @@
from Config import *
addFilter("spelling-error .* (printf|Sprintf)");
addFilter("spelling-error Summary\(en_US\) Sprintf -> ")
addFilter("spelling-error %description -l en_US printf -> ")

@ -1,21 +1,30 @@
Name: perl-String-Format
Version: 1.17
Release: 9%{?dist}
Version: 1.18
Release: 1%{?dist}
Summary: Sprintf-like string formatting capabilities with arbitrary format definitions
Group: Development/Libraries
License: GPLv2
URL: http://search.cpan.org/dist/String-Format/
Source0: http://www.cpan.org/authors/id/D/DA/DARREN/String-Format-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/S/SR/SREZIC/String-Format-%{version}.tar.gz
BuildArch: noarch
# Build:
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) > 6.57
# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(Exporter)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
# Tests:
BuildRequires: perl(POSIX)
BuildRequires: perl(Test::More)
BuildRequires: perl(warnings)
# Dependencies:
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
%description
@ -35,9 +44,9 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
chmod -R u+w $RPM_BUILD_ROOT/*
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
@ -45,12 +54,26 @@ make test
%files
%doc Changes COPYING
%if 0%{?_licensedir:1}
%license COPYING
%else
%doc COPYING
%endif
%doc Changes README
%{perl_vendorlib}/String/
%{_mandir}/man3/*.3pm*
%{_mandir}/man3/String::Format.3*
%changelog
* Mon Mar 5 2018 Paul Howarth <paul@city-fan.org> - 1.18-1
- Update to 1.18
- Escape { and } (CPAN RT#124147)
- This release by SREZIC → update source URL
- Specify all dependencies
- Simplify find command using -delete
- Use %%license where possible
- Make %%files list more explicit
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@ -112,7 +135,7 @@ make test
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.16-4
- 661697 rebuild for fixing problems with vendorach/lib
- Rebuild to fix problems with vendorarch/lib (#661697)
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.16-3
- Mass rebuild with perl-5.12.0

@ -1 +1 @@
5635b975740122bab326ff2186cc97fb String-Format-1.17.tar.gz
SHA512 (String-Format-1.18.tar.gz) = 34eb3991a9bea931f59ca1683ba72d8b07244ed4c2a9409be0626346526b4eb2ab07acdd5c4eabf44a767867a4991e97d89835eb0e4c3c43b413de75eb3c0d5d

Loading…
Cancel
Save