[packages/samba] - rel 2; disable dmapi on 32bit as it no longer builds with new dmapi-devel
arekm
arekm at pld-linux.org
Tue Jan 31 20:16:42 CET 2017
commit ff9592a9283768fa0f18db4ac3a16b7cf784238f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jan 31 20:16:36 2017 +0100
- rel 2; disable dmapi on 32bit as it no longer builds with new dmapi-devel
samba.spec | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/samba.spec b/samba.spec
index d790da2..8c46a18 100644
--- a/samba.spec
+++ b/samba.spec
@@ -4,6 +4,7 @@
%bcond_without cups # CUPS support
%bcond_without ldap # LDAP support
%bcond_without avahi # Avahi support
+%bcond_without dmapi # DMAPI support
%bcond_without systemd # systemd integration
%bcond_with system_heimdal # Use system Heimdal libraries (broken in samba 4.4.x)
%bcond_without system_libs # system libraries (talloc,tdb,tevent,ldb,ntdb)
@@ -19,6 +20,11 @@
%define tevent_ver 0.9.28
%endif
+# dmapi-devel forces largefile/64bit stuff that isn't detected properly
+%ifarch %{ix86}
+%undefine with_dmapi
+%endif
+
%include /usr/lib/rpm/macros.perl
# NOTE: packages order is: server + additions, common, clients, libs+devel, ldap
@@ -27,7 +33,7 @@ Summary: Samba Active Directory and SMB server
Summary(pl.UTF-8): Serwer Samba Active Directory i SMB
Name: samba
Version: 4.5.5
-Release: 1
+Release: 2
Epoch: 1
License: GPL v3
Group: Networking/Daemons
@@ -58,7 +64,7 @@ BuildRequires: ceph-devel >= 0.73
%{?with_cups:BuildRequires: cups-devel >= 1:1.2.0}
BuildRequires: cyrus-sasl-devel >= 2
BuildRequires: dbus-devel
-BuildRequires: dmapi-devel
+%{?with_dmapi:BuildRequires: dmapi-devel}
BuildRequires: docbook-style-xsl
# just FAM API
BuildRequires: gamin-devel
@@ -561,7 +567,7 @@ CPPFLAGS="${CPPFLAGS:-%rpmcppflags}" \
--with%{!?with_ads:out}-ads \
%{?with_ctdb_pcp:--enable-pmda} \
--with-automount \
- --with-dmapi \
+ --with%{!?with_dmapi:out}-dmapi \
--with-dnsupdate \
--with-iconv \
--with%{!?with_ldap:out}-ldap \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/samba.git/commitdiff/ff9592a9283768fa0f18db4ac3a16b7cf784238f
More information about the pld-cvs-commit
mailing list