Be more explicit with paths (no globbing)
This commit is contained in:
parent
4bd792e272
commit
a2301660c9
@ -71,7 +71,7 @@ BuildRequires: python%{python3_pkgversion}-nose
|
||||
# This needs to have a blank line after because of a bug in the EL6 macros
|
||||
%autosetup -p1 -n %{srcname}-%{version}
|
||||
|
||||
rm -rf *.egg-info
|
||||
rm -rf %{srcname}.egg-info
|
||||
|
||||
%build
|
||||
%if %{with python2}
|
||||
@ -106,16 +106,16 @@ rm -rf *.egg-info
|
||||
%files -n python2-%{srcname}
|
||||
%license LICENSE
|
||||
%doc AUTHORS CHANGELOG README.rst
|
||||
%{python2_sitelib}/pid
|
||||
%{python2_sitelib}/pid*.egg-info*
|
||||
%{python2_sitelib}/%{srcname}
|
||||
%{python2_sitelib}/%{srcname}-%{version}-py%{python2_version}.egg-info
|
||||
%endif
|
||||
|
||||
%if %{with python3}
|
||||
%files -n python%{python3_pkgversion}-%{srcname}
|
||||
%license LICENSE
|
||||
%doc AUTHORS CHANGELOG README.rst
|
||||
%{python3_sitelib}/pid
|
||||
%{python3_sitelib}/pid-*.egg-info
|
||||
%{python3_sitelib}/%{srcname}
|
||||
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user