diff --git a/srcpkgs/rpm/template b/srcpkgs/rpm/template index 0169c69db1..933d100c81 100644 --- a/srcpkgs/rpm/template +++ b/srcpkgs/rpm/template @@ -4,13 +4,14 @@ version=4.13.0.2 revision=1 build_style=gnu-configure configure_args="--with-lua --with-cap --with-acl --with-external-db --enable-python PYTHON=python2" -hostmakedepends="pkg-config python-setuptools nss-devel nspr-devel automake" -makedepends="zlib-devel nspr-devel nss-devel bzip2-devel elfutils-devel file-devel popt-devel -libarchive-devel db-devel python-devel libcap-devel lua52-devel zstd-devel binutils-devel" +hostmakedepends="automake gettext-devel libtool nss-devel pkg-config + python-setuptools" +makedepends="binutils-devel db-devel elfutils-devel file-devel libarchive-devel + libcap-devel lua52-devel nss-devel popt-devel python-devel" checkdepends="${makedepends}" short_desc="Red Hat Package Management Utils" maintainer="maxice8 " -license="GPL-2" +license="GPL-2.0-or-later" homepage="http://rpm.org" distfiles="http://ftp.rpm.org/releases/rpm-${version%.*.*}.x/rpm-${version}.tar.bz2" checksum=2f3e2c07c354d16f2305ddd93ed030c8403d59b272f2fb6722445b091ff14194 @@ -29,6 +30,10 @@ case "$XBPS_TARGET_MACHINE" in ;; esac +pre_configure() { + autoreconf -fi +} + post_install() { mv "${DESTDIR}"/bin/rpm "${DESTDIR}"/usr/bin/rpm rm -r "${DESTDIR}"/bin