From f9ce0d771646b500aba02b54f93128a573aa8503 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 12 Oct 2023 11:49:56 -0400 Subject: [PATCH] Revendor --- .gitignore | 1 + python-rpds-py.spec | 5 ++--- sources | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index a172709..e864bc4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /rpds_py-0.10.6.tar.gz +/rpds_py-0.10.6-vendor.tar.xz diff --git a/python-rpds-py.spec b/python-rpds-py.spec index d4a06e9..689dda1 100644 --- a/python-rpds-py.spec +++ b/python-rpds-py.spec @@ -10,9 +10,8 @@ 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}} # To create the vendor tarball: -# tar xf %%{name}-%%{version}.crate ; pushd %%{name}-%%{version} ; \ -# patch -p1 < ../bump-dependencies.patch && \ -# cargo vendor && tar Jcvf ../%%{name}-%%{version}-vendor.tar.xz vendor/ ; pushd +# 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 %if 0%{?rhel} diff --git a/sources b/sources index da7acfc..1c1aec4 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (rpds_py-0.10.6.tar.gz) = 4e887e57c59372f48b87ec10a810a65d0ff1ba2fc7587cc4f4da78d8394a78a91d84a7a7b8ad810bd1f34f4e73ad706628dbc2bd25662c9e4f83e4183c280ab1 +SHA512 (rpds_py-0.10.6-vendor.tar.xz) = 14a3acf4df1175450e121c192937ea2342c77477141941d4c8dad356449d1cbaa2243d524c34b4478f62f6da6c4235edf54f30a7f469e081bd1ea2dc3ee9acd0