diff --git a/.gitignore b/.gitignore index c50cbc7..2beb09e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /inout-0.1.2.crate +/inout-0.1.3.crate diff --git a/rust-inout.spec b/rust-inout.spec index 8adcaab..ab0c527 100644 --- a/rust-inout.spec +++ b/rust-inout.spec @@ -1,26 +1,23 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate inout -Name: rust-%{crate} -Version: 0.1.2 +Name: rust-inout +Version: 0.1.3 Release: %autorelease Summary: Custom reference types for in-place and buffer-to-buffer operations -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/inout Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Custom reference types for code generic over in-place and buffer-to-buffer -modes of operation.} +Custom reference types for code generic over in-place and buffer-to- +buffer modes of operation.} %description %{_description} @@ -34,9 +31,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -48,7 +46,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+block-padding-devel Summary: %{summary} @@ -60,7 +58,7 @@ This package contains library source intended for building other packages which use the "block-padding" feature of the "%{crate}" crate. %files -n %{name}+block-padding-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -72,7 +70,7 @@ 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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..7a61848 --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,2 @@ +[DEFAULT] +summary = Custom reference types for in-place and buffer-to-buffer operations diff --git a/sources b/sources index 7f68913..a6b867c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (inout-0.1.2.crate) = 51c8265a602af0607e53ff1636932f7c554f2a236925fef409ec1c2683342d4e17bd1295f7a112d77ddd16e4c541b9cdf95cd4564fff452c8402a06a6afc0a7e +SHA512 (inout-0.1.3.crate) = 1db5bc2bd87aae145b3b0be6669a9a722df2aac8f970fda210aaf945c372e641b941cee822917926dfa1ab8381c6e99cc7df4b18d2f4e2fbef17fdec36ed2beb