Make sure we have our compressions libs ready

In case some library is not detected properly in the future, fail
the /configure step. We should probably do that for most deps, but
I'm too lazy atm.

Backport: 25bd358ef1
BZ: #1404406
This commit is contained in:
Susant Sahani 2017-02-07 20:08:32 +05:30
parent 0e4d67be19
commit 841dd54e44
1 changed files with 9 additions and 1 deletions

View File

@ -12,7 +12,7 @@
Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd
Version: 229
Release: 18%{?gitcommit:.git%{gitcommitshort}}%{?dist}
Release: 19%{?gitcommit:.git%{gitcommitshort}}%{?dist}
# For a breakdown of the licensing, see README
License: LGPLv2+ and MIT and GPLv2+
Summary: A System and Service Manager
@ -332,6 +332,10 @@ CONFIGURE_OPTS=(
--with-ntp-servers='0.%{ntpvendor}.pool.ntp.org 1.%{ntpvendor}.pool.ntp.org 2.%{ntpvendor}.pool.ntp.org 3.%{ntpvendor}.pool.ntp.org'
--disable-kdbus
--disable-terminal
--enable-lz4
--enable-xz
--enable-zlib
--enable-bzip
)
%configure \
@ -974,6 +978,10 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd
/usr/lib/firewalld/services/*
%changelog
* Tue Feb 07 2017 Susant Sahani <susant@redhat.com> - 229-19
- Make sure we have our compressions libs ready (#1404406)
* Tue Feb 07 2017 Michal Sekletar <msekleta@redhat.com> - 229-18
- fix buildsystem to check for lz4 correctly (#1419912)