diff --git a/python-systemd.spec b/python-systemd.spec index b29b00114b19753a1d8488d626a057e89b9e1c1f..7394fbdb4887d7d8c6523e761b0fdcff5a4af6ec 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