From a0f571c2da9b04e1d1aadcb2b2c30e6f6f6077b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20G=C3=B6rig?= Date: Thu, 16 Sep 2010 11:04:23 +0200 Subject: [PATCH] update to new upstream version and spec cleanups --- .gitignore | 1 + psmisc-22.6-types.patch | 13 ------------- psmisc.spec | 23 +++++++---------------- sources | 2 +- 4 files changed, 9 insertions(+), 30 deletions(-) delete mode 100644 psmisc-22.6-types.patch diff --git a/.gitignore b/.gitignore index de7a45b..36dfe61 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ psmisc-22.10.tar.gz +/psmisc-22.13.tar.gz diff --git a/psmisc-22.6-types.patch b/psmisc-22.6-types.patch deleted file mode 100644 index 01b23b6..0000000 --- a/psmisc-22.6-types.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -up psmisc-22.6/configure.ac.types psmisc-22.6/configure.ac ---- psmisc-22.6/configure.ac.types 2008-04-07 12:21:50.000000000 +0200 -+++ psmisc-22.6/configure.ac 2008-04-07 12:22:14.000000000 +0200 -@@ -67,7 +67,8 @@ AC_CHECK_MEMBERS([struct user_regs_struc - struct user_regs_struct.rax, - struct user_regs_struct.rdi, - struct user_regs_struct.rsi, -- struct user_regs_struct.rdx], [],[], [#include ]) -+ struct user_regs_struct.rdx], [],[], [#include -+ #include ]) - AC_CHECK_MEMBERS([struct pt_regs.orig_gpr3, - struct pt_regs.gpr], [],[], [#include ]) - AM_CONDITIONAL(WANT_PEEKFD_I386, diff --git a/psmisc.spec b/psmisc.spec index cc9871d..0c44851 100644 --- a/psmisc.spec +++ b/psmisc.spec @@ -1,6 +1,6 @@ Summary: Utilities for managing processes on your system Name: psmisc -Version: 22.10 +Version: 22.13 Release: 1%{?dist} License: GPLv2+ Group: Applications/System @@ -8,9 +8,6 @@ Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz URL: http://sourceforge.net/projects/psmisc Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -#fix configure.ac to include all the required headers for peekfd -Patch0: psmisc-22.6-types.patch - BuildRequires: libselinux-devel BuildRequires: gettext BuildRequires: ncurses-devel @@ -26,26 +23,16 @@ of processes that are using specified files or filesystems. %prep %setup -q -%patch0 -p1 -b .types %build -export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" -autoreconf %configure --prefix=%{_prefix} --enable-selinux make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT -# The rpm makeinstall macro breaks the build, so we do it the old way make install DESTDIR="$RPM_BUILD_ROOT" mkdir -p $RPM_BUILD_ROOT/sbin mv $RPM_BUILD_ROOT%{_bindir}/fuser $RPM_BUILD_ROOT/sbin -rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/pidof.1* -rm -f $RPM_BUILD_ROOT/%{_bindir}/oldfuser -%ifnarch %ix86 x86_64 ppc ppc64 -rm -f $RPM_BUILD_ROOT/%{_mandir}/man1/peekfd.1* -%endif %find_lang %name @@ -63,13 +50,17 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man1/killall.1* %{_mandir}/man1/pstree.1* %{_mandir}/man1/prtstat.1* -%ifarch %ix86 x86_64 ppc ppc64 %{_bindir}/peekfd %{_mandir}/man1/peekfd.1* -%endif %doc AUTHORS ChangeLog COPYING README %changelog +* Thu Sep 16 2010 Jan Görig 22.13-1 +- updated to new upstream version +- removed unused patch +- peekfd should work on all architectures now +- spec cleanups + * Mon May 25 2010 Jan Görig 22.10-1 - update to new upstream version - remove unused patches diff --git a/sources b/sources index 0089508..d48bc14 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e881383e7f399121cd0ce744f97d91a5 psmisc-22.10.tar.gz +e2c339e6b65b730042084023784a729e psmisc-22.13.tar.gz