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+
|
License: GPLv2+
|
||||||
URL: http://linux-diag.sf.net/Lsvpd.html
|
URL: http://linux-diag.sf.net/Lsvpd.html
|
||||||
Source0: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
|
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: libvpd-devel >= 2.2.1
|
||||||
BuildRequires: sg3_utils-devel zlib-devel automake libtool
|
BuildRequires: sg3_utils-devel zlib-devel automake libtool
|
||||||
BuildRequires: librtas-devel
|
BuildRequires: librtas-devel
|
||||||
|
|
||||||
Requires(post): %{_sbindir}/vpdupdate
|
Requires(post): %{_sbindir}/vpdupdate
|
||||||
|
|
||||||
ExclusiveArch: ppc ppc64 ppc64le
|
ExclusiveArch: ppc %{power64}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The lsvpd package contains all of the lsvpd, lscfg and lsmcode
|
The lsvpd package contains all of the lsvpd, lscfg and lsmcode
|
||||||
@ -36,14 +36,11 @@ on POWER PC based systems.
|
|||||||
%build
|
%build
|
||||||
./bootstrap.sh
|
./bootstrap.sh
|
||||||
%configure
|
%configure
|
||||||
%{__make} %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{_sbindir}/vpdupdate &
|
%{_sbindir}/vpdupdate &
|
||||||
@ -51,8 +48,9 @@ on POWER PC based systems.
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%{!?_licensedir:%global license %%doc}
|
||||||
%doc COPYING README
|
%license COPYING
|
||||||
|
%doc README
|
||||||
%{_sbindir}/lsvpd
|
%{_sbindir}/lsvpd
|
||||||
%{_sbindir}/lscfg
|
%{_sbindir}/lscfg
|
||||||
%{_sbindir}/lsmcode
|
%{_sbindir}/lsmcode
|
||||||
@ -68,6 +66,10 @@ exit 0
|
|||||||
%dir %{_sysconfdir}/lsvpd
|
%dir %{_sysconfdir}/lsvpd
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.6-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user