Fix spec file issue for ticket 49011

This commit is contained in:
Mark Reynolds 2016-10-24 12:23:54 -04:00
parent e0f521f467
commit ac1f6b4bb3

View File

@ -34,9 +34,9 @@
Summary: 389 Directory Server (base)
Name: 389-ds-base
Version: 1.3.5.14
Release: %{?relprefix}1%{?prerel}%{?dist}
Release: %{?relprefix}2%{?prerel}%{?dist}
License: GPLv3+
URL: https://port389.org/
URL: https://www.port389.org
Group: System Environment/Daemons
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Obsoletes: %{name}-selinux
@ -75,6 +75,10 @@ BuildRequires: tcp_wrappers
BuildRequires: pam-devel
BuildRequires: systemd-units
BuildRequires: systemd-devel
# Needed to support regeneration of the autotool artifacts.
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
# for python3 macros
BuildRequires: python3-devel
@ -131,7 +135,7 @@ Requires: svrcore >= 4.1.2
# upgrade path from monolithic %{name} (including -libs & -devel) to %{name} + %{name}-snmp
Obsoletes: %{name} <= 1.3.5.4
Source0: https://port389.org/binaries/%{name}-%{version}%{?prerel}.tar.bz2
Source0: https://www.port389.org/binaries/%{name}-%{version}%{?prerel}.tar.bz2
# 389-ds-git.sh should be used to generate the source tarball from git
Source1: %{name}-git.sh
Source2: %{name}-devel.README
@ -247,6 +251,10 @@ NSSARGS="--with-svrcore-inc=%{_includedir} --with-svrcore-lib=%{_libdir} --with-
%if %{use_nunc_stans}
NUNC_STANS_FLAGS="--enable-nunc-stans --with-nunc-stans=../nunc-stans-%{nunc_stans_ver}"
%endif
# Rebuild the autotool artifacts now.
autoreconf -fiv
%configure --enable-autobind --with-selinux $OPENLDAP_FLAG $TMPFILES_FLAG \
--with-systemdsystemunitdir=%{_unitdir} \
--with-systemdsystemconfdir=%{_sysconfdir}/systemd/system \
@ -454,6 +462,10 @@ fi
%{_sysconfdir}/%{pkgname}/dirsrvtests
%changelog
* Mon Oct 24 2016 Mark Reynolds <mreynolds@redhat.com> - 1.3.5.14-2
- Bump version to 1.3.5.14-2
- Ticket 49011 - Remove configure artifacts
* Thu Oct 13 2016 Mark Reynolds <mreynolds@redhat.com> - 1.3.5.14-1
- Bump version to 1.3.5.14-1
- Ticket 48992 - Total init may fail if the pushed schema is rejected