Update to 0.10.0

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 2 years ago
parent 3ab2c43cc4
commit 59503836e0
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

@ -1 +1,2 @@
/enum-map-derive-0.5.0.crate /enum-map-derive-0.5.0.crate
/enum-map-derive-0.10.0.crate

@ -1,26 +1,20 @@
# Generated by rust2rpm 16 # Generated by rust2rpm 23
# Disable tests due to circual dependency with enum-map # the doctests are examples that need enum-map to work
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate enum-map-derive %global crate enum-map-derive
Name: rust-%{crate} Name: rust-enum-map-derive
Version: 0.5.0 Version: 0.10.0
Release: %autorelease Release: %autorelease
Summary: Macros 1.1 implementation of #[derive(Enum)] Summary: Macros 1.1 implementation of #[derive(Enum)]
# Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/enum-map-derive URL: https://crates.io/crates/enum-map-derive
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Macros 1.1 implementation of #[derive(Enum)].} Macros 1.1 implementation of #[derive(Enum)].}
@ -33,11 +27,13 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%{cargo_registry}/%{crate}-%{version_no_tilde}/ # FIXME: no license files detected
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -45,11 +41,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (enum-map-derive-0.5.0.crate) = a94c45095cb96b45e79c3bae6492158b08c29386f8c03bd7d9093bc65d836c635667cdc081d1f501a5d35ec81d122baad4702301985e44f5bc1ac08db120e1aa SHA512 (enum-map-derive-0.10.0.crate) = 260390d3083ede5835529f771e7ff2287e6e58c70f15eb41890fe295b0c54421830588819dbf334bdc1f9c42d9e94f0b2e777fd27d1a889a87f94944f89bce1e

Loading…
Cancel
Save