build: fully replace make by just.

This commit is contained in:
Alexandre Pujol 2025-07-22 23:18:00 +02:00 committed by Alex
parent 4a3a98c77d
commit 7d2229cd05
22 changed files with 113 additions and 182 deletions

View file

@ -15,6 +15,7 @@ URL: https://github.com/roddhjav/apparmor.d
Source0: %{name}-%{version}.tar.gz
Requires: apparmor-profiles
BuildRequires: distribution-release
BuildRequires: just
BuildRequires: golang-packaging
BuildRequires: apparmor-profiles
@ -25,10 +26,10 @@ AppArmor.d is a set of over 1500 AppArmor profiles whose aim is to confine most
%autosetup
%build
%make_build
just complain
%install
%make_install
just destdir="%{buildroot}" install
%posttrans
rm -f /var/cache/apparmor/* 2>/dev/null

View file

@ -3,7 +3,7 @@
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# Usage: make [ dpkg | pkg | rpm ]
# Usage: just [ dpkg | pkg | rpm ]
set -eu -o pipefail

View file

@ -2,7 +2,7 @@
# File format: one ignore by line, it can be a profile name or a directory to ignore
# Contains profiles and configuration for full system confinement, only included
# when built with 'make full'
# when built with 'just fsp'
apparmor.d/groups/_full
# Provided by other packages