Split critical components into powerpc-utils-core

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
This commit is contained in:
Stephen Gallagher 2017-10-10 09:43:19 -04:00
parent d35f94c378
commit d2f2d80b48
No known key found for this signature in database
GPG Key ID: 7A25556236BAA3A3

View File

@ -1,6 +1,6 @@
Name: powerpc-utils Name: powerpc-utils
Version: 1.3.3 Version: 1.3.3
Release: 3%{?dist} Release: 4%{?dist}
Summary: Utilities for PowerPC platforms Summary: Utilities for PowerPC platforms
Group: System Environment/Base Group: System Environment/Base
@ -19,6 +19,7 @@ BuildRequires: libservicelog-devel >= 1.0.1-2
Requires: libservicelog bc which Requires: libservicelog bc which
# rtas_dump dependency # rtas_dump dependency
Requires: perl(Data::Dumper) Requires: perl(Data::Dumper)
Requires: %{name}-core = %{version}-%{release}
Obsoletes: powerpc-utils-papr <= 1.1.7-6 Obsoletes: powerpc-utils-papr <= 1.1.7-6
Provides: powerpc-utils-papr = 1.1.7-6 Provides: powerpc-utils-papr = 1.1.7-6
@ -31,6 +32,30 @@ Patch2: powerpc-utils-1.2.27-makefile.patch
%description %description
Utilities for PowerPC platforms. Utilities for PowerPC platforms.
%package core
Summary: Core utilities for PowerPC platforms
Requires: /usr/bin/awk
Requires: /usr/bin/basename
Requires: /usr/bin/bc
Requires: /usr/bin/cat
Requires: /usr/bin/cut
Requires: /usr/bin/echo
Requires: /usr/bin/find
Requires: /usr/bin/grep
Requires: /usr/bin/head
Requires: /usr/bin/ls
Requires: /usr/bin/sed
Requires: /usr/bin/tr
Requires: /usr/bin/udevadm
Requires: /usr/bin/udevinfo
%description core
Utilities needed when installing Fedora on PowerPC systems.
%prep %prep
%setup -q %setup -q
@ -69,8 +94,6 @@ rm -rf $RPM_BUILD_ROOT/etc/init.d/ibmvscsis.sh $RPM_BUILD_ROOT/usr/sbin/vscsisad
ln -s nvram.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/nvsetenv.8.gz ln -s nvram.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/nvsetenv.8.gz
%files %files
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc README Changelog %doc README Changelog
%{_bindir}/amsstat %{_bindir}/amsstat
@ -86,11 +109,8 @@ ln -s nvram.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/nvsetenv.8.gz
%{_sbindir}/ls-vdev %{_sbindir}/ls-vdev
%{_sbindir}/ls-veth %{_sbindir}/ls-veth
%{_sbindir}/ls-vscsi %{_sbindir}/ls-vscsi
%{_sbindir}/nvram
%{_sbindir}/nvsetenv %{_sbindir}/nvsetenv
%{_sbindir}/ofpathname
%{_sbindir}/ppc64_cpu %{_sbindir}/ppc64_cpu
%{_sbindir}/pseries_platform
%{_sbindir}/rtas_dbg %{_sbindir}/rtas_dbg
%{_sbindir}/rtas_dump %{_sbindir}/rtas_dump
%{_sbindir}/rtas_event_decode %{_sbindir}/rtas_event_decode
@ -120,9 +140,7 @@ ln -s nvram.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/nvsetenv.8.gz
%{_mandir}/man8/ls-vdev.8* %{_mandir}/man8/ls-vdev.8*
%{_mandir}/man8/ls-veth.8* %{_mandir}/man8/ls-veth.8*
%{_mandir}/man8/ls-vscsi.8* %{_mandir}/man8/ls-vscsi.8*
%{_mandir}/man8/nvram.8*
%{_mandir}/man8/nvsetenv.8* %{_mandir}/man8/nvsetenv.8*
%{_mandir}/man8/ofpathname.8*
%{_mandir}/man8/ppc64_cpu.8* %{_mandir}/man8/ppc64_cpu.8*
%{_mandir}/man8/rtas_dbg.8* %{_mandir}/man8/rtas_dbg.8*
%{_mandir}/man8/rtas_dump.8* %{_mandir}/man8/rtas_dump.8*
@ -134,7 +152,22 @@ ln -s nvram.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/nvsetenv.8.gz
%{_mandir}/man8/uesensor.8* %{_mandir}/man8/uesensor.8*
%{_mandir}/man8/update_flash.8* %{_mandir}/man8/update_flash.8*
%files core
%{!?_licensedir:%global license %%doc}
%license COPYING
%{_sbindir}/nvram
%{_sbindir}/ofpathname
%{_sbindir}/pseries_platform
%{_mandir}/man8/nvram.8*
%{_mandir}/man8/ofpathname.8*
%changelog %changelog
* Tue Oct 10 2017 Stephen Gallagher <sgallagh@redhat.com> - 1.3.3-4
- Split critical components into powerpc-utils-core
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-3 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild