diff --git a/.gitignore b/.gitignore index 1bb66a4..a2879e8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /rend-0.3.4.crate /rend-0.3.5.crate /rend-0.3.6.crate +/rend-0.4.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 585d067..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-rend - -The rust-rend package diff --git a/rust-rend.spec b/rust-rend.spec index a8edd91..e7249c7 100644 --- a/rust-rend.spec +++ b/rust-rend.spec @@ -1,22 +1,19 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate rend -Name: rust-%{crate} -Version: 0.3.6 +Name: rust-rend +Version: 0.4.0 Release: %autorelease Summary: Endian-aware primitives for Rust -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/rend Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Endian-aware primitives for Rust.} @@ -30,12 +27,13 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%license LICENSE -%doc README.md crates-io.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/crates-io.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -44,10 +42,10 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "default" feature of "%{crate}" crate. +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bytecheck-devel Summary: %{summary} @@ -56,10 +54,10 @@ BuildArch: noarch %description -n %{name}+bytecheck-devel %{_description} This package contains library source intended for building other packages which -use "bytecheck" feature of "%{crate}" crate. +use the "bytecheck" feature of the "%{crate}" crate. %files -n %{name}+bytecheck-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -68,10 +66,10 @@ BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which -use "std" feature of "%{crate}" crate. +use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+validation-devel Summary: %{summary} @@ -80,10 +78,10 @@ BuildArch: noarch %description -n %{name}+validation-devel %{_description} This package contains library source intended for building other packages which -use "validation" feature of "%{crate}" crate. +use the "validation" feature of the "%{crate}" crate. %files -n %{name}+validation-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index c7cdcec..ca7d781 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rend-0.3.6.crate) = 348c4e11373d80fead2db69556621f7291f4179c137b914e8acab1dae62e3bd7e2b5bd74f39aa93b732d30ed45f4f26012620abb90a8aedaa898d9a0378c807d +SHA512 (rend-0.4.0.crate) = 81760a50e9957bad30e0c0a02c6be8a26700c87f712e8f8e841be9fa7390cc047e67699f1815021b943a50e570729b0ab16c86f13e5e35cf471432f2760841ee