Replace git source with pypi one
There has been discovered that github source differs from pypi one which is causing errors for 4.4 version, i.e. dicovering previous version 4.3 with setupy.py --version.
This commit is contained in:
parent
78da4b3718
commit
35c449bbe3
3 changed files with 6 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
|||
/python-django-compressor-*.tar.gz
|
||||
/django-compressor-*.tar.gz
|
||||
/django_compressor-4.4.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
%global srcname django-compressor
|
||||
%global pypi_name django_compressor
|
||||
%global _desc\
|
||||
Django Compressor combines and compresses linked and inline Javascript\
|
||||
or CSS in a Django templates into cacheable static files by using the\
|
||||
|
|
@ -14,7 +15,7 @@ Summary: Compresses linked and inline JavaScript or CSS into single cached files
|
|||
|
||||
License: MIT
|
||||
URL: https://github.com/django-compressor/django-compressor
|
||||
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
||||
Source0: %{pypi_source django_compressor}
|
||||
|
||||
Patch0: rdep-version.patch
|
||||
|
||||
|
|
@ -35,8 +36,8 @@ Obsoletes: python2-%{srcname} < 2.1-6
|
|||
Obsoletes: python-%{srcname} < 2.1-6
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{srcname}-%{version}
|
||||
|
||||
%autosetup -p1 -n %{pypi_name}-%{version}
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (django-compressor-4.4.tar.gz) = 4fb0fcb1f11d73a724d4d3161b4964f9b4a5bf6ec674d198756ad262d9983528a605aadde6bb10ef2054e477ac08fbc0397242e8969f47d3710bec6f21215086
|
||||
SHA512 (django_compressor-4.4.tar.gz) = 54a3443f8900aca89534bb792f6e1d7d46ec9cec81c2bb2e019ea2a0e861845805d187748cc12531209be25c3d9f5dd3cd0f019fb9f439c9b1e7ad2a5785c6c8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue