Use Github archive instead of PyPI sdist
The sdist contains *some* but not all of the files needed to run unit tests.
This commit is contained in:
parent
3cfce7ae55
commit
11f139716a
@ -1,14 +1,17 @@
|
||||
# Created by pyp2rpm-3.3.6
|
||||
%global pypi_name resolvelib
|
||||
%global forgeurl https://github.com/sarugaku/resolvelib
|
||||
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.0.1
|
||||
%global tag %{version}
|
||||
%forgemeta
|
||||
Release: 1%{?dist}
|
||||
Summary: Resolve abstract dependencies into concrete ones
|
||||
|
||||
License: ISC
|
||||
URL: https://github.com/sarugaku/resolvelib
|
||||
Source0: %{pypi_source}
|
||||
URL: %{forgeurl}
|
||||
Source: %{forgesource}
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
@ -31,7 +34,7 @@ Summary: %{summary}
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version}
|
||||
%autosetup %{forgesetupargs}
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (resolvelib-1.0.1.tar.gz) = 52c872fb2a22c47de022a661dc4d8de8c6af450f1cff6f2b99cd91bf7eccae5b6ee223793f50b9679c1c6caedbd8bb63330915ee6f10533b1a0ed239d068b36f
|
||||
SHA512 (resolvelib-1.0.1.tar.gz) = a35f7fdbc3aba5b44fdf6b9c55b082156ca641dfe5825611be6364622bcaaf45faafa2c45bdd13d1b5723a55732759a806905ab4b6f366fba0474d1f808d91bc
|
||||
|
Loading…
Reference in New Issue
Block a user