Revendor
Also, minimize diff from rawhide where possible.
This commit is contained in:
parent
6252a474da
commit
bc31ffa85d
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,5 +1,7 @@
|
||||
/rpds_py-0.9.2.tar.gz
|
||||
/rpds_py-0.10.6.tar.gz
|
||||
/rpds_py-0.10.6-vendor.tar.xz
|
||||
/rpds_py-0.12.0.tar.gz
|
||||
/rpds_py-0.12.0-vendor.tar.xz
|
||||
/rpds_py-0.13.1.tar.gz
|
||||
/rpds_py-0.13.1-vendor.tar.xz
|
||||
|
@ -8,11 +8,11 @@ Summary: Python bindings to the Rust rpds crate
|
||||
# Full license breakdown in LICENSES.dependencies
|
||||
License: MIT AND Apache-2.0 AND (MIT OR Apache-2.0) AND MPL-2.0
|
||||
URL: https://github.com/crate-py/rpds
|
||||
Source0: %{pypi_source %{modname}}
|
||||
Source: %{pypi_source %{modname}}
|
||||
# To create the vendor tarball:
|
||||
# tar xf %%{modname}-%%{version}.tar.gz ; pushd %%{modname}-%%{version} ; \
|
||||
# cargo vendor && tar Jcvf ../%%{modname}-%%{version}-vendor.tar.xz vendor/ ; pushd
|
||||
Source1: %{modname}-%{version}-vendor.tar.xz
|
||||
Source: %{modname}-%{version}-vendor.tar.xz
|
||||
|
||||
%if 0%{?rhel}
|
||||
BuildRequires: rust-toolset
|
||||
@ -41,6 +41,7 @@ Summary: %{summary}
|
||||
dos2unix README* LICENSE* *.pyi
|
||||
|
||||
%cargo_prep %{?rhel:-V 1}
|
||||
rm -f Cargo.lock
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
@ -52,8 +53,8 @@ dos2unix README* LICENSE* *.pyi
|
||||
|
||||
%build
|
||||
export RUSTFLAGS='%{build_rustflags}'
|
||||
%{?cargo_license_summary}
|
||||
%{?cargo_license} > LICENSES.dependencies
|
||||
%cargo_license_summary
|
||||
%{cargo_license} > LICENSES.dependencies
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
|
1
sources
1
sources
@ -1 +1,2 @@
|
||||
SHA512 (rpds_py-0.13.1.tar.gz) = 1cc901ae5bbfbbfdd14df4ff988dc3ffd75c5ac60acdec4dea9ddc30b9849ee12bf9ac05377bdf29a8db58919ceda51ef2fbb66885567608f1268baa1fa3eba1
|
||||
SHA512 (rpds_py-0.13.1-vendor.tar.xz) = 990688f7bb1ca544b4cd20fc45698c09d284d3aba0110113d846018e9afeb75f15f2657f5bea4c715bd325f886e4c3897fb098bf07d3ab92b71d6fe39c477b31
|
||||
|
Loading…
Reference in New Issue
Block a user