|
|
|
@ -1,16 +1,24 @@
|
|
|
|
|
Name: perl-XXX
|
|
|
|
|
Version: 0.18
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Version: 0.21
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: See Your Data in the Nude
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/XXX/
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/XXX-%{version}.tar.gz
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: perl(YAML)
|
|
|
|
|
BuildRequires: perl
|
|
|
|
|
BuildRequires: perl(base)
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
BuildRequires: perl(YAML)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|
|
|
|
Requires: perl(Data::Dumper)
|
|
|
|
|
Requires: perl(YAML)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
XXX.pm exports a function called XXX that you can put just about
|
|
|
|
@ -30,13 +38,12 @@ To use Data::Dumper instead of YAML:
|
|
|
|
|
%setup -q -n XXX-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
iconv -f iso8859-1 -t utf-8 < README > README.z
|
|
|
|
|
mv README.z README
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
@ -50,6 +57,9 @@ make test
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jun 23 2014 Petr Šabata <contyk@redhat.com> - 0.21-1
|
|
|
|
|
- 0.21 bump; no code changes
|
|
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|