Author: sparky Date: Tue Feb 1 19:31:05 2011 GMT Module: packages Tag: HEAD ---- Log message: - switched build system to Module::Build - BR fixes
---- Files affected: packages/perl-Net-OAuth: perl-Net-OAuth.spec (1.1 -> 1.2) ---- Diffs: ================================================================ Index: packages/perl-Net-OAuth/perl-Net-OAuth.spec diff -u packages/perl-Net-OAuth/perl-Net-OAuth.spec:1.1 packages/perl-Net-OAuth/perl-Net-OAuth.spec:1.2 --- packages/perl-Net-OAuth/perl-Net-OAuth.spec:1.1 Tue Feb 1 20:24:26 2011 +++ packages/perl-Net-OAuth/perl-Net-OAuth.spec Tue Feb 1 20:30:59 2011 @@ -16,8 +16,7 @@ Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-authors/id/K/KG/KGRENNAN/Net-OAuth-%{version}.tar.gz # Source0-md5: 6b7a854c8c848ba08e5e0703bdfd8c95 -# generic URL, check or change before uncommenting -#URL: http://search.cpan.org/dist/Net-OAuth/ +URL: http://search.cpan.org/dist/Net-OAuth/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 %if %{with tests} @@ -25,8 +24,9 @@ BuildRequires: perl-Class-Data-Inheritable >= 0.06 BuildRequires: perl-Digest-HMAC >= 1.01 BuildRequires: perl-Digest-SHA1 >= 2.12 +BuildRequires: perl-Encode BuildRequires: perl-Test-Warn >= 0.21 -BuildRequires: perl-URI >= 3.28 +BuildRequires: perl-URI %endif BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -50,17 +50,17 @@ %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} pure_install \ - DESTDIR=$RPM_BUILD_ROOT +./Build install %clean rm -rf $RPM_BUILD_ROOT @@ -78,6 +78,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.2 2011/02/01 19:30:59 sparky +- switched build system to Module::Build +- BR fixes + Revision 1.1 2011/02/01 19:24:26 sparky - NEW: may need some love - ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-Net-OAuth/perl-Net-OAuth.spec?r1=1.1&r2=1.2&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
