Commit d5d584f9 authored by Vitaly Lipatov's avatar Vitaly Lipatov

small fixes

parent 825de223
......@@ -154,7 +154,7 @@ extract_tarball_to_dest()
local TARNAME=$(querypackage $1 "" "%{NAME}-%{VERSION}")
# FIXME: hack to replace alt release to eter
local TARGETTARNAME=$(querypackage $1 "" "%{NAME}-%{VERSION}-%{RELEASE}" | sed -e "s/-alt/-eter/g")
erc conv $TARNAME*.tar* $2/$TARGETTARNAME.tar.bz2
erc --force conv $TARNAME*.tar* $2/$TARGETTARNAME.tar.bz2
make_md5sum $2 $TARGETTARNAME.tar.bz2
# copy other tarballs
for i in $(ls -1 *.tar* | grep -v "^$TARNAME.*\.tar.*") ; do
......
......@@ -150,6 +150,7 @@ function source_ext()
test -n "$NEWSOURCE" || fatal "Can't extract URL from $Source$3-$2"
# Fake replace for correct subst variables
NEWSOURCE="$(echo "$NEWSOURCE" | sed -e 's|\&|\\&|g')"
# TODO: use special field before %build
cat $1 | sed -e "s|^Summary:.*|Summary: $NEWSOURCE|g" > $TMPSPEC
GETSOURCEEXT=$(eval_spec "$TMPSPEC" | get_var "Summary")
rm -f "$TMPSPEC"
......
kernel-build-tools|kernel-build-tools kernel-headers-modules-ovz-rhel kernel-headers-modules-ovz-smp kernel-headers-modules-std-def
rpm-build-intro|rpm-build-compat
libavformat53|libavformat52
libavcodec53|libavcodec52
libv4l-devel|libv4l-devel
......
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