|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
Name: perl-Config-Any
|
|
|
|
|
Version: 0.07
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.08
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Load configuration from different file formats, transparently
|
|
|
|
|
License: GPL or Artistic
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Config-Any/
|
|
|
|
|
Source0: http://www.cpan.org/authors/id/R/RA/RATAXIS/Config-Any-%{version}.tar.gz
|
|
|
|
|
Source0: http://www.cpan.org/modules/by-module/Config/Config-Any-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
@ -68,19 +68,21 @@ EOF
|
|
|
|
|
chmod +x %{__perl_requires}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%{__perl} Build.PL installdirs=vendor
|
|
|
|
|
./Build
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
./Build test
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
@ -93,6 +95,11 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Oct 23 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.08-1
|
|
|
|
|
- update to 0.08
|
|
|
|
|
- license tag update: GPL -> GPL+
|
|
|
|
|
- Module::Build -> Module::Install
|
|
|
|
|
|
|
|
|
|
* Fri May 04 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.07-4
|
|
|
|
|
- bump
|
|
|
|
|
|
|
|
|
|