SPECS: perl-SVN-Mirror.spec - generic URL - simplified yes usage

qboosh qboosh at pld-linux.org
Sat Mar 31 18:45:27 CEST 2007


Author: qboosh                       Date: Sat Mar 31 16:45:27 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- generic URL
- simplified yes usage

---- Files affected:
SPECS:
   perl-SVN-Mirror.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/perl-SVN-Mirror.spec
diff -u SPECS/perl-SVN-Mirror.spec:1.23 SPECS/perl-SVN-Mirror.spec:1.24
--- SPECS/perl-SVN-Mirror.spec:1.23	Mon Mar 26 15:29:22 2007
+++ SPECS/perl-SVN-Mirror.spec	Sat Mar 31 18:45:22 2007
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+#
 # Conditional build:
 %bcond_without	tests	# do not perform "make test"
 #
@@ -15,11 +16,7 @@
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-authors/id/C/CL/CLKAO/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5:	170e067de85916f8d0b6a508194fbba3
-%if %{with tests}
-BuildRequires:	perl-BSD-Resource
-BuildRequires:	perl-SVN-Simple
-BuildRequires:	subversion
-%endif
+URL:		http://search.cpan.org/dist/SVN-Mirror/
 BuildRequires:	perl-Class-Accessor
 BuildRequires:	perl-Data-UUID
 BuildRequires:	perl-File-chdir
@@ -30,6 +27,11 @@
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	perl-subversion >= 1.0.3
 BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-BSD-Resource
+BuildRequires:	perl-SVN-Simple
+BuildRequires:	subversion
+%endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -45,16 +47,16 @@
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-yes | tr y n | %{__perl} Makefile.PL \
+yes n | %{__perl} Makefile.PL \
 	INSTALLDIRS=vendor
-yes | tr y n | %{__make}
+yes n | %{__make}
 
-%{?with_tests:yes | tr y n | %{__make} test}
+%{?with_tests:yes n | %{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-yes | tr y n | %{__make} install \
+yes n | %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
@@ -74,6 +76,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2007/03/31 16:45:22  qboosh
+- generic URL
+- simplified yes usage
+
 Revision 1.23  2007/03/26 13:29:22  ankry
 - tabs
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-SVN-Mirror.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list