diff options
author | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2018-11-12 12:03:23 +0100 |
---|---|---|
committer | Michał Łyszczek <michal.lyszczek@bofc.pl> | 2019-02-18 12:53:26 +0100 |
commit | f9ff41939f874c598e5db25ae55309f73d262770 (patch) | |
tree | ff5e029786f42148975191ad4dcc2edaacc97593 | |
parent | a69bcfd26c95ab96f530c3d6aa312d42c16ecd5c (diff) | |
download | librb-f9ff41939f874c598e5db25ae55309f73d262770.tar.gz librb-f9ff41939f874c598e5db25ae55309f73d262770.tar.bz2 librb-f9ff41939f874c598e5db25ae55309f73d262770.zip |
pkg/rpm: fix debug info generation on opensuse
-rw-r--r-- | pkg/rpm/create-pkg.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/rpm/create-pkg.sh b/pkg/rpm/create-pkg.sh index e49f1a2..c883c31 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 |