forked from pool/python-tornado
- in %pre, remove egg-info file if installed, because it's being
replaced by a directory (bsc#1035604) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=58
This commit is contained in:
committed by
Git OBS Bridge
parent
bbe6fa4376
commit
94ee3e54fb
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 23 17:41:45 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- in %pre, remove egg-info file if installed, because it's being
|
||||
replaced by a directory (bsc#1035604)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 13 14:57:15 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
|
@@ -77,6 +77,12 @@ find demos tornado -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \;
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%pre
|
||||
# remove egg-info _file_, being replaced by an egg-info directory
|
||||
if [ -f %{python_sitearch}/tornado-%{version}-py%{python_version}.egg-info ]; then
|
||||
rm %{python_sitearch}/tornado-%{version}-py%{python_version}.egg-info
|
||||
fi
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
|
Reference in New Issue
Block a user