SPECS: tofu.spec - fixed perl R

uzsolt uzsolt at pld-linux.org
Tue Apr 7 23:09:53 CEST 2009


Author: uzsolt                       Date: Tue Apr  7 21:09:53 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed perl R

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

---- Diffs:

================================================================
Index: SPECS/tofu.spec
diff -u SPECS/tofu.spec:1.1 SPECS/tofu.spec:1.2
--- SPECS/tofu.spec:1.1	Tue Apr  7 21:59:33 2009
+++ SPECS/tofu.spec	Tue Apr  7 23:09:47 2009
@@ -10,7 +10,7 @@
 # Source0-md5:	18dbd1854411f929ea6eb53dceaaab52
 URL:		http://requiescant.tuxfamily.org/tofu/index.html
 BuildRequires:	perl
-Requires:	perl
+BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -23,6 +23,7 @@
 
 %prep
 %setup -q
+%{__sed} -i "1s at .*@#!%{__perl}@" tofu
 
 %build
 
@@ -39,10 +40,10 @@
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/tofu
-%{_mandir}/man1/tofu.1*
 %doc README CHANGELOG PLAY playground.pl
 %doc %{_examplesdir}/%{name}
+%attr(755,root,root) %{_bindir}/tofu
+%{_mandir}/man1/tofu.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -50,6 +51,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/04/07 21:09:47  uzsolt
+- fixed perl R
+
 Revision 1.1  2009/04/07 19:59:33  uzsolt
 - initial
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tofu.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list