|
|
@ -1,30 +1,33 @@
|
|
|
|
Name: perl-Package-Variant
|
|
|
|
Name: perl-Package-Variant
|
|
|
|
Version: 1.002002
|
|
|
|
Version: 1.003002
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Parameterizable packages
|
|
|
|
Summary: Parameterizable packages
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/Package-Variant/
|
|
|
|
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
|
|
|
|
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(Carp)
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
|
|
|
BuildRequires: perl(Import::Into) >= 1
|
|
|
|
BuildRequires: perl(Import::Into) >= 1
|
|
|
|
BuildRequires: perl(Module::Runtime) >= 0.013
|
|
|
|
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)
|
|
|
|
BuildRequires: perl(Moo::Role)
|
|
|
|
BuildRequires: perl(Moo::Role)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
|
|
|
BuildRequires: perl(strictures) >= 1
|
|
|
|
|
|
|
|
BuildRequires: perl(Sub::Name)
|
|
|
|
|
|
|
|
BuildRequires: perl(Test::Fatal)
|
|
|
|
BuildRequires: perl(Test::Fatal)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Recommends: perl(Sub::Name)
|
|
|
|
# not automatically detected
|
|
|
|
|
|
|
|
Requires: perl(Sub::Name)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This module allows you to build packages that return different variations
|
|
|
|
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}
|
|
|
|
%setup -q -n Package-Variant-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor --skipdeps NO_PACKLIST=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
@ -53,6 +53,11 @@ make test
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* 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
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|