diff --git a/cifs-utils.spec b/cifs-utils.spec index 7faca04..b9249cc 100644 --- a/cifs-utils.spec +++ b/cifs-utils.spec @@ -16,6 +16,8 @@ Patch0: cifs-utils-install-cifsacl-tools-in-usrbin.patch BuildRequires: libcap-ng-devel libtalloc-devel krb5-devel keyutils-libs-devel autoconf automake samba-winbind-devel Requires: keyutils +Conflicts: filesystem < 3 +Provides: /sbin/mount.cifs %description The SMB/CIFS protocol is a standard file sharing protocol widely deployed @@ -30,12 +32,12 @@ file system. %patch0 -p1 %build -%configure --prefix=/usr +%configure make %{?_smp_mflags} %install rm -rf %{buildroot} -make install DESTDIR=%{buildroot} +make install DESTDIR=%{buildroot} root_sbindir=%{_sbindir} %clean rm -rf %{buildroot} @@ -43,7 +45,7 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc -/sbin/mount.cifs +%{_sbindir}/mount.cifs %{_bindir}/getcifsacl %{_bindir}/setcifsacl %{_sbindir}/cifs.upcall