Add bootstrap option to break circular deps on cryptsetup

This commit is contained in:
Björn Esser 2020-04-16 13:05:54 +02:00
parent 80532792aa
commit 63698f5ea0

View File

@ -12,12 +12,15 @@
%global system_unit_dir %{pkgdir}/system %global system_unit_dir %{pkgdir}/system
%global user_unit_dir %{pkgdir}/user %global user_unit_dir %{pkgdir}/user
# Bootstrap may be needed to break intercircular dependencies with
# cryptsetup, e.g. when re-building cryptsetup on a json-c SONAME-bump.
%bcond_with bootstrap
%bcond_without tests %bcond_without tests
Name: systemd Name: systemd
Url: https://www.freedesktop.org/wiki/Software/systemd Url: https://www.freedesktop.org/wiki/Software/systemd
Version: 245.4 Version: 245.4
Release: 1%{?commit:.git%{shortcommit}}%{?dist} Release: 2%{?commit:.git%{shortcommit}}%{?dist}
# For a breakdown of the licensing, see README # For a breakdown of the licensing, see README
License: LGPLv2+ and MIT and GPLv2+ License: LGPLv2+ and MIT and GPLv2+
Summary: System and Service Manager Summary: System and Service Manager
@ -85,7 +88,9 @@ BuildRequires: libpwquality-devel
BuildRequires: pam-devel BuildRequires: pam-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: audit-libs-devel BuildRequires: audit-libs-devel
%if %{without bootstrap}
BuildRequires: cryptsetup-devel BuildRequires: cryptsetup-devel
%endif
BuildRequires: dbus-devel BuildRequires: dbus-devel
BuildRequires: libacl-devel BuildRequires: libacl-devel
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
@ -341,7 +346,11 @@ CONFIGURE_OPTS=(
-Dgcrypt=true -Dgcrypt=true
-Daudit=true -Daudit=true
-Delfutils=true -Delfutils=true
%if %{without bootstrap}
-Dlibcryptsetup=true -Dlibcryptsetup=true
%else
-Dlibcryptsetup=false
%endif
-Delfutils=true -Delfutils=true
-Dpwquality=true -Dpwquality=true
-Dqrencode=true -Dqrencode=true
@ -761,6 +770,9 @@ fi
%files tests -f .file-list-tests %files tests -f .file-list-tests
%changelog %changelog
* Thu Apr 16 2020 Björn Esser <besser82@fedoraproject.org> - 245.4-2
- Add bootstrap option to break circular deps on cryptsetup
* Wed Apr 1 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 245.4-1 * Wed Apr 1 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 245.4-1
- Update to latest stable version (#1814454) - Update to latest stable version (#1814454)