From f2092ce36ad426d0855f80952d45b04e376878e5 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 16 Feb 2009 13:16:24 +0000 Subject: [PATCH] Updated rpm make script git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13423 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/redhat/rpm-make-gosa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/redhat/rpm-make-gosa b/gosa-core/redhat/rpm-make-gosa index a7bd42500..1965cc039 100755 --- a/gosa-core/redhat/rpm-make-gosa +++ b/gosa-core/redhat/rpm-make-gosa @@ -15,7 +15,7 @@ provides=$(awk /provides/ $1/plugin.dsc | awk '{ print $3 }') release=0 echo "Creating Spec file..." -cat << EOF | sed -e "s/@@NAME@@/$name/g" -e "s/@@DESCRIPTION@@/$description/g" -e "s/@@VERSION@@/$version/g" -e "s/@@AUTHOR@@/$author/g" -e "s#@@HOMEPAGE@@#$homepage#g" -e "s/@@DEPENDS@@/$depends/g" -e "s/@@CONFLICTS@@/$conflicts/g" -e "s/@@PROVIDES@@/$provides/g" -e "s/@@RELEASE@@/$release/g" -e "s/@@.*@@/not_defined/g" > $configfile +cat << EOF | sed -e "s%@@NAME@@%$name%g" -e "s%@@DESCRIPTION@@%$description%g" -e "s%@@VERSION@@%$version%g" -e "s%@@AUTHOR@@%$author%g" -e "s%@@HOMEPAGE@@%$homepage%g" -e "s%@@DEPENDS@@%$depends%g" -e "s%@@CONFLICTS@@%$conflicts%g" -e "s%@@PROVIDES@@%$provides%g" -e "s%@@RELEASE@@%$release%g" -e "s%@@.*@@%not_defined%g" > $configfile # Some sort of "detection" of suse %{?suse_version:%define suse 1} %{!?suse_version:%define suse 0} -- 2.30.2