SHA256
1
0
forked from pool/systemd

Accepting request 574684 from home:fbui:systemd:Factory

- Import commit 4a6a1e4f0b02e6cedf7eba93b85a6dd968f875c7
  db1d8eacd compat-rules: make path_id_compat build with meson
- Drop 0001-compat-rules-make-path_id_compat-build-with-meson.patch
  which is now part of the git repo (see above).

OBS-URL: https://build.opensuse.org/request/show/574684
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1011
This commit is contained in:
Franck Bui 2018-02-09 14:26:29 +00:00 committed by Git OBS Bridge
parent dc9b88ddb3
commit c233b7b35d
6 changed files with 24 additions and 47 deletions

View File

@ -1,41 +0,0 @@
From 1cbe23da27e68bd3c7ca2a2fe6007d9a53533de9 Mon Sep 17 00:00:00 2001
From: Franck Bui <fbui@suse.com>
Date: Fri, 2 Feb 2018 17:58:19 +0100
Subject: [PATCH 1/1] compat-rules: make path_id_compat build with meson
---
src/udev/compat/meson.build | 11 +++++++++++
src/udev/meson.build | 2 ++
2 files changed, 13 insertions(+)
create mode 100644 src/udev/compat/meson.build
diff --git a/src/udev/compat/meson.build b/src/udev/compat/meson.build
new file mode 100644
index 000000000..0d77da2e1
--- /dev/null
+++ b/src/udev/compat/meson.build
@@ -0,0 +1,11 @@
+foreach prog : ['path_id_compat.c']
+
+ executable(prog.split('.')[0],
+ prog,
+ include_directories : includes,
+ c_args : ['-DLOG_REALM=LOG_REALM_UDEV'],
+ link_with : [libudev_internal],
+ install_rpath : udev_rpath,
+ install : true,
+ install_dir : udevlibexecdir)
+endforeach
diff --git a/src/udev/meson.build b/src/udev/meson.build
index 13cd26bb8..4aa431ecc 100644
--- a/src/udev/meson.build
+++ b/src/udev/meson.build
@@ -151,3 +151,5 @@ install_data(udev_pc,
meson.add_install_script('sh', '-c',
mkdir_p.format(join_paths(sysconfdir, 'udev/rules.d')))
+
+subdir('compat')
--
2.15.1

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:67c4157ca16b0e7ee1d02b11463df889aac4f25f682388357da029125eb3e367 oid sha256:3ebafff50a8ea2bce9ed34712b14947d8754fbdd4a1c085aa9dd285450e8dd2d
size 3353968 size 3354512

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Feb 9 14:01:24 UTC 2018 - fbui@suse.com
- Import commit 4a6a1e4f0b02e6cedf7eba93b85a6dd968f875c7
db1d8eacd compat-rules: make path_id_compat build with meson
- Drop 0001-compat-rules-make-path_id_compat-build-with-meson.patch
which is now part of the git repo (see above).
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 9 07:59:56 UTC 2018 - fbui@suse.com Fri Feb 9 07:59:56 UTC 2018 - fbui@suse.com

View File

@ -159,7 +159,6 @@ Source1065: udev-remount-tmpfs
# broken in upstream and need an urgent fix. Even in this case, the # broken in upstream and need an urgent fix. Even in this case, the
# patches are temporary and should be removed as soon as a fix is # patches are temporary and should be removed as soon as a fix is
# merged by upstream. # merged by upstream.
Patch1: 0001-compat-rules-make-path_id_compat-build-with-meson.patch
%description %description
Systemd is a system and service manager, compatible with SysV and LSB Systemd is a system and service manager, compatible with SysV and LSB
@ -404,7 +403,7 @@ Some systemd commands offer bash completion, but it is an optional dependency.
%prep %prep
%setup -q -n systemd-%{version} %setup -q -n systemd-%{version}
%autopatch -p1 # %autopatch -p1
%build %build
# keep split-usr until all packages have moved their systemd rules to /usr # keep split-usr until all packages have moved their systemd rules to /usr

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Feb 9 14:01:24 UTC 2018 - fbui@suse.com
- Import commit 4a6a1e4f0b02e6cedf7eba93b85a6dd968f875c7
db1d8eacd compat-rules: make path_id_compat build with meson
- Drop 0001-compat-rules-make-path_id_compat-build-with-meson.patch
which is now part of the git repo (see above).
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 9 07:59:56 UTC 2018 - fbui@suse.com Fri Feb 9 07:59:56 UTC 2018 - fbui@suse.com

View File

@ -157,7 +157,6 @@ Source1065: udev-remount-tmpfs
# broken in upstream and need an urgent fix. Even in this case, the # broken in upstream and need an urgent fix. Even in this case, the
# patches are temporary and should be removed as soon as a fix is # patches are temporary and should be removed as soon as a fix is
# merged by upstream. # merged by upstream.
Patch1: 0001-compat-rules-make-path_id_compat-build-with-meson.patch
%description %description
Systemd is a system and service manager, compatible with SysV and LSB Systemd is a system and service manager, compatible with SysV and LSB
@ -402,7 +401,7 @@ Some systemd commands offer bash completion, but it is an optional dependency.
%prep %prep
%setup -q -n systemd-%{version} %setup -q -n systemd-%{version}
%autopatch -p1 # %autopatch -p1
%build %build
# keep split-usr until all packages have moved their systemd rules to /usr # keep split-usr until all packages have moved their systemd rules to /usr