From c72ef26ec88533b30edd1744e9148f89c731590f839f7a1634dce04e64fec0e3 Mon Sep 17 00:00:00 2001 From: Aurelien Aptel Date: Tue, 3 Apr 2018 10:26:56 +0000 Subject: [PATCH] Accepting request 590371 from home:dimstar:Factory - BuildRequire pkgconfig(systemd) and pkgconfig(libsystemd) in place of systemd and systemd-devel: Allow OBS to optimize the workload by allowing the usage of the 'build-optimized' systemd packages. The build failure seen in my branch is unrelated to this change! OBS-URL: https://build.opensuse.org/request/show/590371 OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=594 --- samba.changes | 8 ++++++++ samba.spec | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/samba.changes b/samba.changes index eb135c8..ff8b8bb 100644 --- a/samba.changes +++ b/samba.changes @@ -6,6 +6,14 @@ Mon Mar 26 22:37:15 UTC 2018 - jengelh@inai.de + Remove redundant %clean section + Replace old $RPM_* shell vars with macros +------------------------------------------------------------------- +Thu Mar 22 16:28:02 UTC 2018 - dimstar@opensuse.org + +- BuildRequire pkgconfig(systemd) and pkgconfig(libsystemd) in + place of systemd and systemd-devel: Allow OBS to optimize the + workload by allowing the usage of the 'build-optimized' systemd + packages. + ------------------------------------------------------------------- Thu Mar 22 14:20:44 UTC 2018 - dmulder@suse.com diff --git a/samba.spec b/samba.spec index 8bcfef2..16de062 100644 --- a/samba.spec +++ b/samba.spec @@ -149,8 +149,8 @@ BuildRequires: libxslt-tools %if 0%{?suse_version} > 1220 BuildRequires: libavahi-devel # To only BuildRequire systemd-rpm-macros leads to broken binaries -BuildRequires: systemd -BuildRequires: systemd-devel +BuildRequires: pkgconfig(systemd) +BuildRequires: pkgconfig(libsystemd) %endif %if 0%{?build_ctdb_pmda} BuildRequires: libpcp-devel