From 8613c14e96d4f955db95429321482c1a9bc48ee7 Mon Sep 17 00:00:00 2001 From: Liming Sun Date: Thu, 9 Apr 2020 08:17:31 -0400 Subject: [PATCH] Some cleanup in the .spec file Signed-off-by: Liming Sun --- configure.ac | 2 +- rhel/rshim.spec.in | 9 +++++++-- rshim.spec.in | 9 +++++++-- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index b9654d8..d136842 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Copyright (C) 2019 Mellanox Technologies. All Rights Reserved. # -AC_INIT([rshim], [2.0.1]) +AC_INIT([rshim], [2.0.2]) AC_CONFIG_AUX_DIR(config) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_LANG(C) diff --git a/rhel/rshim.spec.in b/rhel/rshim.spec.in index b97a79b..4444998 100644 --- a/rhel/rshim.spec.in +++ b/rhel/rshim.spec.in @@ -28,11 +28,10 @@ via the virtual console or network interface. %build ./bootstrap.sh %configure -make +%make_build %install %make_install -%__spec_install_post %post %systemd_post rshim.service @@ -51,6 +50,12 @@ make %{_mandir}/man8/rshim.8.gz %changelog +* Thu Apr 09 2020 Liming Sun - 2.0.2-1 +- Remove unnecessary dependency in .spec and use make_build +- Add package build for debian/ubuntu +- Fix some format in the man page +- Add check for syslog headers + * Mon Mar 23 2020 Liming Sun - 2.0.1-1 - Rename bfrshim to rshim - Remove rshim.spec since it's auto-generated from rshim.spec.in diff --git a/rshim.spec.in b/rshim.spec.in index e37abb2..78139d1 100644 --- a/rshim.spec.in +++ b/rshim.spec.in @@ -31,7 +31,7 @@ tar -axf %{SOURCE0} -C %{name}-%{version} --strip-components 1 %build ./bootstrap.sh %configure -make +%make_build %install %undefine _missing_build_ids_terminate_build @@ -42,7 +42,6 @@ make %endif %{__install} -d %{buildroot}%{_mandir}/man8 %{__install} -m 0644 man/rshim.8 %{buildroot}%{_mandir}/man8 -%__spec_install_post %post %if "%{with_systemd}" == "1" @@ -69,6 +68,12 @@ make %{_mandir}/man8/rshim.8.gz %changelog +* Thu Apr 09 2020 Liming Sun - 2.0.2-1 +- Remove unnecessary dependency in .spec and use make_build +- Add package build for debian/ubuntu +- Fix some format in the man page +- Add check for syslog headers + * Mon Mar 23 2020 Liming Sun - 2.0.1-1 - Rename bfrshim to rshim - Remove rshim.spec since it's auto-generated from rshim.spec.in