diff options
author | Aleš Matěj <amatej@redhat.com> | 2019-06-13 10:31:57 +0300 |
---|---|---|
committer | Neal Gompa (ニール・ゴンパ) <ngompa13@gmail.com> | 2019-07-04 11:13:22 +0300 |
commit | 22f25729801a3d62f903d92b40b147f1222295dc (patch) | |
tree | 9505c6f0fc2a5ca0ace4a39661e7dbb12e441008 /createrepo_c.spec | |
parent | 032e3be3470f6ecc38d1a128c010e3329e036542 (diff) |
Add missing python metadata to python2/3-createrepo_c (RhBug:1695677)
In order not to depend on scikit-build I added additional python setup
script (setup_for_python_metadata.py) which uses just setuptools and is
used to generate egg-info metadata during building of packages
python2/3-createrepo_c.
Diffstat (limited to 'createrepo_c.spec')
-rw-r--r-- | createrepo_c.spec | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/createrepo_c.spec b/createrepo_c.spec index 1977ec1..2abd081 100644 --- a/createrepo_c.spec +++ b/createrepo_c.spec @@ -251,11 +251,13 @@ ln -sr %{buildroot}%{_bindir}/modifyrepo_c %{buildroot}%{_bindir}/modifyrepo %if %{with python2} %files -n python2-%{name} %{python2_sitearch}/%{name}/ +%{python2_sitearch}/%{name}-%{version}-py%{python2_version}.egg-info %endif %if %{with python3} %files -n python3-%{name} %{python3_sitearch}/%{name}/ +%{python3_sitearch}/%{name}-%{version}-py%{python3_version}.egg-info %endif %changelog |