cabal_tweak_dep_ver: use backup arg as extra suffix prefix

epel9
Jens Petersen 13 years ago
parent 8a8de3a39a
commit bab627bc22

@ -24,7 +24,7 @@ fi
if ! grep -q "%1[ >=].*%2"; then\
exit 1\
fi\
sed -i.%{?3}%{!?3:%1} -e "s/\(%1[ >=].*\)%2/\1%3/g" %{pkg_name}-%{version}/%{pkg_name}.cabal
sed -i.%{?3}%1 -e "s/\(%1[ >=].*\)%2/\1%3/g" %{pkg_name}-%{version}/%{pkg_name}.cabal
# configure
%cabal_configure\

Loading…
Cancel
Save