Update to 4.0.0rc2.

This commit is contained in:
Andreas Schneider 2012-10-02 14:51:51 +02:00
parent 838a5914b5
commit b3f41cd906
3 changed files with 13 additions and 24 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ samba-3.6.0pre1.tar.gz
/samba-3.6.6.tar.gz /samba-3.6.6.tar.gz
/samba-3.6.7.tar.gz /samba-3.6.7.tar.gz
/samba-4.0.0rc1.tar.bz2 /samba-4.0.0rc1.tar.bz2
/samba-4.0.0rc2.tar.bz2

View File

@ -1,4 +1,4 @@
%define main_release 150 %define main_release 151
%define samba_version 4.0.0 %define samba_version 4.0.0
%define talloc_version 2.0.7 %define talloc_version 2.0.7
@ -6,7 +6,7 @@
%define tdb_version 1.2.10 %define tdb_version 1.2.10
%define tevent_version 0.9.17 %define tevent_version 0.9.17
%define ldb_version 1.1.12 %define ldb_version 1.1.12
%define pre_release rc1 %define pre_release rc2
%define samba_release %{main_release}%{?dist}.%{pre_release} %define samba_release %{main_release}%{?dist}.%{pre_release}
@ -65,14 +65,6 @@ Source100: smbprint
Source200: README.dc Source200: README.dc
Source201: README.downgrade Source201: README.downgrade
Patch1: samba-4.0.0rc2-build_idmap_manpages.patch
Patch2: samba-4.0.0rc2-create_smbldaphelper.patch
Patch3: samba-4.0.0rc2-make_smbldaphelper_lib.patch
Patch4: samba-4.0.0rc2-fix_smbldaphelper_without_ldap.patch
Patch5: samba-4.0.0rc2-fix_smb.conf_manpage_build.patch
Patch6: samba-4.0.0rc2-use_smb_man_style.patch
Patch7: samba-4.0.0rc2-fix_panic_action.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Requires(pre): /usr/sbin/groupadd Requires(pre): /usr/sbin/groupadd
@ -152,6 +144,7 @@ BuildRequires: python-tdb >= %{libtdb_version}
%if ! %with_libsmbclient && ! %with_libwbclient %if ! %with_libsmbclient && ! %with_libwbclient
%{?filter_setup: %{?filter_setup:
%filter_from_provides /libsmbclient.so.0()/d; /libwbclient.so.0()/d %filter_from_provides /libsmbclient.so.0()/d; /libwbclient.so.0()/d
%filter_from_requires /libsmbclient.so.0()/d; /libwbclient.so.0()/d
%filter_setup %filter_setup
} }
%endif %endif
@ -177,7 +170,7 @@ of SMB/CIFS shares and printing to SMB/CIFS printers.
Summary: Samba libraries Summary: Samba libraries
Group: Applications/System Group: Applications/System
%if %with_libwbclient %if %with_libwbclient
Requires: libwbclient Requires: libwbclient = %{samba_depver}
%endif %endif
Provides: samba4-libs = %{samba_depver} Provides: samba4-libs = %{samba_depver}
@ -274,7 +267,7 @@ domains and to use Windows user and group accounts on Linux.
Summary: Samba winbind krb5 locator Summary: Samba winbind krb5 locator
Group: Applications/System Group: Applications/System
%if %with_libwbclient %if %with_libwbclient
Requires: libwbclient Requires: libwbclient = %{samba_depver}
%else %else
Requires: %{name}-libs = %{samba_depver} Requires: %{name}-libs = %{samba_depver}
%endif %endif
@ -292,7 +285,7 @@ Group: Applications/System
Requires: %{name}-common = %{samba_depver} Requires: %{name}-common = %{samba_depver}
Requires: %{name}-libs = %{samba_depver} Requires: %{name}-libs = %{samba_depver}
%if %with_libwbclient %if %with_libwbclient
Requires: libwbclient Requires: libwbclient = %{samba_depver}
%endif %endif
Provides: samba4-winbind-clients = %{samba_depver} Provides: samba4-winbind-clients = %{samba_depver}
@ -384,14 +377,6 @@ link against the SMB, RPC and other protocols.
%prep %prep
%setup -q -n samba-%{version}%{pre_release} %setup -q -n samba-%{version}%{pre_release}
%patch1 -p1 -b .build_idmap_manpages
%patch2 -p1 -b .create_smbldaphelper
%patch3 -p1 -b .smbldaphelper_lib
%patch4 -p1 -b .smbldaphed_without_ldap
%patch5 -p1 -b .smb.conf_manpage
%patch6 -p1 -b .smb_man_style
%patch7 -p1 -b .fix_panic_action
%build %build
%global _talloc_lib ,talloc,pytalloc,pytalloc-util %global _talloc_lib ,talloc,pytalloc,pytalloc-util
%global _tevent_lib ,tevent,pytevent %global _tevent_lib ,tevent,pytevent
@ -448,6 +433,7 @@ link against the SMB, RPC and other protocols.
--with-shared-modules=%{_samba4_modules} \ --with-shared-modules=%{_samba4_modules} \
--builtin-libraries=ccan \ --builtin-libraries=ccan \
--bundled-libraries=%{_samba4_libraries} \ --bundled-libraries=%{_samba4_libraries} \
--with-pam \
--disable-ntdb \ --disable-ntdb \
%if (! %with_libsmbclient) || (! %with_libwbclient) %if (! %with_libsmbclient) || (! %with_libwbclient)
--private-libraries=%{_samba4_private_libraries} \ --private-libraries=%{_samba4_private_libraries} \
@ -1206,7 +1192,6 @@ rm -rf %{buildroot}
%endif # ! with_libsmbclient %endif # ! with_libsmbclient
%if ! %with_libwbclient %if ! %with_libwbclient
%{_libdir}/samba/libwbclient.so
%{_includedir}/samba-4.0/wbclient.h %{_includedir}/samba-4.0/wbclient.h
%endif # ! with_libwbclient %endif # ! with_libwbclient
@ -1260,7 +1245,10 @@ rm -rf %{buildroot}
%endif # with_libwbclient %endif # with_libwbclient
%changelog %changelog
* Wed Sep 26 2012 - Andreas Schneider <asn@redhat.com> 2:4.0.0-150.rc1 * Tue Oct 02 2012 - Andreas Schneider <asn@redhat.com> - 2:4.0.0-151.rc1
- Update to 4.0.0rc2.
* Wed Sep 26 2012 - Andreas Schneider <asn@redhat.com> - 2:4.0.0-150.rc1
- Fix Obsoletes/Provides for update from samba4. - Fix Obsoletes/Provides for update from samba4.
- Bump release number to be bigger than samba4. - Bump release number to be bigger than samba4.

View File

@ -1 +1 @@
9fd5a6ac70f724a66c6fa53b9161ea06 samba-4.0.0rc1.tar.bz2 f55716677b19969e22bf5573be6bee10 samba-4.0.0rc2.tar.bz2