From ac1d0352de0fb9fa10e4ab0713f4b042af70d1c1 Mon Sep 17 00:00:00 2001 From: yeah_wang Date: Sat, 20 Mar 2021 15:21:28 +0800 Subject: [PATCH] stripbinaryfiles (cherry picked from commit ad994abaae1775a8eb399e65aa82d397f8948c5d) --- python-dmidecode.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-dmidecode.spec b/python-dmidecode.spec index 8b7c546..2e88c55 100644 --- a/python-dmidecode.spec +++ b/python-dmidecode.spec @@ -2,7 +2,7 @@ Name: python-dmidecode Version: 3.12.2 -Release: 20 +Release: 21 Summary: Python extension module for dmidecode License: GPLv2 @@ -41,7 +41,7 @@ data structures or XML data. sed -i 's/python2/python3/g' Makefile unit-tests/Makefile %build -export CFLAGS="${CFLAGS-} -std=gnu89" +export CFLAGS="${CFLAGS-} -std=gnu89 -s" make build %install @@ -65,6 +65,9 @@ popd %doc README doc/README.upstream %changelog +* Sat Mar 20 2021 Dehui Fan - 3.12.2-20 +- strip binary files + * Fri Oct 30 2020 chengguipeng - 3.12.2-20 - remove python2-dmidecode subpackage