SPECS (AC-branch): test.spec - test gcc suffix
glen
glen at pld-linux.org
Sat Mar 17 00:29:08 CET 2007
Author: glen Date: Fri Mar 16 23:29:07 2007 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- test gcc suffix
---- Files affected:
SPECS:
test.spec (1.16.4.60 -> 1.16.4.61)
---- Diffs:
================================================================
Index: SPECS/test.spec
diff -u SPECS/test.spec:1.16.4.60 SPECS/test.spec:1.16.4.61
--- SPECS/test.spec:1.16.4.60 Wed Mar 7 18:11:36 2007
+++ SPECS/test.spec Sat Mar 17 00:29:00 2007
@@ -9,11 +9,20 @@
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+# add suffix, but allow ccache, etc in ~/.rpmmacros
+%{expand:%%define __cc %(set -x;echo %__cc | sed -e 's,-gcc,-gcc4,')}
+%{expand:%%define __cxx %(set -x;echo %__cxx | sed -e 's,-g++,-g++4,')}
+%{expand:%%define __cpp %(set -x; echo %__cpp | sed -e 's,-gcc,-gcc4,')}
+
%description
this package should be never installed.
%prep
%setup -qcT
+: CC: %{__cc}
+: CXX: %{__cxx}
+: CPP: %{__cpp}
+exit 1
%clean
rm -rf $RPM_BUILD_ROOT
@@ -21,7 +30,6 @@
%install
%pre
-%groupadd test
%files
%defattr(644,root,root,755)
@@ -32,6 +40,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.16.4.61 2007/03/16 23:29:00 glen
+- test gcc suffix
+
Revision 1.16.4.60 2007/03/07 17:11:36 glen
- %{error} test
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/test.spec?r1=1.16.4.60&r2=1.16.4.61&f=u
More information about the pld-cvs-commit
mailing list