Spec file clean up
This commit is contained in:
parent
3017af0452
commit
5d71b4474c
@ -1,14 +1,13 @@
|
||||
Name: powerpc-utils
|
||||
Version: 1.2.20
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Utilities for PowerPC platforms
|
||||
|
||||
Group: System Environment/Base
|
||||
License: CPL
|
||||
URL: http://sourceforge.net/projects/%{name}/
|
||||
Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||
Source1: nvsetenv
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: zlib-devel doxygen automake librtas-devel libservicelog-devel >= 1.0.1-2
|
||||
BuildRequires: librtas-devel >= 1.3.9
|
||||
|
||||
@ -45,11 +44,10 @@ make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT FILES= RCSCRIPTS=
|
||||
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sbindir}/nvsetenv
|
||||
|
||||
#%define pkgdocdir %{_datadir}/doc/%{name}-%{version}
|
||||
#define pkgdocdir {_datadir}/doc/{name}-{version}
|
||||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||
|
||||
# move doc files
|
||||
@ -63,11 +61,7 @@ rm -rf $RPM_BUILD_ROOT/etc/init.d/ibmvscsis.sh $RPM_BUILD_ROOT/usr/sbin/vscsisad
|
||||
# nvsetenv is just a wrapper to nvram
|
||||
ln -s nvram.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8/nvsetenv.8.gz
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_sbindir}/nvsetenv
|
||||
%{_sbindir}/nvram
|
||||
%{_sbindir}/snap
|
||||
@ -125,11 +119,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man8/ls-vscsi.8*
|
||||
%doc README COPYRIGHT Changelog
|
||||
|
||||
%post
|
||||
|
||||
%preun
|
||||
|
||||
%changelog
|
||||
* Tue Jun 03 2014 Jakub Čajka <jcajka@redhat.com> - 1.2.20-2
|
||||
- Spec file clean up
|
||||
|
||||
* Mon Apr 14 2014 Vasant Hegde <hegdevasant@linux.vnet.ibm.com> - 1.2.20
|
||||
- Update to latest upstream 1.2.20
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user