]> git.pld-linux.org Git - packages/cifs-utils.git/blobdiff - cifs-utils.spec
- swith all scripts to python 3, rel 2
[packages/cifs-utils.git] / cifs-utils.spec
index 3dac809ab66d5a9b268c17a15768610f1d78b61b..1c64895c3fa548b28b07585cac8a67dcf094cff2 100644 (file)
@@ -2,12 +2,13 @@ Summary:      Utilities for mounting and managing CIFS mounts
 Summary(pl.UTF-8):     Narzędzia do montowania i zarządzania montowaniami CIFS
 Name:          cifs-utils
 Version:       7.0
-Release:       1
+Release:       2
 License:       GPL v3+
 Group:         Daemons
 Source0:       https://ftp.samba.org/pub/linux-cifs/cifs-utils/%{name}-%{version}.tar.bz2
 # Source0-md5: 518431bf43f23e6aacd97e80e2060df7
 Patch0:                %{name}-heimdal.patch
+Patch1:                python3.patch
 URL:           https://wiki.samba.org/index.php/LinuxCIFS_utils
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -55,12 +56,12 @@ Plik nagłówkowy interfejsu wtyczek ID Mapping cifs-utils.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
-%{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' \
+%{__sed} -i -e '1s,/usr/bin/env python$,%{__python3},' \
+       -e '1s,/usr/bin/env python3,%{__python3},' \
        smb2-quota \
-       smb2-secdesc
-
-%{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' \
+       smb2-secdesc \
        checkopts \
        smbinfo
 
This page took 0.204091 seconds and 4 git commands to generate.