Browse Source

samba-4.12.3-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12410 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 3 years ago
parent
commit
13afe64567
1 changed files with 8 additions and 8 deletions
  1. 8 8
      s/samba/samba-vl.spec

+ 8 - 8
s/samba/samba-vl.spec

@@ -1,7 +1,7 @@
 %bcond_with systemd
 %bcond_without pidl
 
-%define samba_version 4.12.2
+%define samba_version 4.12.3
 #define rc_number rc4
 %define samba_release 1
 
@@ -27,6 +27,7 @@
 
 %{?rc_number:%define rc_suffix .%{rc_number}}
 
+%define samba_includedir   %{_includedir}/samba-%{api_version}
 
 %define samba_source source3
 
@@ -45,11 +46,7 @@ Distribution: Vine Linux
 
 License: GPLv3+
 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
-
 # Vine specific replacement-files
 Source1: samba.log
 # https://ja.osdn.net/projects/samba-jp/releases/p16213
@@ -708,7 +705,7 @@ exit 0
 %systemd_preun smb.service
 %systemd_preun nmb.service
 %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 nmb stop >/dev/null 2>&1 || :
   /sbin/service samba stop >/dev/null 2>&1 || :
@@ -749,7 +746,7 @@ fi
 %if %{with systemd}
 %systemd_preun winbind.service
 %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/chkconfig --del winbind
 fi
@@ -806,7 +803,7 @@ fi
 %if %{with systemd}
 %systemd_preun samba.service
 %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/chkconfig --del samba
 fi
@@ -1820,6 +1817,9 @@ fi
 %endif
 
 %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
 - new upstream release.