From b61ac61bd0735a7de0dda283451256a6bbcc12a6 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 10:48:56 +0000 Subject: [PATCH] =?UTF-8?q?auto-import=20changelog=20data=20from=20psmisc-?= =?UTF-8?q?20.2-3.73.src.rpm=20Thu=20May=2016=202002=20Bernhard=20Rosenkra?= =?UTF-8?q?enzer=20=2020.2-4=20-=20Autogenerate=20the=20s?= =?UTF-8?q?ignal=20list=20from=20/usr/include/bits/signum.h=20to=20make=20?= =?UTF-8?q?sure=20=20=20=20=20it=20works=20on=20all=20arches=20and=20doesn?= =?UTF-8?q?'t=20break=20again.=20Wed=20May=2008=202002=20Trond=20Eivind=20?= =?UTF-8?q?Glomsr=F8d=20=2020.2-3=20-=20Fix=20the=20signal?= =?UTF-8?q?=20list=20-=20Don't=20strip=20when=20linking=20-=20Use=20a=20%{?= =?UTF-8?q?=5Ftmppath}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- psmisc.spec | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/psmisc.spec b/psmisc.spec index 7ef93fd..2eb7d50 100644 --- a/psmisc.spec +++ b/psmisc.spec @@ -1,13 +1,14 @@ Summary: Utilities for managing processes on your system. Name: psmisc Version: 20.2 -Release: 2 +Release: 3.73 License: BSD/GPL Group: Applications/System Source: ftp://prdownloads.sourceforge.net/psmisc/psmisc-%{version}.tar.bz2 -Patch: psmisc-20.2-56186.patch +Source1: gensig.sh +Patch0: psmisc-20.2-56186.patch URL: http://psmisc.sourceforge.net/ -Buildroot: /var/tmp/psmisc-root +Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: libtermcap-devel %description @@ -20,12 +21,14 @@ of processes that are using specified files or filesystems. %prep %setup -q -%patch -p1 -b .56186 +%patch0 -p1 -b .56186 +sh %{SOURCE1} >src/signames.h %build + perl -pi -e "s,^CFLAGS =,CFLAGS = $RPM_OPT_FLAGS -D_GNU_SOURCE,g" */Makefile.* %configure --prefix=/usr -make 'LDFLAGS=-s' +make %install rm -rf $RPM_BUILD_ROOT @@ -47,6 +50,15 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/pstree.1* %changelog +* Thu May 16 2002 Bernhard Rosenkraenzer 20.2-4 +- Autogenerate the signal list from %{_includedir}/bits/signum.h + to make sure it works on all arches and doesn't break again. + +* Wed May 8 2002 Trond Eivind Glomsrød 20.2-3 +- Fix the signal list +- Don't strip when linking +- Use a %%{_tmppath} + * Wed Jan 09 2002 Tim Powers - automated rebuild