Accepting request 1156932 from home:mgerstner:branches:Base:System

- Update to version 1699_20240307:
  * build system: migrate from Makefile to Meson
- adjust spec file to meson build

OBS-URL: https://build.opensuse.org/request/show/1156932
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=336
This commit is contained in:
Wolfgang Frisch 2024-03-11 13:01:23 +00:00 committed by Git OBS Bridge
parent 05ac334898
commit 9be1bb5d47
5 changed files with 17 additions and 8 deletions

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/permissions.git</param>
<param name="changesrevision">0f100169e4f8602bc90231db383568e58be66609</param></service></servicedata>
<param name="changesrevision">ceaf1aa2a54de49f590ef80fd6a5fa68a16448a0</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:835366bfcc27181c89361163edcbd31cbce9a4babe9d2dd4e509dd51e473fbb2
size 47420

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6085c6cf441ca8d8b402ed2e0ee9e5324d4131bf71bb93a5d2a355765860e47
size 47532

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Mar 11 12:14:10 UTC 2024 - matthias.gerstner@suse.com
- Update to version 1699_20240307:
* build system: migrate from Makefile to Meson
- adjust spec file to meson build
-------------------------------------------------------------------
Tue Mar 05 14:37:57 UTC 2024 - filippo.bonazzi@suse.com

View File

@ -17,7 +17,7 @@
Name: permissions
Version: 1699_20240305
Version: 1699_20240307
Release: 0
Summary: SUSE Linux Default Permissions
# Maintained in github by the security team.
@ -29,6 +29,7 @@ Source2: permissions.rpmlintrc
BuildRequires: gcc-c++
BuildRequires: libcap-devel
BuildRequires: libcap-progs
BuildRequires: meson
BuildRequires: python-rpm-macros
BuildRequires: tclap
# test suite
@ -41,10 +42,11 @@ Provides: aaa_base:%{_datadir}/permissions
%autosetup
%build
make %{?_smp_mflags} CXXFLAGS="%{optflags}"
%meson
%meson_build
%install
%make_install fillupdir=%{_fillupdir}
%meson_install
# Fix shebang in scripts: Remove dependency on /usr/bin/python3,
# making scripts to depends on the real python3 binary, not the link.
# (bsc#1212476)
@ -56,7 +58,7 @@ done
%check
# will fail on qemu with unshare: unshare failed: Invalid argument
%if !0%{?qemu_user_space_build}
tests/regtest.py --skip-make > /dev/null
tests/regtest.py --skip-build %_vpath_builddir >/dev/null
%endif
%description