From 9c43ee04370e49cf10bd11513a0266b4d095a2c3 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Sat, 9 Apr 2016 14:27:20 +0100 Subject: [PATCH] Spec cleanup, use %%license, Rebuild for litrtas soname bump --- lsvpd.spec | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/lsvpd.spec b/lsvpd.spec index 70a2b4f..adb2392 100644 --- a/lsvpd.spec +++ b/lsvpd.spec @@ -10,14 +10,14 @@ Group: Applications/System License: GPLv2+ URL: http://linux-diag.sf.net/Lsvpd.html Source0: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + BuildRequires: libvpd-devel >= 2.2.1 BuildRequires: sg3_utils-devel zlib-devel automake libtool BuildRequires: librtas-devel Requires(post): %{_sbindir}/vpdupdate -ExclusiveArch: ppc ppc64 ppc64le +ExclusiveArch: ppc %{power64} %description The lsvpd package contains all of the lsvpd, lscfg and lsmcode @@ -36,14 +36,11 @@ on POWER PC based systems. %build ./bootstrap.sh %configure -%{__make} %{?_smp_mflags} +make %{?_smp_mflags} -%clean -%{__rm} -rf $RPM_BUILD_ROOT %install -%{__rm} -rf $RPM_BUILD_ROOT -%{__make} install DESTDIR=$RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT %post %{_sbindir}/vpdupdate & @@ -51,8 +48,9 @@ on POWER PC based systems. exit 0 %files -%defattr(-,root,root,-) -%doc COPYING README +%{!?_licensedir:%global license %%doc} +%license COPYING +%doc README %{_sbindir}/lsvpd %{_sbindir}/lscfg %{_sbindir}/lsmcode @@ -68,6 +66,10 @@ exit 0 %dir %{_sysconfdir}/lsvpd %changelog +* Sat Apr 9 2016 Peter Robinson 1.7.6-3 +- Spec cleanup, use %%license +- Rebuild for litrtas soname bump + * Thu Feb 04 2016 Fedora Release Engineering - 1.7.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild