SPECS: rpm-getdeps.spec - compile in stages, as-needed fix probably
glen
glen at pld-linux.org
Mon Jan 14 22:48:55 CET 2008
Author: glen Date: Mon Jan 14 21:48:55 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- compile in stages, as-needed fix probably
---- Files affected:
SPECS:
rpm-getdeps.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/rpm-getdeps.spec
diff -u SPECS/rpm-getdeps.spec:1.7 SPECS/rpm-getdeps.spec:1.8
--- SPECS/rpm-getdeps.spec:1.7 Mon Jan 14 22:25:31 2008
+++ SPECS/rpm-getdeps.spec Mon Jan 14 22:48:50 2008
@@ -22,8 +22,11 @@
%setup -q -c -T
cp %{SOURCE0} getdeps.c
cat <<'EOF' > Makefile
-getdeps: getdeps.c
- %{__cc} %{rpmcflags} %{rpmldflags} -I/usr/include/rpm -Wall -lrpm -lrpmbuild getdeps.c -o %{name}
+rpm-getdeps: getdeps.o
+ %{__cc} -lrpm -lrpmbuild $< -o $@ %{rpmldflags}
+
+getdeps.o: getdeps.c
+ %{__cc} %{rpmcflags} -Wall -W -I/usr/include/rpm -Wall -c $< -o $@
EOF
%build
@@ -47,6 +50,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2008-01-14 21:48:50 glen
+- compile in stages, as-needed fix probably
+
Revision 1.7 2008-01-14 21:25:31 glen
- create makefile and use make
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rpm-getdeps.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list