Update to 0.110
- New upstream release 0.110 - Major optimization to mkopt - Use %license - Simplify find expression using -delete
This commit is contained in:
parent
7bc0c08e7a
commit
3349cb008f
@ -1,24 +1,33 @@
|
|||||||
Name: perl-Data-OptList
|
Name: perl-Data-OptList
|
||||||
|
Version: 0.110
|
||||||
|
Release: 1%{?dist}
|
||||||
Summary: Parse and validate simple name/value option pairs
|
Summary: Parse and validate simple name/value option pairs
|
||||||
Version: 0.109
|
|
||||||
Release: 7%{?dist}
|
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/Data-OptList/
|
URL: http://search.cpan.org/dist/Data-OptList/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
# Module Build
|
||||||
|
BuildRequires: coreutils
|
||||||
|
BuildRequires: findutils
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(strict)
|
# Module Runtime
|
||||||
BuildRequires: perl(warnings)
|
|
||||||
# Run-time:
|
|
||||||
BuildRequires: perl(List::Util)
|
BuildRequires: perl(List::Util)
|
||||||
BuildRequires: perl(Params::Util)
|
BuildRequires: perl(Params::Util)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
BuildRequires: perl(Sub::Install) >= 0.921
|
BuildRequires: perl(Sub::Install) >= 0.921
|
||||||
# Tests:
|
BuildRequires: perl(warnings)
|
||||||
|
# Test Suite
|
||||||
|
BuildRequires: perl(File::Spec)
|
||||||
BuildRequires: perl(Test::More) >= 0.88
|
BuildRequires: perl(Test::More) >= 0.88
|
||||||
# Optional tests:
|
# Optional Tests
|
||||||
|
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
||||||
|
BuildRequires: perl(CPAN::Meta::Prereqs)
|
||||||
|
# Extra Tests
|
||||||
BuildRequires: perl(Test::Pod) >= 1.41
|
BuildRequires: perl(Test::Pod) >= 1.41
|
||||||
|
# Dependencies
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -46,6 +55,7 @@ following a name is its value.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n Data-OptList-%{version}
|
%setup -q -n Data-OptList-%{version}
|
||||||
|
|
||||||
|
# Fix shellbangs in tests
|
||||||
for F in t/*; do
|
for F in t/*; do
|
||||||
perl -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(q{$F})"
|
perl -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(q{$F})"
|
||||||
done
|
done
|
||||||
@ -56,7 +66,7 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -64,11 +74,18 @@ make test
|
|||||||
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changes LICENSE README t/
|
%license LICENSE
|
||||||
|
%doc Changes README t/
|
||||||
%{perl_vendorlib}/Data/
|
%{perl_vendorlib}/Data/
|
||||||
%{_mandir}/man3/Data::OptList.3pm*
|
%{_mandir}/man3/Data::OptList.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 25 2016 Paul Howarth <paul@city-fan.org> - 0.110-1
|
||||||
|
- Update to 0.110
|
||||||
|
- Major optimization to mkopt
|
||||||
|
- Use %%license
|
||||||
|
- Simplify find expression using -delete
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.109-7
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.109-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user