SPECS: perl-SOAP-Lite.spec - remove probably unwanted files - and ...

glen glen at pld-linux.org
Mon Mar 31 16:42:32 CEST 2008


Author: glen                         Date: Mon Mar 31 14:42:32 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- remove probably unwanted files
- and what the "guru" has to do?

---- Files affected:
SPECS:
   perl-SOAP-Lite.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/perl-SOAP-Lite.spec
diff -u SPECS/perl-SOAP-Lite.spec:1.24 SPECS/perl-SOAP-Lite.spec:1.25
--- SPECS/perl-SOAP-Lite.spec:1.24	Mon Mar 31 16:05:45 2008
+++ SPECS/perl-SOAP-Lite.spec	Mon Mar 31 16:42:27 2008
@@ -86,7 +86,6 @@
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{real_version}
-%{__chmod} u+rw . -R
 
 %build
 %{__perl} -MExtUtils::MakeMaker -e 'WriteMakefile(NAME=>"SOAP::Lite")' \
@@ -103,6 +102,13 @@
 	DESTDIR=$RPM_BUILD_ROOT
 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
+# don't package .pod
+rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/SOAP/*.pod
+
+# don't package OldDocs
+rm -f $RPM_BUILD_ROOT%{_mandir}/man3/OldDocs::*
+rm -rf $RPM_BUILD_ROOT%{perl_vendorlib}/OldDocs
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -119,8 +125,9 @@
 %dir %{perl_vendorlib}/SOAP/Lite/Deserializer
 %{perl_vendorlib}/SOAP/Lite/Deserializer/*.pm
 %dir %{perl_vendorlib}/SOAP/Transport
-%{perl_vendorlib}/SOAP/Transport/[FHILPT]*.pm
-%{perl_vendorlib}/SOAP/Transport/MAILTO.pm
+%{perl_vendorlib}/SOAP/Transport/*.pm
+%exclude %{perl_vendorlib}/SOAP/Transport/JABBER.pm
+%exclude %{perl_vendorlib}/SOAP/Transport/MQ.pm
 %dir %{perl_vendorlib}/UDDI
 %{perl_vendorlib}/UDDI/*.pm
 %{perl_vendorlib}/XML/Parser/*.pm
@@ -132,6 +139,9 @@
 %{_mandir}/man3/UDDI*
 %{_mandir}/man3/XML*
 %{_mandir}/man3/SOAP*
+%if %{with MQ}
+%exclude %{_mandir}/man3/*::MQ.*
+%endif
 
 %if %{with MQ}
 %files MQ
@@ -143,7 +153,6 @@
 %files JABBER
 %defattr(644,root,root,755)
 %{perl_vendorlib}/SOAP/Transport/JABBER.pm
-%{_mandir}/man3/*JABBER*
 
 %files examples
 %defattr(644,root,root,755)
@@ -155,6 +164,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2008-03-31 14:42:27  glen
+- remove probably unwanted files
+- and what the "guru" has to do?
+
 Revision 1.24  2008-03-31 14:05:45  kosmo
 - updated to 0.71
 - touch of perl guru is required
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-SOAP-Lite.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list