build: fully replace make by just.
This commit is contained in:
parent
4a3a98c77d
commit
7d2229cd05
22 changed files with 113 additions and 182 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue