Use %{_sbindir} instead of '/sbin'
This commit is contained in:
parent
d058f304bc
commit
aa1c4819c2
@ -26,17 +26,18 @@ make clean
|
||||
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
||||
|
||||
%install
|
||||
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT/sbin MANDIR=$RPM_BUILD_ROOT%{_mandir}
|
||||
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}
|
||||
|
||||
%files
|
||||
%doc README
|
||||
/sbin/sgpio
|
||||
%{_sbindir}/sgpio
|
||||
%{_mandir}/man1/sgpio.*
|
||||
|
||||
%changelog
|
||||
* Mon Nov 19 2012 Jan Synáček <jsynacek@redhat.com> - 1.2.0.10-9
|
||||
- dos2unix'ed the patch
|
||||
- Call dos2unix before patching and dos2unix Makefile as well
|
||||
- Use %%{_sbindir} instead of '/sbin'
|
||||
|
||||
* Thu Aug 23 2012 Jan Synáček <jsynacek@redhat.com> - 1.2.0.10-8
|
||||
- Improve spec
|
||||
|
Loading…
Reference in New Issue
Block a user