The package rpms/psmisc.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/psmisc.git/commit/?id=5a0e0da13f1....
Change:
+%ifarch %{ix86} x86_64 ppc %{power64} %{arm} aarch64 mipsel
Thanks.
Full change:
============
commit 5a0e0da13f13f2178460c6928c58e89e0ab91dc8
Author: Jan Rybar <jrybar(a)redhat.com>
Date: Thu Nov 28 17:42:10 2019 +0100
Rebase to v23.3
Related: bz#1768993
diff --git a/psmisc-23.1-no-nullptr-sanity-stalls-nfs.patch
b/psmisc-23.1-no-nullptr-sanity-stalls-nfs.patch
deleted file mode 100644
index b860425..0000000
--- a/psmisc-23.1-no-nullptr-sanity-stalls-nfs.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -up ./src/fuser.c.ori ./src/fuser.c
---- ./src/fuser.c.ori 2017-03-25 00:17:53.169339912 +0100
-+++ ./src/fuser.c 2019-02-19 16:42:04.781433478 +0100
-@@ -187,6 +187,9 @@ scan_procs(struct names *names_head, str
- pid_t pid, my_pid;
- uid_t uid;
-
-+ if ( (ino_head == NULL) && (dev_head == NULL) )
-+ return;
-+
- if ((topproc_dir = opendir("/proc")) == NULL) {
- fprintf(stderr, _("Cannot open /proc directory: %s\n"),
- strerror(errno));
-@@ -1860,6 +1863,10 @@ scan_knfsd(struct names *names_head, str
- char *find_space;
- struct stat st;
-
-+ if ( (ino_head == NULL) && (dev_head == NULL) )
-+ return;
-+
-+
- if ((fp = fopen(KNFSD_EXPORTS, "r")) == NULL) {
- #ifdef DEBUG
- printf("Cannot open %s\n", KNFSD_EXPORTS);
-@@ -1906,6 +1913,10 @@ scan_mounts(struct names *names_head, st
- char *find_space;
- struct stat st;
-
-+ if ( (ino_head == NULL) && (dev_head == NULL) )
-+ return;
-+
-+
- if ((fp = fopen(PROC_MOUNTS, "r")) == NULL) {
- fprintf(stderr, "Cannot open %s\n", PROC_MOUNTS);
- return;
-@@ -1949,6 +1960,9 @@ scan_swaps(struct names *names_head, str
- char *find_space;
- struct stat st;
-
-+ if ( (ino_head == NULL) && (dev_head == NULL) )
-+ return;
-+
- if ((fp = fopen(PROC_SWAPS, "r")) == NULL) {
- /*fprintf(stderr, "Cannot open %s\n", PROC_SWAPS); */
- return;
diff --git a/psmisc.spec b/psmisc.spec
index cc3455d..9b19a8a 100644
--- a/psmisc.spec
+++ b/psmisc.spec
@@ -1,7 +1,7 @@
Summary: Utilities for managing processes on your system
Name: psmisc
-Version: 23.2
+Version: 23.3
Release: 1%{?dist}
License: GPLv2+
URL:
https://gitlab.com/psmisc/psmisc
@@ -16,6 +16,7 @@ BuildRequires: gettext
BuildRequires: ncurses-devel
BuildRequires: autoconf automake
BuildRequires: gcc
+BuildRequires: git
%description
@@ -28,7 +29,7 @@ of processes that are using specified files or filesystems. The pslog
command shows the path of log files owned by a given process.
%prep
-%setup -q
+%autosetup -S git
%build
%configure --prefix=%{_prefix} --enable-selinux
@@ -56,7 +57,7 @@ mv $RPM_BUILD_ROOT%{_bindir}/fuser $RPM_BUILD_ROOT%{_sbindir}
%{_mandir}/man1/pstree.1*
%{_mandir}/man1/prtstat.1*
%{_mandir}/man1/pslog.1*
-%ifarch %{ix86} x86_64 ppc %{power64} %{arm} mipsel
+%ifarch %{ix86} x86_64 ppc %{power64} %{arm} aarch64 mipsel
%{_bindir}/peekfd
%{_mandir}/man1/peekfd.1*
%else
@@ -67,6 +68,10 @@ mv $RPM_BUILD_ROOT%{_bindir}/fuser $RPM_BUILD_ROOT%{_sbindir}
%changelog
+* Thu Nov 28 2019 Jan Rybar <jrybar(a)redhat.com> - 23.3-1
+- Rebase to v23.3
+- Related: bz#1768993
+
* Thu Nov 07 2019 Jan Rybar <jrybar(a)redhat.com> - 23.2-1
- Rebase to v23.2
- Related: bz#1768993