diff --git a/cifs-utils-destdir.patch b/cifs-utils-destdir.patch deleted file mode 100644 index 7124927..0000000 --- a/cifs-utils-destdir.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -up cifs-utils-6.11/Makefile.am.orig cifs-utils-6.11/Makefile.am ---- cifs-utils-6.11/Makefile.am.orig 2020-11-02 10:12:50.076702518 +0200 -+++ cifs-utils-6.11/Makefile.am 2020-11-02 10:13:41.966420633 +0200 -@@ -119,11 +119,11 @@ endif - SUBDIRS = contrib - - install-exec-hook: -- (cd $(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3) -+ (cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3) - - install-data-hook: -- (cd $(man8dir) && ln -sf mount.cifs.8 mount.smb3.8) -+ (cd $(DESTDIR)$(man8dir) && ln -sf mount.cifs.8 mount.smb3.8) - - uninstall-hook: -- (cd $(ROOTSBINDIR) && rm -f $(ROOTSBINDIR)/mount.smb3) -- (cd $(man8dir) && rm -f $(man8dir)/mount.smb3.8) -+ (cd $(DESTDIR)$(ROOTSBINDIR) && rm -f $(DESTDIR)$(ROOTSBINDIR)/mount.smb3) -+ (cd $(DESTDIR)$(man8dir) && rm -f $(DESTDIR)$(man8dir)/mount.smb3.8) diff --git a/cifs-utils.spec b/cifs-utils.spec index 21ecee7..d598cce 100644 --- a/cifs-utils.spec +++ b/cifs-utils.spec @@ -21,7 +21,6 @@ Requires(preun): /usr/sbin/alternatives Recommends: %{name}-info%{?_isa} = %{version}-%{release} Source0: https://download.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.bz2 -Patch0: cifs-utils-destdir.patch %description The SMB/CIFS protocol is a standard file sharing protocol widely deployed @@ -54,7 +53,6 @@ provide these credentials to the kernel automatically at login. %prep %setup -q -n %{name}-%{version}%{pre_release} -%patch0 -p1 %build fgrep -r -l '/usr/bin/env python' | xargs -n1 sed -i 's@/usr/bin/env python.*@%python3@g'