From 3b3e934e43204874865bbf61644e835adf5abd09 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Wed, 22 Feb 2023 20:51:42 -0600 Subject: [PATCH] Update to 0.76.0 Signed-off-by: Michel Alexandre Salim --- .gitignore | 1 + rust-nu-table.spec | 67 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+) create mode 100644 .gitignore create mode 100644 rust-nu-table.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..da39f6a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/nu-table-0.76.0.crate diff --git a/rust-nu-table.spec b/rust-nu-table.spec new file mode 100644 index 0000000..2b97f91 --- /dev/null +++ b/rust-nu-table.spec @@ -0,0 +1,67 @@ +# Generated by rust2rpm 24 +%bcond_without check +%global debug_package %{nil} + +%global crate nu-table + +Name: rust-nu-table +Version: 0.76.0 +Release: %autorelease +Summary: Nushell table printing + +License: MIT +URL: https://crates.io/crates/nu-table +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Nushell table printing.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..7444e07 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (nu-table-0.76.0.crate) = 934a8521805c370f89f2cdb4a71d3077bac8d56eb1f4c0de1b3ae1bf20f6e06bf0ae8fb0f72f956e45ddf7d9179c72648b41ef197c2d5afe975f0e5061dc0502