Be more explicit with paths (no globbing)

This commit is contained in:
Carl George 2019-03-05 09:53:36 -06:00
parent 4bd792e272
commit a2301660c9

View File

@ -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 # This needs to have a blank line after because of a bug in the EL6 macros
%autosetup -p1 -n %{srcname}-%{version} %autosetup -p1 -n %{srcname}-%{version}
rm -rf *.egg-info rm -rf %{srcname}.egg-info
%build %build
%if %{with python2} %if %{with python2}
@ -106,16 +106,16 @@ rm -rf *.egg-info
%files -n python2-%{srcname} %files -n python2-%{srcname}
%license LICENSE %license LICENSE
%doc AUTHORS CHANGELOG README.rst %doc AUTHORS CHANGELOG README.rst
%{python2_sitelib}/pid %{python2_sitelib}/%{srcname}
%{python2_sitelib}/pid*.egg-info* %{python2_sitelib}/%{srcname}-%{version}-py%{python2_version}.egg-info
%endif %endif
%if %{with python3} %if %{with python3}
%files -n python%{python3_pkgversion}-%{srcname} %files -n python%{python3_pkgversion}-%{srcname}
%license LICENSE %license LICENSE
%doc AUTHORS CHANGELOG README.rst %doc AUTHORS CHANGELOG README.rst
%{python3_sitelib}/pid %{python3_sitelib}/%{srcname}
%{python3_sitelib}/pid-*.egg-info %{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
%endif %endif
%changelog %changelog