aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/rpm/create-pkg.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/rpm/create-pkg.sh')
-rw-r--r--pkg/rpm/create-pkg.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/rpm/create-pkg.sh b/pkg/rpm/create-pkg.sh
index 5557f89..ec3bd75 100644
--- a/pkg/rpm/create-pkg.sh
+++ b/pkg/rpm/create-pkg.sh
@@ -43,11 +43,11 @@ sed -i "s/@{LIB_VERSION}/${lib_version}/" SPECS/${project}-${pkg_version}.spec
sed -i "s/@{ABI_VERSION}/${abi_version}/" SPECS/${project}-${pkg_version}.spec
-if cat /etc/os-release | grep "NAME=openSUSE Leap"
+if cat /etc/os-release | grep "openSUSE Leap"
then
# opensuse doesn't generate debug symbols by defaul, check spec file
# for comment
- sed -i 's/# __DEBUG_PACKAGE_/%debug_package/' \
+ sed -i 's/# __DEBUG_PACKAGE__/%debug_package/' \
SPECS/${project}-${pkg_version}.spec
fi