Projects
Kube:Winterfell
python-sphinx
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 10
View file
python-sphinx.spec
Changed
@@ -9,7 +9,7 @@ %{!?py2_build: %global py2_build %{expand: CFLAGS="%{optflags}" /usr/bin/python setup.py %{?py_setup_args} build --executable="/usr/bin/python -s" %{?1}}} %{!?py2_install: %global py2_install %{expand: -CFLAGS="%{optflags}" %{__python} %{py_setup} %{?py_setup_args} install -O1 --skip-build --root %{buildroot} %{?1}}} +CFLAGS="%{optflags}" %{__python} setup.py %{?py_setup_args} install -O1 --skip-build --root %{buildroot} %{?1}}} Name: python-sphinx Version: 1.3.1 @@ -49,7 +49,7 @@ BuildRequires: python-sqlalchemy BuildRequires: python-mock BuildRequires: python-whoosh -#BuildRequires: python-snowballstemmer +BuildRequires: python-snowballstemmer # note: no Python3 xapian binding yet BuildRequires: xapian-bindings-python BuildRequires: texlive-collection-fontsrecommended @@ -341,9 +341,12 @@ cp -p $f $(echo $f | sed -e "s|.1$|-%{python3_version}.1|") done + # Remove language files, they're identical to the ones from the # Python 2 build that will be moved to /usr/share below +%if 0%{?with_python3} find %{buildroot}%{python3_sitelib}/sphinx/locale -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -exec rm -rf '{}' \; +%endif popd # Deliver rst files
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.