Blame SOURCES/cifs-utils-destdir.patch

64e439
diff -up cifs-utils-6.11/Makefile.am.orig cifs-utils-6.11/Makefile.am
64e439
--- cifs-utils-6.11/Makefile.am.orig	2020-11-02 10:12:50.076702518 +0200
64e439
+++ cifs-utils-6.11/Makefile.am	2020-11-02 10:13:41.966420633 +0200
64e439
@@ -119,11 +119,11 @@ endif
64e439
 SUBDIRS = contrib
64e439
 
64e439
 install-exec-hook:
64e439
-	(cd $(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
64e439
+	(cd $(DESTDIR)$(ROOTSBINDIR) && ln -sf mount.cifs mount.smb3)
64e439
 
64e439
 install-data-hook:
64e439
-	(cd $(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
64e439
+	(cd $(DESTDIR)$(man8dir) && ln -sf mount.cifs.8 mount.smb3.8)
64e439
 
64e439
 uninstall-hook:
64e439
-	(cd $(ROOTSBINDIR) && rm -f $(ROOTSBINDIR)/mount.smb3)
64e439
-	(cd $(man8dir) && rm -f $(man8dir)/mount.smb3.8)
64e439
+	(cd $(DESTDIR)$(ROOTSBINDIR) && rm -f $(DESTDIR)$(ROOTSBINDIR)/mount.smb3)
64e439
+	(cd $(DESTDIR)$(man8dir) && rm -f $(DESTDIR)$(man8dir)/mount.smb3.8)