SPECS: perl-Data-HexDump.spec - move unpacked perl script to examples

agaran agaran at pld-linux.org
Sat Apr 8 15:35:31 CEST 2006


Author: agaran                       Date: Sat Apr  8 13:35:31 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- move unpacked perl script to examples

---- Files affected:
SPECS:
   perl-Data-HexDump.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/perl-Data-HexDump.spec
diff -u SPECS/perl-Data-HexDump.spec:1.10 SPECS/perl-Data-HexDump.spec:1.11
--- SPECS/perl-Data-HexDump.spec:1.10	Wed Nov  3 23:30:17 2004
+++ SPECS/perl-Data-HexDump.spec	Sat Apr  8 15:35:25 2006
@@ -52,6 +52,8 @@
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+mv $RPM_BUILD_ROOT%{_bindir}/hexdump $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -61,6 +63,8 @@
 %doc README
 %{perl_vendorlib}/Data/*.pm
 %{_mandir}/man3/*
+%attr(755,root,root) %dir %{_examplesdir}/%{name}-%{version}
+%attr(644,root,root) %{_examplesdir}/%{name}-%{version}/hexdump
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -68,6 +72,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2006/04/08 13:35:25  agaran
+- move unpacked perl script to examples
+
 Revision 1.10  2004/11/03 22:30:17  paladine
 - formatting
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-Data-HexDump.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list