]> git.pld-linux.org Git - packages/python-jinja2.git/blobdiff - python-jinja2.spec
- updated URL, versioned Obsoletes
[packages/python-jinja2.git] / python-jinja2.spec
index b3ccb45c84ca29a4812abc6faac2d98d33e10cf0..4604816a99383ca85ded1c87e2b6b45ef4f0c55b 100644 (file)
@@ -3,7 +3,7 @@
 %bcond_without doc     # API documentation
 %bcond_without tests   # unit tests
 %bcond_without python2 # Python 2.x modules
-%bcond_without python3 # Python 3.x modules
+%bcond_with    python3 # Python 3.x modules, python3 is built from python3-jinja2.spec
 
 %define                module  jinja2
 Summary:       Jinja2 Template engine for Python 2.x
@@ -16,7 +16,7 @@ Group:                Development/Languages/Python
 #Source0Download: https://pypi.org/simple/Jinja2
 Source0:       https://files.pythonhosted.org/packages/source/J/Jinja2/Jinja2-%{version}.tar.gz
 # Source0-md5: 231dc00d34afb2672c497713fa9cdaaa
-URL:           http://jinja.pocoo.org/
+URL:           https://jinja.palletsprojects.com/
 BuildRequires: rpmbuild(macros) >= 1.714
 BuildRequires: rpm-pythonprov
 %if %{with python2}
@@ -43,7 +43,7 @@ BuildRequires:        python3-sphinx_issues >= 1.2.0
 BuildRequires: sphinx-pdg-3 >= 2.1.2
 %endif
 Requires:      python-modules >= 1:2.7
-Obsoletes:     python-Jinja2
+Obsoletes:     python-Jinja2 < 2.7
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
This page took 0.082792 seconds and 4 git commands to generate.