Package from git tag instead of commit
This commit is contained in:
parent
bf151b3a77
commit
dad9cca72c
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,3 +17,4 @@
|
|||||||
/pyrsistent-0.18.0.tar.gz
|
/pyrsistent-0.18.0.tar.gz
|
||||||
/pyrsistent-0.18.1.tar.gz
|
/pyrsistent-0.18.1.tar.gz
|
||||||
/pyrsistent-29f5ac97f1356c82dc44dfe4e5a46cc3e9e91a4c.tar.gz
|
/pyrsistent-29f5ac97f1356c82dc44dfe4e5a46cc3e9e91a4c.tar.gz
|
||||||
|
/pyrsistent-0.19.2.tar.gz
|
||||||
|
@ -4,13 +4,6 @@
|
|||||||
# We can generate PDF documentation as a substitute.
|
# We can generate PDF documentation as a substitute.
|
||||||
%bcond_without doc_pdf
|
%bcond_without doc_pdf
|
||||||
|
|
||||||
# Upstream has not yet pushed the tag for v0.19.2, but it is clear which commit
|
|
||||||
# corresponds to the PyPI release. Therefore, this is not treated as a snapshot
|
|
||||||
# from a package-versioning perspective.
|
|
||||||
#
|
|
||||||
# https://github.com/tobgu/pyrsistent/issues/262#issuecomment-1302000278
|
|
||||||
%global commit 29f5ac97f1356c82dc44dfe4e5a46cc3e9e91a4c
|
|
||||||
|
|
||||||
Name: python-pyrsistent
|
Name: python-pyrsistent
|
||||||
Summary: Persistent/Functional/Immutable data structures
|
Summary: Persistent/Functional/Immutable data structures
|
||||||
Version: 0.19.2
|
Version: 0.19.2
|
||||||
@ -19,8 +12,7 @@ Release: %autorelease
|
|||||||
# The entire source is (SPDX) MIT, except pyrsistent/_toolz.py which is BSD-3-Clause.
|
# The entire source is (SPDX) MIT, except pyrsistent/_toolz.py which is BSD-3-Clause.
|
||||||
License: MIT AND BSD-3-Clause
|
License: MIT AND BSD-3-Clause
|
||||||
URL: https://github.com/tobgu/pyrsistent/
|
URL: https://github.com/tobgu/pyrsistent/
|
||||||
#Source0: %%{url}/archive/v%%{version}/pyrsistent-%%{version}.tar.gz
|
Source0: %{url}/archive/v%{version}/pyrsistent-%{version}.tar.gz
|
||||||
Source0: %{url}/archive/%{commit}/pyrsistent-%{commit}.tar.gz
|
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -68,8 +60,7 @@ BuildArch: noarch
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
#%%autosetup -n pyrsistent-%%{version}
|
%autosetup -n pyrsistent-%{version}
|
||||||
%autosetup -n pyrsistent-%{commit}
|
|
||||||
|
|
||||||
# Loosen exact-version pins in requirements.txt; we must tolerate newer
|
# Loosen exact-version pins in requirements.txt; we must tolerate newer
|
||||||
# versions and use what is packaged.
|
# versions and use what is packaged.
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (pyrsistent-29f5ac97f1356c82dc44dfe4e5a46cc3e9e91a4c.tar.gz) = 989a166848c55f44885b3a106482ca08da88e044750cf1fd49b3f94bbcf4cff08b2ef2e7b39c4e9fcc7f3ade84863014f6564864a0fbcba8340bb0868f83aabf
|
SHA512 (pyrsistent-0.19.2.tar.gz) = 1b954e2621ffad03a8885abf69673d842669c0f69f26f33ef02353b7eb46dd966c8d56b208cbc9de3ed197218ef578221bb5bc389b14db7321224e7a21515f7e
|
||||||
|
Loading…
Reference in New Issue
Block a user