SPECS: perl-VCP-Dest-svk.spec - fixed previous breakage

ankry ankry at pld-linux.org
Sat Oct 21 11:02:40 CEST 2006


Author: ankry                        Date: Sat Oct 21 09:02:40 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed previous breakage

---- Files affected:
SPECS:
   perl-VCP-Dest-svk.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/perl-VCP-Dest-svk.spec
diff -u SPECS/perl-VCP-Dest-svk.spec:1.9 SPECS/perl-VCP-Dest-svk.spec:1.10
--- SPECS/perl-VCP-Dest-svk.spec:1.9	Sat Oct 21 10:31:44 2006
+++ SPECS/perl-VCP-Dest-svk.spec	Sat Oct 21 11:02:35 2006
@@ -11,7 +11,8 @@
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-authors/id/C/CL/CLKAO/%{pnam}-%{version}.tar.gz
 # Source0-md5:	c4b3fb8f9bb159d6e3010ae86cae54e1
-BuildRequires:	perl-VCP
+BuildRequires:	perl-SVK >= 0.20
+BuildRequires:	perl-VCP >= 0.9
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildArch:	noarch
@@ -24,11 +25,20 @@
 Sterownik celu svk.
 
 %prep
+%setup -q -n %{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -D %{SOURCE0} $RPM_BUILD_ROOT%{perl_vendorlib}/VCP/Dest/svk.pm
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -37,6 +47,7 @@
 %defattr(644,root,root,755)
 %dir %{perl_vendorlib}/VCP/Dest
 %{perl_vendorlib}/VCP/Dest/*.pm
+%{_mandir}/man3/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -44,6 +55,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2006/10/21 09:02:35  ankry
+- fixed previous breakage
+
 Revision 1.9  2006/10/21 08:31:44  ankry
 - ver. 0.29
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-VCP-Dest-svk.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list