SPECS: rpm-macros.spec - truncate to remove unprocessed @@ vars
glen
glen at pld-linux.org
Sun Jun 19 19:38:48 CEST 2005
Author: glen Date: Sun Jun 19 17:38:48 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- truncate to remove unprocessed @@ vars
---- Files affected:
SPECS:
rpm-macros.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/rpm-macros.spec
diff -u SPECS/rpm-macros.spec:1.1 SPECS/rpm-macros.spec:1.2
--- SPECS/rpm-macros.spec:1.1 Sun Jun 19 19:36:33 2005
+++ SPECS/rpm-macros.spec Sun Jun 19 19:38:42 2005
@@ -1,14 +1,9 @@
# $Revision$, $Date$
-# TODO
-# - contains unparsed macros:
-# %__id @__ID@
-# %__chown_Rhf @__CHOWN_RHF@
-# %__chgrp_Rhf @__CHGRP_RHF@
%define rpm_macros_rev 1.223
Summary: PLD Linux RPM Macros
Name: rpm-macros
Version: 0.1
-Release: 0.1
+Release: 0.2
License: GPL
Group: Base
Source0: rpm.macros
@@ -27,7 +22,10 @@
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
-install %{SOURCE0} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/rpm.macros
+sed -e '
+# truncate until %%_topdir macro
+1,/^%%_topdir/d
+' %{SOURCE0} > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/rpm.macros
%clean
rm -rf $RPM_BUILD_ROOT
@@ -42,6 +40,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2005/06/19 17:38:42 glen
+- truncate to remove unprocessed @@ vars
+
Revision 1.1 2005/06/19 17:36:33 glen
- initial idea
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/rpm-macros.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list