The package rpms/netconsd.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/netconsd.git/commit/?id=392fbb500730....
Change: +%ifnarch s390x
Thanks.
Full change: ============
commit 392fbb500730233825b38300f2ec0d51b9196669 Author: Davide Cavalca dcavalca@fedoraproject.org Date: Sun Oct 24 07:03:40 2021 -0700
Initial import; Fixes: RHBZ#2016716
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..872d211 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/netconsd-d558dc611983792288ab767259d2c258aaccfc05.tar.gz diff --git a/netconsd.spec b/netconsd.spec new file mode 100644 index 0000000..220c829 --- /dev/null +++ b/netconsd.spec @@ -0,0 +1,60 @@ +%global forgeurl https://github.com/facebook/netconsd +%global commit d558dc611983792288ab767259d2c258aaccfc05 +%forgemeta + +Name: netconsd +Version: 0 +Release: %autorelease +Summary: The Netconsole Daemon + +License: BSD +URL: %forgeurl +Source: %forgesource + +BuildRequires: gcc-c++ +BuildRequires: make +BuildRequires: libstdc++-static + +%description +This is a daemon for receiving and processing logs from the Linux Kernel, as +emitted over a network by the kernel's netconsole module. It supports both the +old "legacy" text-only format, and the new extended format added in v4.4. + +The core of the daemon does nothing but process messages and drop them: in order +to make the daemon useful, the user must supply one or more "output modules". +These modules are shared object files which expose a small ABI that is called by +netconsd with the content and metadata for netconsole messages it receives. + +%prep +%forgesetup + +%build +%set_build_flags +%make_build +# netconsblaster fails to build on s390x +# https://github.com/facebook/netconsd/issues/3 +%ifnarch s390x +%make_build utils +%endif + +%install +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_libdir}/netconsd + +install -m0755 netconsd %{buildroot}%{_bindir} +%ifnarch s390x +install -m0755 util/netconsblaster %{buildroot}%{_bindir} +%endif +install -m0755 modules/*.so %{buildroot}%{_libdir}/netconsd + +%files +%license LICENSE +%doc README.md +%{_bindir}/netconsd +%ifnarch s390x +%{_bindir}/netconsblaster +%endif +%{_libdir}/netconsd + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..4827c80 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (netconsd-d558dc611983792288ab767259d2c258aaccfc05.tar.gz) = 2efdccbcf5b949d2d84159a7058b342babbd738140c200a42310b9351906a016abdb43c8a6dab8982165a5e32954fe8bf580daa9cd781536e320680c28a76441
arch-excludes@lists.fedoraproject.org