SPECS: memstat.spec - do not strip in make install to have -debuginfo usable

glen glen at pld-linux.org
Mon Oct 20 18:10:15 CEST 2008


Author: glen                         Date: Mon Oct 20 16:10:15 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- do not strip in make install to have -debuginfo usable

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

---- Diffs:

================================================================
Index: SPECS/memstat.spec
diff -u SPECS/memstat.spec:1.1 SPECS/memstat.spec:1.2
--- SPECS/memstat.spec:1.1	Mon Oct 20 13:19:25 2008
+++ SPECS/memstat.spec	Mon Oct 20 18:10:10 2008
@@ -8,6 +8,7 @@
 Group:		Applications
 Source0:	http://ftp.debian.org/debian/pool/main/m/memstat/%{name}_%{version}.tar.gz
 # Source0-md5:	5dd028c194decf7ff83653eea6972cc1
+Patch0:		%{name}-make.patch
 URL:		http://packages.qa.debian.org/m/memstat.html
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -25,7 +26,7 @@
 
 %prep
 %setup -q
-%{__sed} -e 's,-o root -g root,,g' -i Makefile
+%patch0 -p1
 
 %build
 %{__make} \
@@ -34,12 +35,11 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir},%{_mandir}/man1}
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
+cp -a %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -57,6 +57,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2008/10/20 16:10:10  glen
+- do not strip in make install to have -debuginfo usable
+
 Revision 1.1  2008/10/20 11:19:25  adamg
 - new
-
================================================================

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



More information about the pld-cvs-commit mailing list