Rebuild for librtas soname bump, Use %%license

This commit is contained in:
Peter Robinson 2016-04-09 14:41:01 +01:00
parent 8d23e8081d
commit e11da0d579

View File

@ -1,11 +1,11 @@
Name: ppc64-diag
Version: 2.7.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: PowerLinux Platform Diagnostics
URL: http://sourceforge.net/projects/linux-diag/files/ppc64-diag/
Group: System Environment/Base
License: GPLv2
ExclusiveArch: ppc ppc64 ppc64le
ExclusiveArch: ppc %{power64}
BuildRequires: libservicelog-devel, flex, perl, byacc
BuildRequires: libvpd-devel, systemd-units
BuildRequires: ncurses-devel
@ -60,12 +60,10 @@ mkdir $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/ses_pages
mkdir -p $RPM_BUILD_ROOT/%{_var}/log/dump
ln -sfv %{_sbindir}/usysattn $RPM_BUILD_ROOT/%{_sbindir}/usysfault
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-,root,root,-)
%doc COPYING
%{!?_licensedir:%global license %%doc}
%license COPYING
%dir %{_sysconfdir}/%{name}
%dir %{_sysconfdir}/%{name}/ses_pages
%dir %{_var}/log/dump
@ -129,7 +127,11 @@ fi
%changelog
* Mon Mar 21 2016 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 2.7.0
* Sat Apr 9 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.7.0-2
- Rebuild for librtas soname bump
- Use %%license
* Mon Mar 21 2016 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 2.7.0-1
- Update to latest upstream 2.7.0
- Change license to GPLv2