SPECS: perl-NetAddr-IP-Count.spec - rel 2, added example.

agaran agaran at pld-linux.org
Sat Jul 29 12:58:49 CEST 2006


Author: agaran                       Date: Sat Jul 29 10:58:49 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 2, added example.

---- Files affected:
SPECS:
   perl-NetAddr-IP-Count.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/perl-NetAddr-IP-Count.spec
diff -u SPECS/perl-NetAddr-IP-Count.spec:1.3 SPECS/perl-NetAddr-IP-Count.spec:1.4
--- SPECS/perl-NetAddr-IP-Count.spec:1.3	Wed Dec  1 11:46:11 2004
+++ SPECS/perl-NetAddr-IP-Count.spec	Sat Jul 29 12:58:44 2006
@@ -10,7 +10,7 @@
 Summary(pl):	NetAddr::IP::Count - liczenie hostów w nazwanych podsieciach
 Name:		perl-NetAddr-IP-Count
 Version:	2.01
-Release:	1
+Release:	2
 License:	unknown
 Group:		Development/Languages/Perl
 Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
@@ -49,6 +49,9 @@
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
+%{__install} -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+%{__install} sample.pl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
+rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/NetAddr/IP/sample.pl
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -58,6 +61,8 @@
 %doc Changes sample.pl
 %{perl_vendorlib}/NetAddr/IP/*.pm
 %{_mandir}/man3/*
+%dir %{_examplesdir}/%{name}-%{version}
+%{_examplesdir}/%{name}-%{version}/sample.pl
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -65,6 +70,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2006/07/29 10:58:44  agaran
+- rel 2, added example.
+
 Revision 1.3  2004/12/01 10:46:11  radek
 - standarized Source0 URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-NetAddr-IP-Count.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list