modify to generate debug file
This commit is contained in:
parent
f815d4cde4
commit
619162bfa6
@ -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 <gaihuiying1@huawei.com> - 3.3.1-2
|
||||
- Type:requirements
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:modify to generate debug rpms
|
||||
|
||||
* Tue Feb 02 2021 xihaochen <xihaochen@huawei.com> - 3.3.1-1
|
||||
- Type:requirements
|
||||
- Id:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user