From ec5e0130c0e071d4c70866753c4c554cfa244536 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Fri, 30 Nov 2018 16:53:24 +0100 Subject: [PATCH] install missing pseries_platform and update_flash_nv man pages --- powerpc-utils-1.3.5-install-man.patch | 12 ++++++++++++ powerpc-utils.spec | 15 +++++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 powerpc-utils-1.3.5-install-man.patch diff --git a/powerpc-utils-1.3.5-install-man.patch b/powerpc-utils-1.3.5-install-man.patch new file mode 100644 index 0000000..8a5606b --- /dev/null +++ b/powerpc-utils-1.3.5-install-man.patch @@ -0,0 +1,12 @@ +diff -up powerpc-utils-1.3.5/Makefile.am.me powerpc-utils-1.3.5/Makefile.am +--- powerpc-utils-1.3.5/Makefile.am.me 2018-11-30 16:50:51.310977195 +0100 ++++ powerpc-utils-1.3.5/Makefile.am 2018-11-30 16:51:24.176076631 +0100 +@@ -53,6 +53,8 @@ man_MANS = \ + man/ls-veth.8 \ + man/nvsetenv.8 \ + man/ls-vscsi.8 ++ man/pseries_platform.8 \ ++ man/update_flash_nv.8 + + EXTRA_DIST += $(bin_SCRIPTS) $(sbin_SCRIPTS) $(man_MANS) + diff --git a/powerpc-utils.spec b/powerpc-utils.spec index b58e669..9c85432 100644 --- a/powerpc-utils.spec +++ b/powerpc-utils.spec @@ -1,6 +1,6 @@ Name: powerpc-utils Version: 1.3.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Utilities for PowerPC platforms Group: System Environment/Base @@ -9,7 +9,7 @@ URL: https://github.com/ibm-power-utilities/powerpc-utils Source0: https://github.com/ibm-power-utilities/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source1: nvsetenv -ExclusiveArch: ppc %{power64} +#ExclusiveArch: ppc %{power64} BuildRequires: gcc BuildRequires: automake @@ -28,6 +28,7 @@ Patch1: powerpc-utils-1.2.15-man.patch Patch2: powerpc-utils-1.2.27-makefile.patch Patch3: powerpc-utils-1.3.5-pseries_platform-man.patch Patch4: powerpc-utils-1.3.5-update_flash_nv.patch +Patch5: powerpc-utils-1.3.5-install-man.patch %description Utilities for PowerPC platforms. @@ -60,8 +61,9 @@ Utilities needed when installing Fedora on PowerPC systems. %patch1 -p1 -b .man %patch2 -p1 -b .makefile -%patch3 -%patch4 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" @@ -148,6 +150,8 @@ ln -s nvram.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/nvsetenv.8.gz %{_mandir}/man8/sys_ident.8* %{_mandir}/man8/uesensor.8* %{_mandir}/man8/update_flash.8* +%{_mandir}/man8/pseries_platform.8* +%{_mandir}/man8/update_flash_nv.8* %files core %license COPYING @@ -161,6 +165,9 @@ ln -s nvram.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/nvsetenv.8.gz %changelog +* Fri Nov 30 2018 Than Ngo - 1.3.5-4 +- install missing pseries_platform and update_flash_nv man pages + * Thu Nov 29 2018 Than Ngo - 1.3.5-3 - added pseries_platform and update_flash_nv man pages