From 59c4a11db8773d9178a6acd93028060b4ecb52b5 Mon Sep 17 00:00:00 2001 From: dogsheng <960055655@qq.com> Date: Sat, 30 Nov 2019 10:33:23 +0800 Subject: [PATCH] solve --- python-cffi.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python-cffi.spec b/python-cffi.spec index 4793925..a2c8866 100644 --- a/python-cffi.spec +++ b/python-cffi.spec @@ -6,13 +6,14 @@ based on C-like declarations that you can often copy-paste from header files or Name: python-%{_name} Version: 1.11.5 -Release: 9 +Release: 10 Summary: %{_summary} License: MIT URL: http://cffi.readthedocs.org Source0: https://files.pythonhosted.org/packages/source/c/cffi/%{_name}-%{version}.tar.gz -Buildrequires: gdb libffi-devel gcc-c++ +Buildrequires: gdb libffi-devel gcc-c++ gcc +%?python_enable_dependency_generator %description %{_description} @@ -51,14 +52,14 @@ PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest c/ testing/ %defattr(-,root,root) %doc LICENSE AUTHORS %{python2_sitearch}/%{_name}/* -%{python2_sitearch}/%{_name}*info/* +%{python2_sitearch}/%{_name}*info/ %{python2_sitearch}/_%{_name}*.so %files -n python3-%{_name} %defattr(-,root,root) %license LICENSE AUTHORS %{python3_sitearch}/%{_name}/* -%{python3_sitearch}/%{_name}*info/* +%{python3_sitearch}/%{_name}*info/ %{python3_sitearch}/_%{_name}*.so %files help -- Gitee