Commit e798a893 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbps: add spec workaround for OSNovaLinux (really needed for all foreign distro?)

parent 1d1c9641
......@@ -184,6 +184,20 @@ else
test -z "$VERBOSE" || echo "Build package with release $TXTRELEASE"
ADDDEF="%defattr(-, root, root)"
CLEANTEXT=""
if [ "$DISTRNAME" = "OSNovaLinux" ] ; then
subst "s|^Epoch: .*||g" $SPECNAME
fi
# TODO: move it to rpm-build-intro?
subst "s|^%filter_from_requires.*||" $SPECNAME
subst "s|^%def_enable man|%def_disable man|" $SPECNAME
subst "s|^%def_enable test|%def_disable test|" $SPECNAME
# https://bugzilla.altlinux.org/13937
subst "s|^%make_install|make INSTALL='install -p'|" $SPECNAME
fi
# configure32 is obsoleted
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment