rpms/readahead/devel readahead-gen, 1.1, 1.2 readahead.spec, 1.22, 1.23

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Jan 13 09:24:45 UTC 2006


Author: kzak

Update of /cvs/dist/rpms/readahead/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv21094

Modified Files:
	readahead-gen readahead.spec 
Log Message:
fix for ppc...


Index: readahead-gen
===================================================================
RCS file: /cvs/dist/rpms/readahead/devel/readahead-gen,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- readahead-gen	13 Jan 2006 08:37:50 -0000	1.1
+++ readahead-gen	13 Jan 2006 09:24:42 -0000	1.2
@@ -3,11 +3,10 @@
 #
 # This script is helper for readahead.files mainatainers.
 #
-# Basic featires:
+# Basic features:
 #   - allows to use RPM macros in paths (e.g. /usr/%{_lib})
 #   - checks for missing files and suggest possible solution
 #
-#
 # Copyright, 2006  Red Hat, Inc.
 # Karel Zak <kzak at redhat.com>
 #


Index: readahead.spec
===================================================================
RCS file: /cvs/dist/rpms/readahead/devel/readahead.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- readahead.spec	13 Jan 2006 08:50:50 -0000	1.22
+++ readahead.spec	13 Jan 2006 09:24:42 -0000	1.23
@@ -12,12 +12,10 @@
 Source4:	readahead.early.files.in
 Source5:	COPYING
 Source6:	README
-Source7:	readahead-gen
 Buildroot:      %{_tmppath}/%{name}-%{version}-root
 Prereq:		/sbin/chkconfig
 Requires:	procps /bin/awk
 BuildPreReq:	e2fsprogs-devel
-BuildRequires:	python
 BuildRequires:	pkgconfig
 Obsoletes:	kernel-utils
 
@@ -38,7 +36,7 @@
 
 for file in %{SOURCE2} %{SOURCE4} ; do
   f=${file##*/}
-  %{SOURCE7} --template=$file --output=${f%%.in}
+  sed 's|%%{_lib}|%{_lib}|g; s|%%{_arch}|%{_arch}|g' $file > ${f%%.in}
 done
 
 %install




More information about the fedora-cvs-commits mailing list