app-admin/logrotate: Fix path in service unit and remove src_compile

Closes: https://github.com/gentoo/gentoo/pull/5037

Package-Manager: Portage-2.3.6, Repoman-2.3.1
This commit is contained in:
Chris Mayo
2017-07-12 13:37:39 +02:00
committed by Chema Alonso Josa
parent 201c58661b
commit 43da3507ab

View File

@@ -38,8 +38,8 @@ PATCHES=(
)
src_prepare() {
default
sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.cron || die
sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' "${S}"/examples/logrotate.{cron,service} || die
eapply_user
}
src_configure() {
@@ -49,10 +49,6 @@ src_configure() {
econf $(use_with acl) $(use_with selinux) ${compressconf}
}
src_compile() {
emake RPM_OPT_FLAGS="${CFLAGS}"
}
src_test() {
emake test
}