Spec cleanup, use %%license, Rebuild for litrtas soname bump
This commit is contained in:
parent
f6b35163d3
commit
9c43ee0437
20
lsvpd.spec
20
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 <pbrobinson@fedoraproject.org> 1.7.6-3
|
||||
- Spec cleanup, use %%license
|
||||
- Rebuild for litrtas soname bump
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user