forked from pool/systemd
Accepting request 1174450 from home:radolin:branches:Base:System
- systemd.spec: enable tests during build OBS-URL: https://build.opensuse.org/request/show/1174450 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1522
This commit is contained in:
parent
7b1278ac37
commit
d09e66c09e
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 10:01:20 UTC 2024 - Radoslav Kolev <radoslav.kolev@suse.com>
|
||||||
|
|
||||||
|
- systemd.spec: enable tests during build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 16 08:27:27 UTC 2024 - Franck Bui <fbui@suse.com>
|
Thu May 16 08:27:27 UTC 2024 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
@ -139,6 +139,11 @@ BuildRequires: pam-devel
|
|||||||
BuildRequires: python3-Jinja2
|
BuildRequires: python3-Jinja2
|
||||||
BuildRequires: systemd-rpm-macros
|
BuildRequires: systemd-rpm-macros
|
||||||
BuildRequires: pkgconfig(blkid) >= 2.26
|
BuildRequires: pkgconfig(blkid) >= 2.26
|
||||||
|
#The following packages are only required by the tests during %check
|
||||||
|
BuildRequires: acl
|
||||||
|
BuildRequires: distribution-release
|
||||||
|
BuildRequires: python3-pefile
|
||||||
|
BuildRequires: timezone
|
||||||
|
|
||||||
%if %{with bootstrap}
|
%if %{with bootstrap}
|
||||||
#!BuildIgnore: dbus-1
|
#!BuildIgnore: dbus-1
|
||||||
@ -1089,6 +1094,10 @@ rm -fr %{buildroot}%{_docdir}/systemd
|
|||||||
%systemd_pre systemd-journald-audit.socket
|
%systemd_pre systemd-journald-audit.socket
|
||||||
%systemd_pre systemd-userdbd.service
|
%systemd_pre systemd-userdbd.service
|
||||||
|
|
||||||
|
#Execute the tests
|
||||||
|
%check
|
||||||
|
%meson_test
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ $1 -eq 1 ]; then
|
if [ $1 -eq 1 ]; then
|
||||||
# Make /etc/machine-id an empty file during package installation. On the
|
# Make /etc/machine-id an empty file during package installation. On the
|
||||||
|
Loading…
Reference in New Issue
Block a user