diff --git a/.gitignore b/.gitignore index 36a0aab..b09a931 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /papergrid-0.7.1.crate +/papergrid-0.9.0.crate diff --git a/rust-papergrid.spec b/rust-papergrid.spec index 284b7c3..1b6161b 100644 --- a/rust-papergrid.spec +++ b/rust-papergrid.spec @@ -1,24 +1,22 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate papergrid Name: rust-papergrid -Version: 0.7.1 +Version: 0.9.0 Release: %autorelease Summary: Core library to print a table License: MIT URL: https://crates.io/crates/papergrid Source: %{crates_source} -# PR to symlink license text to each crate directories: https://github.com/zhiburt/tabled/pull/283 -Source1: https://raw.githubusercontent.com/zhiburt/tabled/master/LICENSE BuildRequires: rust-packaging >= 21 %global _description %{expand: -Core library to print a table.} +Papergrid is a core library to print a table.} %description %{_description} @@ -32,7 +30,7 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license %{crate_instdir}/LICENSE +%license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/README.md %{crate_instdir}/ @@ -84,9 +82,20 @@ use the "color" feature of the "%{crate}" crate. %files -n %{name}+color-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 -cp -p %{SOURCE1} . %cargo_prep %generate_buildrequires diff --git a/sources b/sources index fb7e72a..616547a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (papergrid-0.7.1.crate) = f43c7f64e10f8c692fcd62728e44e893bb59031d7524415892df2fbdcab083c73ba72e20942ba1f47195d9aad5997be6bf0a105be9f18ba6ab171e8e3ebb5356 +SHA512 (papergrid-0.9.0.crate) = af436181fb48425a35b19cd37ecc0bb1ae17f5fed3313824633f67f3edd37779ddfc8ccce84ee519256967bea14fc20d17fa180ef275a1cc0ce8a362cdaa899c