SPECS: dump.spec - move sed to patches - adapterized

sparky sparky at pld-linux.org
Wed Aug 2 02:10:19 CEST 2006


Author: sparky                       Date: Wed Aug  2 00:10:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- move sed to patches
- adapterized

---- Files affected:
SPECS:
   dump.spec (1.75 -> 1.76) 

---- Diffs:

================================================================
Index: SPECS/dump.spec
diff -u SPECS/dump.spec:1.75 SPECS/dump.spec:1.76
--- SPECS/dump.spec:1.75	Mon Jul 31 13:43:04 2006
+++ SPECS/dump.spec	Wed Aug  2 02:10:14 2006
@@ -17,6 +17,7 @@
 # Source0-md5:	f89bb42d860c58b86b05d0734c9f3649
 Patch0:		%{name}-autoconf.patch
 Patch1:		%{name}-llh.patch
+Patch2:		%{name}-as_needed-fix.patch
 URL:		http://dump.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	bzip2-devel
@@ -24,7 +25,6 @@
 BuildRequires:	ncurses-devel >= 5.2
 BuildRequires:	openssl-devel >= 0.9.7a
 BuildRequires:	readline-devel >= 4.2
-BuildRequires:	sed >= 4.0
 Requires:	rmt
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -153,7 +153,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
-sed 's/ncurses/tinfo/g' -i configure.in
+%patch2 -p1
 
 %build
 %{__autoconf}
@@ -175,12 +175,12 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_mandir}/man8,%{_prefix}/sbin}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_mandir}/man8,%{_prefix}%{_sbindir}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install rmt/ermt $RPM_BUILD_ROOT%{_prefix}/sbin
+install rmt/ermt $RPM_BUILD_ROOT%{_prefix}%{_sbindir}
 
 > $RPM_BUILD_ROOT%{_sysconfdir}/dumpdates
 
@@ -206,7 +206,7 @@
 
 %files -n ermt
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_prefix}/sbin/ermt
+%attr(755,root,root) %{_prefix}%{_sbindir}/ermt
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -214,6 +214,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.76  2006/08/02 00:10:14  sparky
+- move sed to patches
+- adapterized
+
 Revision 1.75  2006/07/31 11:43:04  sparky
 - link with -ltinfo instead of -lncurses: fixes build with --as-needed
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/dump.spec?r1=1.75&r2=1.76&f=u



More information about the pld-cvs-commit mailing list