| |
@@ -1,7 +1,7 @@
|
| |
Name: python-django
|
| |
%global pkgname Django
|
| |
%global ver 3.0
|
| |
- %global pre b1
|
| |
+ #global pre ...
|
| |
%global real_version %{ver}%{?pre:%{pre}}
|
| |
Version: %{ver}%{?pre:~%{pre}}
|
| |
Release: 1%{?dist}
|
| |
@@ -57,7 +57,7 @@
|
| |
BuildRequires: python3-bcrypt
|
| |
# test requirements
|
| |
#BuildRequires: python3-py-bcrypt
|
| |
- BuildRequires: python3-asgiref >= 3
|
| |
+ BuildRequires: python3-asgiref >= 3.2
|
| |
BuildRequires: python3-docutils
|
| |
BuildRequires: python3-jinja2
|
| |
BuildRequires: python3-mock
|
| |
@@ -66,7 +66,7 @@
|
| |
BuildRequires: python3-PyYAML
|
| |
BuildRequires: python3-pytz
|
| |
BuildRequires: python3-selenium
|
| |
- BuildRequires: python3-sqlparse
|
| |
+ BuildRequires: python3-sqlparse >= 0.2.2
|
| |
BuildRequires: python3-memcached
|
| |
|
| |
Provides: bundled(jquery) = 2.2.3
|
| |
@@ -83,6 +83,12 @@
|
| |
sed -i "s/\/env python/\/python3/" $file ;
|
| |
done
|
| |
popd
|
| |
+
|
| |
+ # Python RPM dependency generator doesn't support ~= yet
|
| |
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1758141
|
| |
+ sed -i 's/asgiref ~= /asgiref >= /' setup.py
|
| |
+
|
| |
+
|
| |
%build
|
| |
%py3_build
|
| |
|
| |
@@ -315,6 +321,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Tue Dec 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.0-1
|
| |
+ - Update to 3.0 final
|
| |
+
|
| |
* Tue Oct 15 2019 Miro Hrončok <mhroncok@redhat.com> - 3.0~b1-1
|
| |
- Update to 3.0b1 (rhbz#1761417)
|
| |
|
| |
Untested, let's wait for the simple Koji CI build.