Skip to content

Commit

Permalink
Merge setools 4.5.1-1 update
Browse files Browse the repository at this point in the history
  • Loading branch information
fishilico committed May 4, 2024
2 parents 9f7d15f + ef397de commit 2616b18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
8 changes: 4 additions & 4 deletions setools/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgbase = setools
pkgdesc = Policy analysis tools for SELinux
pkgver = 4.5.0
pkgver = 4.5.1
pkgrel = 1
url = https://github.com/SELinuxProject/setools/wiki
arch = i686
Expand All @@ -21,9 +21,9 @@ pkgbase = setools
optdepends = python-graphviz: for seinfoflow, sedta, apol
optdepends = python-pyqt6: needed for graphical tools
optdepends = qt6-tools: display apol help with Qt Assistant
provides = selinux-setools=4.5.0-1
provides = selinux-setools=4.5.1-1
conflicts = selinux-setools
source = https://github.com/SELinuxProject/setools/releases/download/4.5.0/setools-4.5.0.tar.bz2
sha256sums = 68469ae9bd114b42bba4cb41795577ca1e4f50e3e4234817f13ff1a8bbd9ce77
source = https://github.com/SELinuxProject/setools/releases/download/4.5.1/setools-4.5.1.tar.bz2
sha256sums = 25e47d00bbffd6046f55409c9ba3b08d9b1d5788cc159ea247d9e0ced8e482e7

pkgname = setools
11 changes: 2 additions & 9 deletions setools/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# - replace setools 3.3.8 with setools3-libs and install setools then.

pkgname=setools
pkgver=4.5.0
pkgver=4.5.1
pkgrel=1
pkgdesc="Policy analysis tools for SELinux"
groups=('selinux')
Expand All @@ -34,14 +34,7 @@ checkdepends=('checkpolicy' 'python-pytest')
conflicts=("selinux-${pkgname}")
provides=("selinux-${pkgname}=${pkgver}-${pkgrel}")
source=("https://github.com/SELinuxProject/setools/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('68469ae9bd114b42bba4cb41795577ca1e4f50e3e4234817f13ff1a8bbd9ce77')

prepare() {
cd "${pkgname}"

# Fix https://github.com/SELinuxProject/setools/issues/124
sed "s/package_data={'': \['\*\.html'\],/package_data={'': ['*.html', '*.css'],/" -i setup.py
}
sha256sums=('25e47d00bbffd6046f55409c9ba3b08d9b1d5788cc159ea247d9e0ced8e482e7')

build() {
cd "${pkgname}"
Expand Down

0 comments on commit 2616b18

Please sign in to comment.