|
@@ -1,4 +1,4 @@
|
|
-%define samba_version 4.10.2
|
|
|
|
|
|
+%define samba_version 4.10.3
|
|
#define rc_number rc4
|
|
#define rc_number rc4
|
|
%define samba_release 1
|
|
%define samba_release 1
|
|
|
|
|
|
@@ -107,6 +107,7 @@ BuildRequires: libcap-devel
|
|
BuildRequires: libidn-devel
|
|
BuildRequires: libidn-devel
|
|
#BuildRequires: libldb-devel >= 1.1.25
|
|
#BuildRequires: libldb-devel >= 1.1.25
|
|
BuildRequires: libpcap-devel
|
|
BuildRequires: libpcap-devel
|
|
|
|
+BuildRequires: libtdb-devel
|
|
#BuildRequires: libtevent-devel
|
|
#BuildRequires: libtevent-devel
|
|
BuildRequires: libtirpc-devel
|
|
BuildRequires: libtirpc-devel
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: libuuid-devel
|
|
@@ -364,6 +365,7 @@ Requires: %{name} = %{samba_version}-%{release}
|
|
Requires: %{name}-winbind = %{samba_version}-%{release}
|
|
Requires: %{name}-winbind = %{samba_version}-%{release}
|
|
Requires: %{name}-client = %{samba_version}-%{release}
|
|
Requires: %{name}-client = %{samba_version}-%{release}
|
|
Requires: %{name}-python = %{samba_version}-%{release}
|
|
Requires: %{name}-python = %{samba_version}-%{release}
|
|
|
|
+Requires: python3-dns
|
|
Requires(post): /sbin/chkconfig, /sbin/service, acl
|
|
Requires(post): /sbin/chkconfig, /sbin/service, acl
|
|
|
|
|
|
%description dc
|
|
%description dc
|
|
@@ -742,23 +744,36 @@ exit 0
|
|
%posttrans -n libwbclient
|
|
%posttrans -n libwbclient
|
|
# It has to be posttrans here to make sure all files of a previous version
|
|
# It has to be posttrans here to make sure all files of a previous version
|
|
# without alternatives support are removed
|
|
# without alternatives support are removed
|
|
-%{_sbindir}/update-alternatives --install %{_libdir}/libwbclient.so.%{libwbc_sover} \
|
|
|
|
- libwbclient.so.%{libwbc_sover}%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_sover} 10 \
|
|
|
|
- --slave %{_libdir}/libwbclient.so.%{libwbc_soname} \
|
|
|
|
- libwbclient.so.%{libwbc_soname}%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_soname}
|
|
|
|
|
|
+%{_sbindir}/update-alternatives \
|
|
|
|
+ --install \
|
|
|
|
+ %{_libdir}/libwbclient.so.%{libwbc_sover} \
|
|
|
|
+ libwbclient.so.%{libwbc_sover}%{libwbc_alternatives_suffix} \
|
|
|
|
+ %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_sover} \
|
|
|
|
+ 10 \
|
|
|
|
+ --slave \
|
|
|
|
+ %{_libdir}/libwbclient.so.%{libwbc_soname} \
|
|
|
|
+ libwbclient.so.%{libwbc_soname}%{libwbc_alternatives_suffix} \
|
|
|
|
+ %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_soname}
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
|
|
|
|
## --------------------------------------------------------------------
|
|
## --------------------------------------------------------------------
|
|
|
|
|
|
%preun -n libwbclient
|
|
%preun -n libwbclient
|
|
-%{_sbindir}/update-alternatives --remove libwbclient.so.%{libwbc_sover}%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_sover}
|
|
|
|
|
|
+%{_sbindir}/update-alternatives \
|
|
|
|
+ --remove \
|
|
|
|
+ libwbclient.so.%{libwbc_sover}%{libwbc_alternatives_suffix} \
|
|
|
|
+ %{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_sover}
|
|
/sbin/ldconfig
|
|
/sbin/ldconfig
|
|
|
|
|
|
## --------------------------------------------------------------------
|
|
## --------------------------------------------------------------------
|
|
|
|
|
|
%posttrans -n libwbclient-devel
|
|
%posttrans -n libwbclient-devel
|
|
-%{_sbindir}/update-alternatives --install %{_libdir}/libwbclient.so \
|
|
|
|
- libwbclient.so%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so 10
|
|
|
|
|
|
+%{_sbindir}/update-alternatives \
|
|
|
|
+ --install \
|
|
|
|
+ %{_libdir}/libwbclient.so \
|
|
|
|
+ libwbclient.so%{libwbc_alternatives_suffix} \
|
|
|
|
+ %{_libdir}/samba/wbclient/libwbclient.so \
|
|
|
|
+ 10
|
|
|
|
|
|
## --------------------------------------------------------------------
|
|
## --------------------------------------------------------------------
|
|
|
|
|
|
@@ -769,9 +784,14 @@ exit 0
|
|
# libwbclient.so is a link and not a file it will be removed. The following
|
|
# libwbclient.so is a link and not a file it will be removed. The following
|
|
# check removes the alternatives files manually if that is the case.
|
|
# check removes the alternatives files manually if that is the case.
|
|
if [ "`readlink %{_libdir}/libwbclient.so`" == "libwbclient.so.%{libwbc_sover}" ]; then
|
|
if [ "`readlink %{_libdir}/libwbclient.so`" == "libwbclient.so.%{libwbc_sover}" ]; then
|
|
- /bin/rm -f /etc/alternatives/libwbclient.so%{libwbc_alternatives_suffix} /var/lib/alternatives/libwbclient.so%{libwbc_alternatives_suffix} 2> /dev/null
|
|
|
|
|
|
+ /bin/rm -f \
|
|
|
|
+ /etc/alternatives/libwbclient.so%{libwbc_alternatives_suffix} \
|
|
|
|
+ /var/lib/alternatives/libwbclient.so%{libwbc_alternatives_suffix} 2> /dev/null
|
|
else
|
|
else
|
|
- %{_sbindir}/update-alternatives --remove libwbclient.so%{libwbc_alternatives_suffix} %{_libdir}/samba/wbclient/libwbclient.so
|
|
|
|
|
|
+ %{_sbindir}/update-alternatives
|
|
|
|
+ --remove \
|
|
|
|
+ libwbclient.so%{libwbc_alternatives_suffix} \
|
|
|
|
+ %{_libdir}/samba/wbclient/libwbclient.so
|
|
fi
|
|
fi
|
|
|
|
|
|
%if %build_compat32
|
|
%if %build_compat32
|
|
@@ -1643,6 +1663,9 @@ fi
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue May 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.3-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Sat May 11 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.2-1
|
|
* Sat May 11 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.2-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
- switched to python3.
|
|
- switched to python3.
|