Don't own the -3 scripts by python 2 package

Conflicts:
	python-sphinx.spec
This commit is contained in:
Slavek Kabrda 2014-05-27 15:08:56 +02:00
commit a03e9aa1fb

View file

@ -9,7 +9,7 @@
Name: python-sphinx
Version: 1.1.3
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Python documentation generator
Group: Development/Tools
@ -176,6 +176,7 @@ pushd %{py3dir}
for f in %{buildroot}%{_bindir}/sphinx-*;
do
mv $f $f-%{python3_version}
ln -s %{_bindir}/`basename $f-%{python3_version}` $f-3
done
popd
%endif # with_python3
@ -235,6 +236,7 @@ popd
%files -f sphinx.lang
%defattr(-,root,root,-)
%doc AUTHORS CHANGES EXAMPLES LICENSE README TODO
%exclude %{_bindir}/sphinx-*-3
%exclude %{_bindir}/sphinx-*-%{python3_version}
%{_bindir}/sphinx-*
%{python_sitelib}/*
@ -247,6 +249,7 @@ popd
%if 0%{?with_python3}
%files -n python3-sphinx
%doc AUTHORS CHANGES EXAMPLES LICENSE README TODO
%{_bindir}/sphinx-*-3
%{_bindir}/sphinx-*-%{python3_version}
%{python3_sitelib}/*
%dir %{_datadir}/sphinx/
@ -261,6 +264,10 @@ popd
%changelog
* Thu May 22 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.1.3-9
- Add sphinx-*-3 links to scripts
Resolves: #1098109
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild