works now: rpmbuild -ta procps-3.*.tar.gz

This commit is contained in:
albert 2002-12-15 07:03:16 +00:00
parent 71d958095f
commit b8c8125f63
2 changed files with 5 additions and 4 deletions

1
NEWS
View File

@ -4,6 +4,7 @@ top: was trashing every "3" in a command name
top: when killing a process, the PID was cut at a "3"
top: more reliable %CPU
update copyright dates (GPL & LGPL require this)
RPM generation works now
procps-3.1.2 --> procps-3.1.3

View File

@ -22,11 +22,11 @@ tload, top, uptime, vmstat, w, and watch. You need some of these.
%setup
%build
make CC="gcc $RPM_OPT_FLAGS" LDFLAGS=-s
make SKIP="/bin/kill /usr/share/man/man1/kill.1" CC="gcc $RPM_OPT_FLAGS" LDFLAGS=-s
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install=install install
make SKIP="/bin/kill /usr/share/man/man1/kill.1" DESTDIR=$RPM_BUILD_ROOT install="install -D" install
%clean
rm -rf $RPM_BUILD_ROOT
@ -43,5 +43,5 @@ rm -rf $RPM_BUILD_ROOT
%attr(555,root,root) /sbin/*
%attr(555,root,root) /usr/bin/*
%attr(0644,root,root) /usr/man/man1/*
%attr(0644,root,root) /usr/man/man8/*
%attr(0644,root,root) /usr/share/man/man1/*
%attr(0644,root,root) /usr/share/man/man8/*