SPECS: asterisk-perl.spec - correct- thx zbyniu

wolvverine wolvverine at pld-linux.org
Fri May 12 19:11:27 CEST 2006


Author: wolvverine                   Date: Fri May 12 17:11:27 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- correct- thx zbyniu

---- Files affected:
SPECS:
   asterisk-perl.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/asterisk-perl.spec
diff -u SPECS/asterisk-perl.spec:1.1 SPECS/asterisk-perl.spec:1.2
--- SPECS/asterisk-perl.spec:1.1	Fri May 12 18:28:17 2006
+++ SPECS/asterisk-perl.spec	Fri May 12 19:11:22 2006
@@ -1,5 +1,4 @@
 # $Revision$, $Date$
-#TODO - prefix in build section and files
 %include	/usr/lib/rpm/macros.perl
 Summary:	Asterisk PBX Perl Modules
 Summary(pl):	Moduły Perl-a do Asterisk PBX.
@@ -27,14 +26,15 @@
 %setup -q
 
 %build
-%{__perl} Makefile.PL 
-%{__make}
+%{__perl} Makefile.PL \
+		INSTALLDIRS=vendor
+%{__make} 
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} pure_install \
 	DESTDIR=$RPM_BUILD_ROOT
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/%{name}/.packlist
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -42,10 +42,8 @@
 %files
 %defattr(644,root,root,755)
 %doc CHANGES README
-#??????%%{_libdir}/perl5/5.8.0/%{arch}-pld-linux-thread-multi/auto/asterisk-perl/.packlist
-#%{_datadir}/perl5/Asterisk*
-#%{_datadir}/perl5/Asterisk/*
-#%{_mandir}/man3/Asterisk*
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -53,6 +51,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/05/12 17:11:22  wolvverine
+- correct- thx zbyniu
+
 Revision 1.1  2006/05/12 16:28:17  wolvverine
 - init
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/asterisk-perl.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list