1.003002 bump

- Update upstream URL
- Modernize the spec
epel9
Petr Šabata 9 years ago
parent 0db9284b94
commit 7d8b2062f0

1
.gitignore vendored

@ -1,3 +1,4 @@
/Package-Variant-1.001002.tar.gz
/Package-Variant-1.001003.tar.gz
/Package-Variant-1.002002.tar.gz
/Package-Variant-1.003002.tar.gz

@ -1,30 +1,33 @@
Name: perl-Package-Variant
Version: 1.002002
Release: 3%{?dist}
Version: 1.003002
Release: 1%{?dist}
Summary: Parameterizable packages
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Package-Variant/
Source0: http://search.cpan.org/CPAN/authors/id/H/HA/HAARG/Package-Variant-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/M/MS/MSTROUT/Package-Variant-%{version}.tar.gz
BuildArch: noarch
# Build
BuildRequires: make
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Runtime
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Import::Into) >= 1
BuildRequires: perl(Module::Runtime) >= 0.013
BuildRequires: perl(strictures) >= 2
# Optional runtime
BuildRequires: perl(Sub::Name)
# Tests only
BuildRequires: perl(Exporter)
BuildRequires: perl(Moo)
BuildRequires: perl(Moo::Role)
BuildRequires: perl(strict)
BuildRequires: perl(strictures) >= 1
BuildRequires: perl(Sub::Name)
BuildRequires: perl(Test::Fatal)
BuildRequires: perl(Test::More)
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# not automatically detected
Requires: perl(Sub::Name)
%{?perl_default_filter}
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
Recommends: perl(Sub::Name)
%description
This module allows you to build packages that return different variations
@ -34,14 +37,11 @@ depending on what parameters are given.
%setup -q -n Package-Variant-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
perl Makefile.PL INSTALLDIRS=vendor --skipdeps NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}/*
%check
@ -53,6 +53,11 @@ make test
%{_mandir}/man3/*
%changelog
* Tue Sep 01 2015 Petr Šabata <contyk@redhat.com> - 1.003002-1
- 1.003002 bump
- Update upstream URL
- Modernize the spec
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.002002-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

@ -1 +1 @@
dd86d48c51beca32d36799f1bf540faf Package-Variant-1.002002.tar.gz
f898ec7426e051ca4431fd8afed24937 Package-Variant-1.003002.tar.gz

Loading…
Cancel
Save