diff --git a/389-ds-base.spec b/389-ds-base.spec index f9608c9..464d9c7 100644 --- a/389-ds-base.spec +++ b/389-ds-base.spec @@ -17,6 +17,9 @@ %global use_tcmalloc 0 %endif +# Use Clang instead of GCC +%global use_clang 0 + # fedora 15 and later uses tmpfiles.d # otherwise, comment this out %{!?with_tmpfiles_d: %global with_tmpfiles_d %{_sysconfdir}/tmpfiles.d} @@ -30,7 +33,7 @@ Summary: 389 Directory Server (base) Name: 389-ds-base Version: 1.4.0.1 -Release: %{?relprefix}1%{?prerel}%{?dist} +Release: %{?relprefix}2%{?prerel}%{?dist} License: GPLv3+ URL: http://www.port389.org Group: System Environment/Daemons @@ -50,7 +53,12 @@ BuildRequires: cyrus-sasl-devel BuildRequires: icu BuildRequires: libicu-devel BuildRequires: pcre-devel +BuildRequires: libatomic +%if %{use_clang} +BuildRequires: clang +%else BuildRequires: gcc-c++ +%endif # The following are needed to build the snmp ldap-agent BuildRequires: net-snmp-devel BuildRequires: lm_sensors-devel @@ -475,6 +483,10 @@ fi %{python3_sitelib}/* %changelog +* Mon Oct 16 2017 Mark Reynolds - 1.4.0.1-2 +- Bump version to 1.4.0.1-2 +- Ticket 49400 - Add clang support and libatomic + * Mon Oct 9 2017 Mark Reynolds - 1.4.0.1-1 - Bump version to 1.4.0.1-1 - Ticket 49038 - remove legacy replication - change cleanup script precedence