Browse Source

samba-4.10.8-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12177 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 5 years ago
parent
commit
631245e12d
1 changed files with 16 additions and 6 deletions
  1. 16 6
      s/samba/samba-vl.spec

+ 16 - 6
s/samba/samba-vl.spec

@@ -1,4 +1,4 @@
-%define samba_version 4.10.7
+%define samba_version 4.10.8
 #define rc_number rc4
 %define samba_release 1
 
@@ -787,9 +787,9 @@ exit 0
 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
+		/var/lib/rpm/alternatives/libwbclient.so%{libwbc_alternatives_suffix} 2> /dev/null
 else
-	%{_sbindir}/update-alternatives
+	%{_sbindir}/update-alternatives \
 		--remove \
 			libwbclient.so%{libwbc_alternatives_suffix} \
 			%{_libdir}/samba/wbclient/libwbclient.so
@@ -809,14 +809,21 @@ fi
 %posttrans -n compat32-libwbclient
 # It has to be posttrans here to make sure all files of a previous version
 # 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
+%{_sbindir}/update-alternatives \
+	--install \
+		%{_libdir}/libwbclient.so.%{libwbc_sover} \
+		libwbclient.so.%{libwbc_sover}%{libwbc_alternatives_suffix} \
+		%{_libdir}/samba/wbclient/libwbclient.so.%{libwbc_sover} \
+		10
 /sbin/ldconfig
 
 ## --------------------------------------------------------------------
 
 %preun -n compat32-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
 
 %endif
@@ -1664,6 +1671,9 @@ fi
 %endif
 
 %changelog
+* Wed Sep 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.8-1
+- new upstream release.
+
 * Thu Aug 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.10.7-1
 - new upstream release.
 - updated samba-ja-docs.