- fix deps for perl-based tools

- spec cleanup
This commit is contained in:
Dan Horák 2018-04-17 15:17:26 +02:00
parent dad530c84c
commit 5d11bf77f1

View File

@ -1,29 +1,28 @@
Name: powerpc-utils
Version: 1.3.4
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Utilities for PowerPC platforms
Group: System Environment/Base
License: GPLv2
URL: https://github.com/ibm-power-utilities/powerpc-utils
Source0: https://github.com/ibm-power-utilities/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source0: https://github.com/ibm-power-utilities/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: nvsetenv
ExclusiveArch: ppc %{power64}
BuildRequires: zlib-devel doxygen automake
BuildRequires: automake
BuildRequires: doxygen
BuildRequires: automake
BuildRequires: librtas-devel >= 1.4.0
BuildRequires: libservicelog-devel >= 1.0.1-2
BuildRequires: perl-generators
# should be fixed - libservicelog is not right name
Requires: libservicelog bc which
# rtas_dump dependency
Requires: /usr/bin/which
# rtas_dump explicit dependency
Requires: perl(Data::Dumper)
Requires: %{name}-core = %{version}-%{release}
Obsoletes: powerpc-utils-papr <= 1.1.7-6
Provides: powerpc-utils-papr = 1.1.7-6
Patch1: powerpc-utils-1.2.15-man.patch
Patch2: powerpc-utils-1.2.27-makefile.patch
@ -86,6 +85,7 @@ rm -rf $RPM_BUILD_ROOT/etc/init.d/ibmvscsis.sh $RPM_BUILD_ROOT/usr/sbin/vscsisad
# nvsetenv is just a wrapper to nvram
ln -s nvram.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/nvsetenv.8.gz
%files
%doc README Changelog
@ -146,7 +146,6 @@ ln -s nvram.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/nvsetenv.8.gz
%{_mandir}/man8/update_flash.8*
%files core
%{!?_licensedir:%global license %%doc}
%license COPYING
%{_sbindir}/nvram
@ -158,6 +157,10 @@ ln -s nvram.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/nvsetenv.8.gz
%changelog
* Tue Apr 17 2018 Dan Horák <dan[at]danny.cz> - 1.3.4-4
- fix deps for perl-based tools
- spec cleanup
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild