@ -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