SPECS: perl-Nagios-Object.spec - package examples

glen glen at pld-linux.org
Sat Apr 29 10:55:38 CEST 2006


Author: glen                         Date: Sat Apr 29 08:55:38 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- package examples

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

---- Diffs:

================================================================
Index: SPECS/perl-Nagios-Object.spec
diff -u SPECS/perl-Nagios-Object.spec:1.1 SPECS/perl-Nagios-Object.spec:1.2
--- SPECS/perl-Nagios-Object.spec:1.1	Thu Apr 27 14:06:51 2006
+++ SPECS/perl-Nagios-Object.spec	Sat Apr 29 10:55:33 2006
@@ -48,6 +48,10 @@
 rm -rf $RPM_BUILD_ROOT
 
 ./Build install
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a bin/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/.packlist
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -57,6 +61,7 @@
 %doc ChangeLog README
 %{perl_vendorlib}/Nagios
 %{_mandir}/man3/*
+%{_examplesdir}/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -64,5 +69,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/04/29 08:55:33  glen
+- package examples
+
 Revision 1.1  2006/04/27 12:06:51  qboosh
 - new
================================================================

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



More information about the pld-cvs-commit mailing list