parent
9d68ff22fc
commit
3506ec3dcf
15
samba.spec
15
samba.spec
@ -1,4 +1,4 @@
|
|||||||
%define main_release 161
|
%define main_release 162
|
||||||
|
|
||||||
%define samba_version 4.0.0
|
%define samba_version 4.0.0
|
||||||
%define talloc_version 2.0.7
|
%define talloc_version 2.0.7
|
||||||
@ -582,7 +582,6 @@ rm -rf %{buildroot}%{perl_vendorlib}/Parse/Yapp
|
|||||||
# Fix up permission on perl install.
|
# Fix up permission on perl install.
|
||||||
%{_fixperms} %{buildroot}%{perl_vendorlib}
|
%{_fixperms} %{buildroot}%{perl_vendorlib}
|
||||||
|
|
||||||
### SAMBA
|
|
||||||
%post
|
%post
|
||||||
%systemd_post smb.service
|
%systemd_post smb.service
|
||||||
%systemd_post nmb.service
|
%systemd_post nmb.service
|
||||||
@ -595,45 +594,38 @@ rm -rf %{buildroot}%{perl_vendorlib}/Parse/Yapp
|
|||||||
%systemd_postun_with_restart smb.service
|
%systemd_postun_with_restart smb.service
|
||||||
%systemd_postun_with_restart nmb.service
|
%systemd_postun_with_restart nmb.service
|
||||||
|
|
||||||
### COMMON
|
|
||||||
%post common
|
%post common
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
/usr/bin/systemd-tmpfiles --create %{_sysconfdir}/tmpfiles.d/samba.conf
|
/usr/bin/systemd-tmpfiles --create %{_sysconfdir}/tmpfiles.d/samba.conf
|
||||||
|
|
||||||
%postun common -p /sbin/ldconfig
|
%postun common -p /sbin/ldconfig
|
||||||
|
|
||||||
### DC-LIBS
|
|
||||||
%if %with_dc
|
%if %with_dc
|
||||||
%post dc-libs -p /sbin/ldconfig
|
%post dc-libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun dc-libs -p /sbin/ldconfig
|
%postun dc-libs -p /sbin/ldconfig
|
||||||
%endif # with_dc
|
%endif # with_dc
|
||||||
|
|
||||||
### LIBS
|
|
||||||
%post libs -p /sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun libs -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
### LIBSMBCLIENT
|
|
||||||
%if %with_libsmbclient
|
%if %with_libsmbclient
|
||||||
%post -n libsmbclient -p /sbin/ldconfig
|
%post -n libsmbclient -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libsmbclient -p /sbin/ldconfig
|
%postun -n libsmbclient -p /sbin/ldconfig
|
||||||
%endif # with_libsmbclient
|
%endif # with_libsmbclient
|
||||||
|
|
||||||
### LIBWBCLIENT
|
|
||||||
%if %with_libwbclient
|
%if %with_libwbclient
|
||||||
%post -n libwbclient -p /sbin/ldconfig
|
%post -n libwbclient -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libwbclient -p /sbin/ldconfig
|
%postun -n libwbclient -p /sbin/ldconfig
|
||||||
%endif # with_libwbclient
|
%endif # with_libwbclient
|
||||||
|
|
||||||
### TEST
|
|
||||||
%post test -p /sbin/ldconfig
|
%post test -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun test -p /sbin/ldconfig
|
%postun test -p /sbin/ldconfig
|
||||||
|
|
||||||
### WINBIND
|
|
||||||
%pre winbind
|
%pre winbind
|
||||||
/usr/sbin/groupadd -g 88 wbpriv >/dev/null 2>&1 || :
|
/usr/sbin/groupadd -g 88 wbpriv >/dev/null 2>&1 || :
|
||||||
|
|
||||||
@ -647,12 +639,10 @@ rm -rf %{buildroot}%{perl_vendorlib}/Parse/Yapp
|
|||||||
%systemd_postun_with_restart smb.service
|
%systemd_postun_with_restart smb.service
|
||||||
%systemd_postun_with_restart nmb.service
|
%systemd_postun_with_restart nmb.service
|
||||||
|
|
||||||
### WINBIND-CLIENTS
|
|
||||||
%post winbind-clients -p /sbin/ldconfig
|
%post winbind-clients -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun winbind-clients -p /sbin/ldconfig
|
%postun winbind-clients -p /sbin/ldconfig
|
||||||
|
|
||||||
### WINBIND-KRB5-LOCATOR
|
|
||||||
%postun winbind-krb5-locator
|
%postun winbind-krb5-locator
|
||||||
if [ "$1" -ge "1" ]; then
|
if [ "$1" -ge "1" ]; then
|
||||||
if [ "`readlink %{_sysconfdir}/alternatives/winbind_krb5_locator.so`" == "%{_libdir}/winbind_krb5_locator.so" ]; then
|
if [ "`readlink %{_sysconfdir}/alternatives/winbind_krb5_locator.so`" == "%{_libdir}/winbind_krb5_locator.so" ]; then
|
||||||
@ -1320,6 +1310,9 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man7/winbind_krb5_locator.7*
|
%{_mandir}/man7/winbind_krb5_locator.7*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Oct 29 2012 - Andreas Schneider <asn@redhat.com> - 2:4.0.0-162.rc3
|
||||||
|
- resolves: #870630 - Fix scriptlets interpeting a comment as argument.
|
||||||
|
|
||||||
* Fri Oct 26 2012 - Andreas Schneider <asn@redhat.com> - 2:4.0.0-161.rc3
|
* Fri Oct 26 2012 - Andreas Schneider <asn@redhat.com> - 2:4.0.0-161.rc3
|
||||||
- Add missing Requries for python modules.
|
- Add missing Requries for python modules.
|
||||||
- Add NetworkManager dispatcher script for winbind.
|
- Add NetworkManager dispatcher script for winbind.
|
||||||
|
Loading…
Reference in New Issue
Block a user