From 619162bfa6a37919a3695e7fcd68520423785e46 Mon Sep 17 00:00:00 2001 From: eaglegai Date: Sat, 4 Sep 2021 11:12:23 +0800 Subject: [PATCH] modify to generate debug file --- python-ldap.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/python-ldap.spec b/python-ldap.spec index 5fd5401..4ba3abc 100644 --- a/python-ldap.spec +++ b/python-ldap.spec @@ -1,7 +1,6 @@ -%define debug_package %{nil} Name: python-ldap Version: 3.3.1 -Release: 1 +Release: 2 Summary: An object-oriented API to access LDAP directory servers License: Python URL: http://python-ldap.org/ @@ -39,7 +38,7 @@ OpenLDAP 2.x libraries, and contains modules for other LDAP-related tasks\ find . -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python3}|' sed -i 's,-Werror,-Wignore,g' tox.ini %build -%_bindir/python3 setup.py build '--executable=%_bindir/python3 -s' +%py3_build %install %_bindir/python3 setup.py install -O1 --skip-build --root %buildroot @@ -56,6 +55,12 @@ sed -i 's,-Werror,-Wignore,g' tox.ini %doc CHANGES README TODO Demo %changelog +* Mon Sep 06 2021 gaihuiying - 3.3.1-2 +- Type:requirements +- Id:NA +- SUG:NA +- DESC:modify to generate debug rpms + * Tue Feb 02 2021 xihaochen - 3.3.1-1 - Type:requirements - Id:NA -- Gitee