From eb8045959b339701441387aae88772e3566fecc0 Mon Sep 17 00:00:00 2001 From: Georg Date: Sat, 18 Dec 2021 05:37:54 +0100 Subject: [PATCH] Changelog + RHEL/Fedora compatibility Signed-off-by: Georg --- shmux.changes | 9 +++++++++ shmux.spec | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 shmux.changes diff --git a/shmux.changes b/shmux.changes new file mode 100644 index 0000000..9e7922f --- /dev/null +++ b/shmux.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Sat Dec 18 04:36:14 UTC 2021 - Georg Pfuetzenreuter + +- RHEL and Fedora compatibility + +------------------------------------------------------------------- +Sat Dec 18 03:39:23 UTC 2021 - Georg Pfuetzenreuter + +- Initial package for shmux diff --git a/shmux.spec b/shmux.spec index 82af6f4..cba9c9b 100644 --- a/shmux.spec +++ b/shmux.spec @@ -33,7 +33,11 @@ shmux is program for executing the same command on many hosts in parallel. %build %configure +%if 0%{?rhel_version} +make %{?_smp_mflags} +%else %make_build +%endif %install %make_install @@ -42,7 +46,11 @@ shmux is program for executing the same command on many hosts in parallel. %license LICENSE %doc README.md CHANGES %{_bindir}/%{name} +%if 0%{?fedora} +%{_mandir}/man1/%{name}.* +%else %{_mandir}/man1/%{name}.1%{?ext_man} +%endif %dir %{_datadir}/%{name} %attr (755,-,-) %{_datadir}/%{name}/mcmd.sh