Fix missing Python 3 version executables
This commit is contained in:
parent
5bb2af3416
commit
eb74bb2cd1
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 0.13.1
|
Version: 0.13.1
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: System for processing plaintext documentation
|
Summary: System for processing plaintext documentation
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -115,11 +115,14 @@ pushd %{py3dir}
|
|||||||
# docutils setup.py runs 2to3 on a copy of the tests and puts it in sitelib.
|
# docutils setup.py runs 2to3 on a copy of the tests and puts it in sitelib.
|
||||||
rm -rf %{buildroot}%{python3_sitelib}/test
|
rm -rf %{buildroot}%{python3_sitelib}/test
|
||||||
|
|
||||||
|
for file in %{buildroot}/%{_bindir}/*.py; do
|
||||||
|
mv $file `dirname $file`/`basename $file .py`-3
|
||||||
|
done
|
||||||
|
|
||||||
# Flash file is used for testing docutils but shouldn't be in the installed package.
|
# Flash file is used for testing docutils but shouldn't be in the installed package.
|
||||||
mv docs/user/rst/images/biohazard.swf ./biohazard.swf
|
mv docs/user/rst/images/biohazard.swf ./biohazard.swf
|
||||||
popd
|
popd
|
||||||
|
|
||||||
rm -rf %{buildroot}%{_bindir}/*
|
|
||||||
%endif # with_python3
|
%endif # with_python3
|
||||||
|
|
||||||
%py2_install
|
%py2_install
|
||||||
@ -151,7 +154,7 @@ popd
|
|||||||
%license COPYING.txt licenses/*
|
%license COPYING.txt licenses/*
|
||||||
%doc BUGS.txt COPYING.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt
|
%doc BUGS.txt COPYING.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt
|
||||||
%doc THANKS.txt docs tools/editors
|
%doc THANKS.txt docs tools/editors
|
||||||
%{_bindir}/*
|
%{_bindir}/*[!'-3']
|
||||||
%{python2_sitelib}/*
|
%{python2_sitelib}/*
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
@ -159,10 +162,14 @@ popd
|
|||||||
%license COPYING.txt licenses/*
|
%license COPYING.txt licenses/*
|
||||||
%doc BUGS.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt
|
%doc BUGS.txt FAQ.txt HISTORY.txt README.txt RELEASE-NOTES.txt
|
||||||
%doc THANKS.txt docs tools/editors
|
%doc THANKS.txt docs tools/editors
|
||||||
|
%{_bindir}/*-3
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jul 30 2017 Jan Beran <jberan@redhat.com> - 0.13.1-6
|
||||||
|
- Fix missing Python 3 version executables
|
||||||
|
|
||||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-5
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
@ -398,3 +405,4 @@ popd
|
|||||||
|
|
||||||
* Sat Jan 10 2004 Michel Alexandre Salim <salimma[AT]users.sf.net> 0:0.3-0.fdr.1
|
* Sat Jan 10 2004 Michel Alexandre Salim <salimma[AT]users.sf.net> 0:0.3-0.fdr.1
|
||||||
- Initial RPM release.
|
- Initial RPM release.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user