packages: perl-Config-Scoped/perl-Config-Scoped.spec - up to 0.21
zbyniu
zbyniu at pld-linux.org
Sat Feb 11 11:21:24 CET 2012
Author: zbyniu Date: Sat Feb 11 10:21:24 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.21
---- Files affected:
packages/perl-Config-Scoped:
perl-Config-Scoped.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: packages/perl-Config-Scoped/perl-Config-Scoped.spec
diff -u packages/perl-Config-Scoped/perl-Config-Scoped.spec:1.5 packages/perl-Config-Scoped/perl-Config-Scoped.spec:1.6
--- packages/perl-Config-Scoped/perl-Config-Scoped.spec:1.5 Sat Jan 14 01:31:05 2012
+++ packages/perl-Config-Scoped/perl-Config-Scoped.spec Sat Feb 11 11:21:19 2012
@@ -9,14 +9,15 @@
Summary: Config::Scoped - feature rich configuration file parser
Summary(pl.UTF-8): Config::Scoped - bogaty w możliwości analizator plików konfiguracyjnych
Name: perl-Config-Scoped
-Version: 0.13
+Version: 0.21
Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/Config/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 02c05d82bf3c11e7a21f4866b6280341
+# Source0-md5: 94ce561e368ffaff3f1f66896d6d0b3f
URL: http://search.cpan.org/dist/Config-Scoped/
+BuildRequires: perl-Module-Build
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
@@ -92,17 +93,20 @@
%setup -q -n %{pdir}-%{pnam}-%{version}
%build
-%{__perl} Makefile.PL \
- INSTALLDIRS=vendor
-%{__make}
+%{__perl} Build.PL \
+ destdir=$RPM_BUILD_ROOT \
+ installdirs=vendor
+./Build
-%{?with_tests:%{__make} test}
+%{?with_tests:./Build test}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+./Build install
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a example $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -113,6 +117,7 @@
%{perl_vendorlib}/Config/*.pm
%{perl_vendorlib}/Config/Scoped
%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -120,6 +125,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2012/02/11 10:21:19 zbyniu
+- up to 0.21
+
Revision 1.5 2012/01/14 00:31:05 zbyniu
- up to 0.13
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-Config-Scoped/perl-Config-Scoped.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list