forked from pool/python-Sphinx
		
	Accepting request 721976 from home:dancermak:branches:devel:languages:python
Add Sphinx translation files via %find_lang OBS-URL: https://build.opensuse.org/request/show/721976 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=133
This commit is contained in:
		
							
								
								
									
										4
									
								
								python-Sphinx-rpmlintrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								python-Sphinx-rpmlintrc
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,4 @@
 | 
			
		||||
# false positive due to the name of the package ending with "theme"
 | 
			
		||||
addFilter("W: suse-branding-unversioned-requires python3-sphinx_rtd_theme")
 | 
			
		||||
# false positive as the -latex package only ships latex files and no actual python code
 | 
			
		||||
addFilter("python3-Sphinx-latex.noarch: W: no-dependency-on python-base 3.7")
 | 
			
		||||
@@ -1,3 +1,8 @@
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Fri Aug  9 08:32:42 UTC 2019 - Dan Čermák <dcermak@suse.com>
 | 
			
		||||
 | 
			
		||||
- Add Sphinx translation files via %find_lang
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------
 | 
			
		||||
Tue Jul  2 14:44:28 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -35,6 +35,7 @@ License:        BSD-2-Clause
 | 
			
		||||
Group:          Development/Languages/Python
 | 
			
		||||
URL:            http://sphinx-doc.org
 | 
			
		||||
Source:         https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
 | 
			
		||||
Source99:       python-Sphinx-rpmlintrc
 | 
			
		||||
BuildRequires:  %{python_module base}
 | 
			
		||||
BuildRequires:  %{python_module setuptools}
 | 
			
		||||
BuildRequires:  fdupes
 | 
			
		||||
@@ -240,6 +241,8 @@ mv build/sphinx/{html,man} build.doc/
 | 
			
		||||
%python_expand mkdir -p %{buildroot}%{$python_sitelib}/sphinxcontrib
 | 
			
		||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
 | 
			
		||||
 | 
			
		||||
%find_lang sphinx
 | 
			
		||||
 | 
			
		||||
%else
 | 
			
		||||
mkdir -p %{buildroot}%{_docdir}/python-Sphinx/
 | 
			
		||||
mv build.doc/html %{buildroot}%{_docdir}/python-Sphinx/
 | 
			
		||||
@@ -269,7 +272,7 @@ export LC_ALL="C.utf8"
 | 
			
		||||
%endif
 | 
			
		||||
 | 
			
		||||
%if ! %{with test}
 | 
			
		||||
%files %{python_files}
 | 
			
		||||
%files %{python_files} -f sphinx.lang
 | 
			
		||||
%license LICENSE
 | 
			
		||||
%doc AUTHORS CHANGES README.rst
 | 
			
		||||
%python_alternative %{_bindir}/sphinx-apidoc
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user