From cd5e514a61d46ac06d01a32c50c4055a38bd6557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=90=E5=B0=8F=E5=93=A5?= Date: Sat, 20 Mar 2021 13:24:09 +0800 Subject: [PATCH] strip binary files --- python-systemd.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-systemd.spec b/python-systemd.spec index b29b001..7394fbd 100644 --- a/python-systemd.spec +++ b/python-systemd.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: python-systemd Version: 234 -Release: 11 +Release: 12 Summary: Python module for native access to the systemd facilities. License: LGPLv2+ URL: https://github.com/systemd/%{name} @@ -37,7 +37,7 @@ Systemed functionality for Python3 Packages. sed -i 's/py\.test/pytest/' Makefile %build -%make_build PYTHON=%{__python3} +%make_build PYTHON=%{__python3} CFLAGS="$RPM_OPT_FLAGS -s" %make_build PYTHON=%{__python3} SPHINX_BUILD=sphinx-build-3 sphinx-html rm -rf build/html/.buildinfo build/html/.doctrees @@ -62,6 +62,9 @@ make check PYTHON=%{__python3} %exclude %{_pkgdocdir}/html %changelog +* Sat Mar 20 2021 shixuantong - 234-12 +- strip binary files + * Thu Oct 29 2020 tianwei - 234-11 - delete python2 -- Gitee