- Improve the hack to avoid python dependencies.

A new python script had been added since that hack was written.
  (boo#1166067)

OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=219
This commit is contained in:
Neil Brown 2020-03-27 05:30:43 +00:00 committed by Git OBS Bridge
parent bb3ce0cf21
commit 034f8d4a5a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 27 05:29:36 UTC 2020 - Neil Brown <nfbrown@suse.com>
- Improve the hack to avoid python dependencies.
A new python script had been added since that hack was written.
(boo#1166067)
-------------------------------------------------------------------
Fri Mar 27 05:06:12 UTC 2020 - Neil Brown <nfbrown@suse.com>

View File

@ -204,7 +204,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
install -m 644 utils/mount/nfsmount.conf %{buildroot}%{_sysconfdir}/nfsmount.conf
#
# hack to avoid automatic python dependency
chmod 644 %{buildroot}%{_sbindir}/{mountstats,nfsiostat}
chmod 644 `grep -l -r '^#!/usr/bin/python' %{buildroot}%{_sbindir}`
# Install sysusers.d template
mkdir -p %{buildroot}%{_sysusersdir}
install -m 644 %{SOURCE12} %{buildroot}%{_sysusersdir}/