From aa1c4819c23dba640c33574f62c474545a3b7c66 Mon Sep 17 00:00:00 2001 From: Jan Synacek Date: Mon, 19 Nov 2012 09:16:53 +0100 Subject: [PATCH] Use %{_sbindir} instead of '/sbin' --- sgpio.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sgpio.spec b/sgpio.spec index 66079af..38d62d6 100644 --- a/sgpio.spec +++ b/sgpio.spec @@ -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 - 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 - 1.2.0.10-8 - Improve spec