From 1f70f4ed8bed8e3b33dd84ad9d158ed144ffdcc2 Mon Sep 17 00:00:00 2001 From: YoungJQ Date: Mon, 3 Aug 2020 11:11:51 +0800 Subject: [PATCH] lxc : add debug packages --- lxc.spec | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/lxc.spec b/lxc.spec index 201a6a1..741c856 100644 --- a/lxc.spec +++ b/lxc.spec @@ -1,5 +1,4 @@ -%global _release 2020071501 -%global debug_package %{nil} +%global _release 2020080301 Name: lxc Version: 4.0.3 @@ -86,25 +85,21 @@ touch %{buildroot}%{_datadir}/%{name}/__pycache__/%{name} for file in $(find %{buildroot}/usr/bin/lxc-* -type f -exec file {} ';' | grep "\" | grep -vE "*\.static" | awk -F ':' '{print $1}') do - strip --strip-debug ${file} chrpath -d ${file} done for file in $(find %{buildroot}/usr/sbin/* -type f -exec file {} ';' | grep "\" | grep -vE "*\.static" | awk -F ':' '{print $1}') do - strip --strip-debug ${file} chrpath -d ${file} done for file in $(find %{buildroot}/usr/libexec/lxc/lxc-* -type f -exec file {} ';' | grep "\" | grep -vE "*\.static" | awk -F ':' '{print $1}') do - strip --strip-debug ${file} chrpath -d ${file} done -strip --strip-debug %{buildroot}/usr/lib64/liblxc.so chrpath -d %{buildroot}/usr/lib64/liblxc.so - +chmod +x %{buildroot}/usr/lib64/liblxc.so # docs mkdir -p %{buildroot}%{_pkgdocdir}/api cp -a AUTHORS README %{buildroot}%{_pkgdocdir} @@ -188,6 +183,12 @@ make check %{_mandir}/*/man7/%{name}* %changelog +* Mon Aug 03 2020 openEuler Buildteam - 4.0.3-2020080301 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC: add debug packages + * Mon Apr 20 2020 openEuler Buildteam - 4.0.3-2020071501 - Type:enhancement - ID:NA -- Gitee