Compare commits
10 Commits
a95f14a72e
...
bdc548865b
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | bdc548865b | |
Zbigniew Jędrzejewski-Szmek | e8d02128c9 | |
Daan De Meyer | dc3dcc0114 | |
Daan De Meyer | 104532bab2 | |
Daan De Meyer | 0a51fe1e6b | |
Zbigniew Jędrzejewski-Szmek | 7740aea610 | |
Daan De Meyer | 3520bb5c92 | |
Daan De Meyer | 74b3ef386f | |
Daan De Meyer | 4c5b844e62 | |
Daan De Meyer | 3f65739521 |
2
sources
2
sources
|
@ -1 +1 @@
|
|||
SHA512 (systemd-255.3.tar.gz) = c2868a53df2176649b0d0c94e5d451c46ba783bcdbc89ce12434ed2d11dba44b4854ffe4c2430f3f64eef2e214cbb51d5f740170afbd9edd66761a8851157453
|
||||
SHA512 (systemd-255.4.tar.gz) = 8a2bde11a55f7f788ba7751789a5e9be6ce9634e88d54e49f6e832c4c49020c6cacaf2a610fe26f92998b0cbf43c6c2150a96b2c0953d23261009f57d71ea979
|
||||
|
|
45
systemd.spec
45
systemd.spec
|
@ -33,13 +33,15 @@
|
|||
|
||||
Name: systemd
|
||||
Url: https://systemd.io
|
||||
%if %{without upstream}
|
||||
Version: 255.3
|
||||
%else
|
||||
# determine the build information from local checkout
|
||||
Version: %(tools/meson-vcs-tag.sh . error | sed -r 's/-([0-9])/.^\1/; s/-g/_g/')
|
||||
|
||||
%ifarch riscv64
|
||||
%define release_override 1.0.riscv64
|
||||
%endif
|
||||
Release: %autorelease
|
||||
|
||||
# Allow users to specify the version and release when building the rpm by
|
||||
# setting the %%version_override and %%release_override macros.
|
||||
Version: %{?version_override}%{!?version_override:255.4}
|
||||
Release: %{?release_override:%{release_override}%{?dist}}%{!?release_override:%autorelease}
|
||||
|
||||
%global stable %(c="%version"; [ "$c" = "${c#*.*}" ]; echo $?)
|
||||
|
||||
|
@ -113,12 +115,12 @@ Patch0490: use-bfq-scheduler.patch
|
|||
# https://bugzilla.redhat.com/show_bug.cgi?id=2251843
|
||||
Patch0491: https://github.com/systemd/systemd/pull/30846.patch
|
||||
|
||||
%endif
|
||||
|
||||
# Adjust upstream config to use our shared stack
|
||||
Patch0499: fedora-use-system-auth-in-pam-systemd-user.patch
|
||||
|
||||
%endif
|
||||
|
||||
%ifarch %{ix86} x86_64 aarch64
|
||||
%ifarch %{ix86} x86_64 aarch64 riscv64
|
||||
%global want_bootloader 1
|
||||
%endif
|
||||
|
||||
|
@ -204,7 +206,9 @@ BuildRequires: libseccomp-devel
|
|||
BuildRequires: meson >= 0.43
|
||||
BuildRequires: gettext
|
||||
# We use RUNNING_ON_VALGRIND in tests, so the headers need to be available
|
||||
%ifarch %{valgrind_arches}
|
||||
BuildRequires: valgrind-devel
|
||||
%endif
|
||||
BuildRequires: pkgconfig(bash-completion)
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(IPC::SysV)
|
||||
|
@ -290,6 +294,15 @@ Recommends: libcryptsetup.so.12%{?elf_suffix}
|
|||
Recommends: libcryptsetup.so.12(CRYPTSETUP_2.4)%{?elf_bits}
|
||||
|
||||
%if %{with upstream}
|
||||
# Libkmod is used to load modules.
|
||||
Recommends: libkmod.so.2%{?elf_suffix}
|
||||
# kmod_list_next, kmod_load_resources, kmod_module_get_initstate,
|
||||
# kmod_module_get_module, kmod_module_get_name, kmod_module_new_from_lookup,
|
||||
# kmod_module_probe_insert_module, kmod_module_unref, kmod_module_unref_list,
|
||||
# kmod_new, kmod_set_log_fn, kmod_unref, kmod_validate_resources
|
||||
# are part of LIBKMOD_5.
|
||||
Recommends: libkmod.so.2(LIBKMOD_5)%{?elf_bits}
|
||||
|
||||
Recommends: libarchive.so.13%{?elf_suffix}
|
||||
%endif
|
||||
|
||||
|
@ -371,6 +384,13 @@ Obsoletes: udev < 183
|
|||
Requires: (grubby > 8.40-72 if grubby)
|
||||
Requires: (sdubby > 1.0-3 if sdubby)
|
||||
|
||||
%if %{with upstream}
|
||||
# Libkmod is used to load modules. Assume that if we need udevd, we certainly
|
||||
# want to load modules, so make this into a hard dependency here.
|
||||
Requires: libkmod.so.2%{?elf_suffix}
|
||||
Requires: libkmod.so.2(LIBKMOD_5)%{?elf_bits}
|
||||
%endif
|
||||
|
||||
# Recommends to replace normal Requires deps for stuff that is dlopen()ed
|
||||
# used by dissect, integritysetup, veritysetyp, growfs, repart, cryptenroll, home
|
||||
Recommends: libcryptsetup.so.12%{?elf_suffix}
|
||||
|
@ -659,12 +679,11 @@ CONFIGURE_OPTS=(
|
|||
-Dnobody-group=nobody
|
||||
-Dcompat-mutable-uid-boundaries=true
|
||||
-Dsplit-bin=true
|
||||
-Db_lto=%[%{with lto}?"true":"false"]
|
||||
-Db_ndebug=false
|
||||
-Dman=enabled
|
||||
-Dversion-tag=%{version}-%{release}
|
||||
-Dversion-tag=%{version}%[%{without upstream}?"-%{release}":""]
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1906010
|
||||
-Dshared-lib-tag=%{version_no_tilde}-%{release}
|
||||
-Dshared-lib-tag=%{version_no_tilde}%[%{without upstream}?"-%{release}":""]
|
||||
-Dfallback-hostname="localhost"
|
||||
-Ddefault-dnssec=no
|
||||
-Ddefault-dns-over-tls=no
|
||||
|
@ -713,7 +732,7 @@ CONFIGURE_OPTS=(
|
|||
%global _lto_cflags %nil
|
||||
%endif
|
||||
|
||||
{ %meson "${CONFIGURE_OPTS[@]}"; }
|
||||
{ %meson "${CONFIGURE_OPTS[@]}" %{?meson_extra_configure_options} ; }
|
||||
|
||||
%meson_build
|
||||
|
||||
|
|
Loading…
Reference in New Issue