SPECS: rpm-macros.spec - debuginfo was patched in rpm.spec, need t...

glen glen at pld-linux.org
Wed Jun 22 10:26:27 CEST 2005


Author: glen                         Date: Wed Jun 22 08:26:27 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- debuginfo was patched in rpm.spec, need to do it here too to cut down the bugs

---- Files affected:
SPECS:
   rpm-macros.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/rpm-macros.spec
diff -u SPECS/rpm-macros.spec:1.10 SPECS/rpm-macros.spec:1.11
--- SPECS/rpm-macros.spec:1.10	Tue Jun 21 12:58:58 2005
+++ SPECS/rpm-macros.spec	Wed Jun 22 10:26:21 2005
@@ -10,10 +10,11 @@
 Summary(pl):	Makra RPM dla Linuksa PLD
 Name:		rpm-macros
 Version:	%{rpm_macros_rev}
-Release:	0.4
+Release:	0.5
 License:	GPL
 Group:		Base
 Source0:	rpm.macros
+Patch0:		%{name}-debuginfo.patch
 Requires:	rpm-build
 Provides:	rpmbuild(macros) = %{rpm_macros_rev}
 Conflicts:	rpm < 4.4.1
@@ -33,6 +34,9 @@
 rpm-build (być może ten pakiet zostanie w przyszłości wydzielony).
 
 %prep
+%setup -q -c -T
+install %{SOURCE0} macros.in
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -40,7 +44,7 @@
 sed -e '
 # truncate until %%_topdir macro
 1,/^%%_topdir/d
-' %{SOURCE0} > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.pld
+' macros.in > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.pld
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -55,6 +59,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2005/06/22 08:26:21  glen
+- debuginfo was patched in rpm.spec, need to do it here too to cut down the bugs
+
 Revision 1.10  2005/06/21 10:58:58  glen
 - no %config
 
================================================================

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




More information about the pld-cvs-commit mailing list