diff --git a/sgpio.spec b/sgpio.spec index 2592b33..609cfbe 100644 --- a/sgpio.spec +++ b/sgpio.spec @@ -9,6 +9,7 @@ Source: sgpio-1.2-0.10-src.tar.gz # there is no official download link for the latest package #Source: http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing?action=AttachFile&do=get&target=sgpio-1.2.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +Conflicts: filesystem < 3 Patch0: sgpio-1.2-makefile.patch BuildRequires: dos2unix @@ -28,7 +29,7 @@ make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT -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} %clean rm -rf $RPM_BUILD_ROOT @@ -36,7 +37,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, -) %doc README -/sbin/sgpio +%{_sbindir}/sgpio %{_mandir}/man1/sgpio.* %changelog @@ -54,4 +55,4 @@ rm -rf $RPM_BUILD_ROOT executable bits from %%install to %%prep section * Wed Dec 10 2008 Jiri Moskovcak 1.2.0_10-1 -- initial Fedora release \ No newline at end of file +- initial Fedora release