SPECS (AC-branch): rpm-getdeps.spec - LDFLAGS before libs, libs af...

qboosh qboosh at pld-linux.org
Wed Jan 23 19:33:28 CET 2008


Author: qboosh                       Date: Wed Jan 23 18:33:28 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- LDFLAGS before libs, libs after objects; fixes as-needed

---- Files affected:
SPECS:
   rpm-getdeps.spec (1.4.2.1 -> 1.4.2.2) 

---- Diffs:

================================================================
Index: SPECS/rpm-getdeps.spec
diff -u SPECS/rpm-getdeps.spec:1.4.2.1 SPECS/rpm-getdeps.spec:1.4.2.2
--- SPECS/rpm-getdeps.spec:1.4.2.1	Wed Jan 23 17:30:47 2008
+++ SPECS/rpm-getdeps.spec	Wed Jan 23 19:33:23 2008
@@ -22,7 +22,7 @@
 
 cat <<'EOF' > Makefile
 rpm-getdeps: getdeps.o
-	%{__cc} -lrpm -lrpmbuild $< -o $@ %{rpmldflags}
+	%{__cc} %{rpmldflags} $< -o $@ -lrpm -lrpmbuild
 
 getdeps.o: getdeps.c
 	%{__cc} %{rpmcflags} -Wall -W -I/usr/include/rpm -Wall -c $< -o $@
@@ -41,7 +41,7 @@
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/rpm-getdeps
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -49,6 +49,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4.2.2  2008-01-23 18:33:23  qboosh
+- LDFLAGS before libs, libs after objects; fixes as-needed
+
 Revision 1.4.2.1  2008-01-23 16:30:47  glen
 - merge changes from HEAD before removal
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rpm-getdeps.spec?r1=1.4.2.1&r2=1.4.2.2&f=u



More information about the pld-cvs-commit mailing list