[packages/cifs-utils] - BR: ac,am; use simpler, custom sed calls

qboosh qboosh at pld-linux.org
Tue Jan 28 21:18:37 CET 2020


commit e6edaa1f7e7a5eeca8f5d3b0b31867126d9ce06c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jan 28 21:18:50 2020 +0100

    - BR: ac,am; use simpler, custom sed calls

 cifs-utils.spec | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/cifs-utils.spec b/cifs-utils.spec
index be1315f..ce03e3f 100644
--- a/cifs-utils.spec
+++ b/cifs-utils.spec
@@ -10,6 +10,8 @@ Source0:	http://ftp.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.b
 Patch0:		%{name}-heimdal.patch
 Patch1:		build.patch
 URL:		http://linux-cifs.samba.org/cifs-utils/
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake
 BuildRequires:	heimdal-devel >= 1.5.1-3
 BuildRequires:	keyutils-devel
 BuildRequires:	libcap-ng-devel
@@ -55,11 +57,11 @@ Plik nagłówkowy interfejsu wtyczek ID Mapping cifs-utils.
 %patch0 -p1
 %patch1 -p1
 
-sed -E -i -e '1s,#!\s*/usr/bin/env\s+python2(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
+%{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' \
       smb2-quota \
       smb2-secdesc
 
-sed -E -i -e '1s,#!\s*/usr/bin/env\s+python3(\s|$),#!%{__python3}\1,' \
+%{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' \
       checkopts
 
 %build
@@ -68,9 +70,9 @@ sed -E -i -e '1s,#!\s*/usr/bin/env\s+python3(\s|$),#!%{__python3}\1,' \
 %{__autoconf}
 %configure \
 	--with-libcap-ng \
-	--enable-cifsupcall \
+	--enable-cifsacl \
 	--enable-cifsidmap \
-	--enable-cifsacl
+	--enable-cifsupcall
 
 %{__make}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cifs-utils.git/commitdiff/e6edaa1f7e7a5eeca8f5d3b0b31867126d9ce06c



More information about the pld-cvs-commit mailing list