diff --git a/cifs-utils.changes b/cifs-utils.changes index a6e955b..8fd829b 100644 --- a/cifs-utils.changes +++ b/cifs-utils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 17 13:42:23 UTC 2020 - Ludwig Nussel + +- prepare usrmerge (boo#1029961) + ------------------------------------------------------------------- Mon Aug 10 06:56:11 UTC 2020 - Aurelien Aptel diff --git a/cifs-utils.spec b/cifs-utils.spec index 7b42ab8..a4400d3 100644 --- a/cifs-utils.spec +++ b/cifs-utils.spec @@ -139,6 +139,9 @@ cp -a ${RPM_SOURCE_DIR}/README.cifstab.migration . export CFLAGS="%{optflags} -D_GNU_SOURCE -fpie" export LDFLAGS="-pie" autoreconf -i +%if 0%{?usrmerged} +export ROOTSBINDIR="%{_sbindir}" +%endif %configure \ --with-pamdir=/%{_lib}/security make %{?_smp_mflags} @@ -175,7 +178,11 @@ touch %{buildroot}/%{_sysconfdir}/sysconfig/network/if-{down,up}.d/${script} \ %endif %files +%if 0%{?usrmerged} +%{_sbindir}/mount.cifs +%else /sbin/mount.cifs +%endif %{_bindir}/getcifsacl %{_bindir}/setcifsacl %{_sbindir}/cifs.idmap