SPECS: rpm-getdeps.spec - create makefile and use make
glen
glen at pld-linux.org
Mon Jan 14 22:25:36 CET 2008
Author: glen Date: Mon Jan 14 21:25:36 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- create makefile and use make
---- Files affected:
SPECS:
rpm-getdeps.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/rpm-getdeps.spec
diff -u SPECS/rpm-getdeps.spec:1.6 SPECS/rpm-getdeps.spec:1.7
--- SPECS/rpm-getdeps.spec:1.6 Mon Feb 12 23:09:13 2007
+++ SPECS/rpm-getdeps.spec Mon Jan 14 22:25:31 2008
@@ -20,14 +20,18 @@
%prep
%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}
+EOF
%build
-%{__cc} %{rpmcflags} %{rpmldflags} -I/usr/include/rpm -Wall -lrpm -lrpmbuild %{SOURCE0} -o %{name}
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_bindir}
-
install %{name} $RPM_BUILD_ROOT%{_bindir}
%clean
@@ -43,6 +47,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2008-01-14 21:25:31 glen
+- create makefile and use make
+
Revision 1.6 2007-02-12 22:09:13 glen
- tabs in preamble
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rpm-getdeps.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list