Spec file cleanups, Use %%license
This commit is contained in:
parent
cf1428aad7
commit
538600d8a8
@ -1,6 +1,6 @@
|
||||
Name: servicelog
|
||||
Version: 1.1.14
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Servicelog Tools
|
||||
|
||||
Group: System Environment/Base
|
||||
@ -8,13 +8,11 @@ License: GPLv2
|
||||
URL: http://linux-diag.sourceforge.net/servicelog
|
||||
Source0: http://downloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
|
||||
|
||||
#Requires(pre): shadow-utils
|
||||
|
||||
BuildRequires: libservicelog-devel >= 1.1.9-2
|
||||
BuildRequires: autoconf libtool librtas-devel help2man
|
||||
|
||||
# because of librtas-devel in libservicelog
|
||||
ExclusiveArch: ppc ppc64 ppc64le
|
||||
ExclusiveArch: ppc %{power64}
|
||||
|
||||
%description
|
||||
Command-line interfaces for viewing and manipulating the contents of
|
||||
@ -28,15 +26,16 @@ of service operations that have been performed on the system.
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure
|
||||
%{__make} %{?_smp_mflags}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
help2man -s 8 -N $RPM_BUILD_ROOT/%{_sbindir}/slog_common_event > $RPM_BUILD_ROOT/%{_mandir}/man8/slog_common_event.8
|
||||
|
||||
%files
|
||||
%doc COPYING
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%{_bindir}/servicelog
|
||||
%{_bindir}/v1_servicelog
|
||||
%{_bindir}/v29_servicelog
|
||||
@ -47,7 +46,11 @@ help2man -s 8 -N $RPM_BUILD_ROOT/%{_sbindir}/slog_common_event > $RPM_BUILD_ROOT
|
||||
%{_mandir}/man[18]/*.[18]*
|
||||
|
||||
%changelog
|
||||
* Mon Mar 21 2016 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 1.1.14
|
||||
* Mon Jul 11 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.14-2
|
||||
- Spec file cleanups
|
||||
- Use %%license
|
||||
|
||||
* Mon Mar 21 2016 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 1.1.14-1
|
||||
- Update to latest upstream 1.1.14
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.13-3
|
||||
|
||||
Loading…
Reference in New Issue
Block a user