|
@@ -1,7 +1,7 @@
|
|
%bcond_with systemd
|
|
%bcond_with systemd
|
|
%bcond_without pidl
|
|
%bcond_without pidl
|
|
|
|
|
|
-%define samba_version 4.12.2
|
|
+%define samba_version 4.12.3
|
|
#define rc_number rc4
|
|
#define rc_number rc4
|
|
%define samba_release 1
|
|
%define samba_release 1
|
|
|
|
|
|
@@ -27,6 +27,7 @@
|
|
|
|
|
|
%{?rc_number:%define rc_suffix .%{rc_number}}
|
|
%{?rc_number:%define rc_suffix .%{rc_number}}
|
|
|
|
|
|
|
|
+%define samba_includedir %{_includedir}/samba-%{api_version}
|
|
|
|
|
|
%define samba_source source3
|
|
%define samba_source source3
|
|
|
|
|
|
@@ -45,11 +46,7 @@ Distribution: Vine Linux
|
|
|
|
|
|
License: GPLv3+
|
|
License: GPLv3+
|
|
URL: http://www.samba.org/
|
|
URL: http://www.samba.org/
|
|
-
|
|
|
|
-%define samba_includedir %{_includedir}/samba-%{api_version}
|
|
|
|
-
|
|
|
|
Source: https://download.samba.org/pub/samba/stable/samba-%{version}%{?rc_number}.tar.gz
|
|
Source: https://download.samba.org/pub/samba/stable/samba-%{version}%{?rc_number}.tar.gz
|
|
-
|
|
|
|
# Vine specific replacement-files
|
|
# Vine specific replacement-files
|
|
Source1: samba.log
|
|
Source1: samba.log
|
|
# https://ja.osdn.net/projects/samba-jp/releases/p16213
|
|
# https://ja.osdn.net/projects/samba-jp/releases/p16213
|
|
@@ -708,7 +705,7 @@ exit 0
|
|
%systemd_preun smb.service
|
|
%systemd_preun smb.service
|
|
%systemd_preun nmb.service
|
|
%systemd_preun nmb.service
|
|
%else
|
|
%else
|
|
-if [ $1 = 0 -o -x /sbin/systemctl ] ; then
|
|
+if [ $1 = 0 -o -x /bin/systemctl ] ; then
|
|
/sbin/service smb stop >/dev/null 2>&1 || :
|
|
/sbin/service smb stop >/dev/null 2>&1 || :
|
|
/sbin/service nmb stop >/dev/null 2>&1 || :
|
|
/sbin/service nmb stop >/dev/null 2>&1 || :
|
|
/sbin/service samba stop >/dev/null 2>&1 || :
|
|
/sbin/service samba stop >/dev/null 2>&1 || :
|
|
@@ -749,7 +746,7 @@ fi
|
|
%if %{with systemd}
|
|
%if %{with systemd}
|
|
%systemd_preun winbind.service
|
|
%systemd_preun winbind.service
|
|
%else
|
|
%else
|
|
-if [ $1 = 0 -o -x /sbin/systemctl ] ; then
|
|
+if [ $1 = 0 -o -x /bin/systemctl ] ; then
|
|
/sbin/service winbind stop >/dev/null 2>&1 || :
|
|
/sbin/service winbind stop >/dev/null 2>&1 || :
|
|
/sbin/chkconfig --del winbind
|
|
/sbin/chkconfig --del winbind
|
|
fi
|
|
fi
|
|
@@ -806,7 +803,7 @@ fi
|
|
%if %{with systemd}
|
|
%if %{with systemd}
|
|
%systemd_preun samba.service
|
|
%systemd_preun samba.service
|
|
%else
|
|
%else
|
|
-if [ $1 = 0 -o -x /sbin/systemctl ] ; then
|
|
+if [ $1 = 0 -o -x /bin/systemctl ] ; then
|
|
/sbin/service samba stop >/dev/null 2>&1 || :
|
|
/sbin/service samba stop >/dev/null 2>&1 || :
|
|
/sbin/chkconfig --del samba
|
|
/sbin/chkconfig --del samba
|
|
fi
|
|
fi
|
|
@@ -1820,6 +1817,9 @@ fi
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue May 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.12.3-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Tue Apr 28 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.12.2-1
|
|
* Tue Apr 28 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.12.2-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|