commit cae888f2b748858551a2632e5bb16a9ea11ec1b1
Author: Adam Gołębiowski <[email protected]>
Date:   Tue Apr 9 09:04:35 2019 +0200

    - release 1, R: python-samba/python3-samba based on bcond value

 samba.spec | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/samba.spec b/samba.spec
index 49cba3a..17bea70 100644
--- a/samba.spec
+++ b/samba.spec
@@ -40,7 +40,7 @@ Summary:      Samba Active Directory and SMB server
 Summary(pl.UTF-8):     Serwer Samba Active Directory i SMB
 Name:          samba
 Version:       4.10.2
-Release:       0.1
+Release:       1
 Epoch:         1
 License:       GPL v3
 Group:         Networking/Daemons
@@ -143,7 +143,11 @@ Requires:  %{name}-libs = %{epoch}:%{version}-%{release}
 # for samba_{dnsupdate,kcc,spnupdate,upgradedns} scripts
 Requires:      logrotate >= 3.7-4
 Requires:      pam >= 0.99.8.1
+%if %{with python2}
 Requires:      python-samba = %{epoch}:%{version}-%{release}
+%else
+Requires:      python3-samba = %{epoch}:%{version}-%{release}
+%endif
 Requires:      rc-scripts >= 0.4.0.12
 Requires:      setup >= 2.4.6-7
 Requires:      systemd-units >= 38
@@ -246,7 +250,11 @@ Summary(pl.UTF-8): Pliki używane przez serwer i klientów 
Samby
 Group:         Networking/Daemons
 Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
 # for samba-tool script
+%if %{with python2}
 Requires:      python-samba = %{epoch}:%{version}-%{release}
+%else
+Requires:      python3-samba = %{epoch}:%{version}-%{release}
+%endif
 Obsoletes:     samba3-common
 Obsoletes:     samba4-common
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/samba.git/commitdiff/cae888f2b748858551a2632e5bb16a9ea11ec1b1

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to