Skip to content

Commit

Permalink
archivers/rpm4: fix packaging for plugins (+)
Browse files Browse the repository at this point in the history
RPM installs plugins to separated subdir, and all of them was missed from plist.
Moreover, with disabled PLUGINS option, listed manpages are missing.

Fix it by wrap with sub macro.
Bump PORTREVISION due to plist changes.

Reporded by:	poudriere build
Pointy hat to:	rodrigo (for not use poudriere to catch leftovers)
Approved by:	portmgr blanket (fix packaging)
Sponsored by:	Netzkommune GmbH
  • Loading branch information
fluffykhv committed Feb 23, 2022
1 parent d6282ca commit 3eb5190
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions archivers/rpm4/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

PORTNAME= rpm
PORTVERSION= 4.17.0
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://ftp.rpm.org/releases/rpm-4.17.x/
PKGNAMESUFFIX= 4
Expand Down
11 changes: 11 additions & 0 deletions archivers/rpm4/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ bin/rpmquery
bin/rpmsign
bin/rpmspec
bin/rpmverify
%%PLUGINS%%etc/dbus-1/system.d/org.rpm.conf
include/rpm/argv.h
include/rpm/header.h
include/rpm/rpmarchive.h
Expand Down Expand Up @@ -58,6 +59,10 @@ lib/librpmio.so.9.2.0
lib/librpmsign.so
lib/librpmsign.so.9
lib/librpmsign.so.9.2.0
%%PLUGINS%%lib/rpm-plugins/dbus_announce.so
%%PLUGINS%%lib/rpm-plugins/prioreset.so
%%PLUGINS%%lib/rpm-plugins/syslog.so
%%PLUGINS%%lib/rpm-plugins/systemd_inhibit.so
lib/rpm/brp-elfperms
lib/rpm/brp-compress
lib/rpm/brp-remove-la-files
Expand Down Expand Up @@ -176,6 +181,11 @@ man/ko/man8/rpm.8.gz
man/ko/man8/rpm2cpio.8.gz
man/man1/gendiff.1.gz
man/man8/rpm-misc.8.gz
%%PLUGINS%%man/man8/rpm-plugin-dbus-announce.8.gz
%%PLUGINS%%man/man8/rpm-plugin-prioreset.8.gz
%%PLUGINS%%man/man8/rpm-plugin-syslog.8.gz
%%PLUGINS%%man/man8/rpm-plugin-systemd-inhibit.8.gz
%%PLUGINS%%man/man8/rpm-plugins.8.gz
man/man8/rpm.8.gz
man/man8/rpm2archive.8.gz
man/man8/rpm2cpio.8.gz
Expand Down Expand Up @@ -234,5 +244,6 @@ man/sk/man8/rpm.8.gz
%%NLS%%share/locale/vi/LC_MESSAGES/rpm.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/rpm.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/rpm.mo
%%PLUGINS%%@dir lib/rpm-plugins
@dir lib/rpm/lua
@dir lib/rpm/macros.d

0 comments on commit 3eb5190

Please sign in to comment.