Update to version 0.4.0

epel9
Fabio Valentini 3 years ago
parent 47ddc9f779
commit 0ef76826e3
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -3,3 +3,4 @@
/enum-as-inner-0.3.1.crate /enum-as-inner-0.3.1.crate
/enum-as-inner-0.3.2.crate /enum-as-inner-0.3.2.crate
/enum-as-inner-0.3.3.crate /enum-as-inner-0.3.3.crate
/enum-as-inner-0.4.0.crate

@ -1,11 +1,11 @@
# Generated by rust2rpm 13 # Generated by rust2rpm 21
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate enum-as-inner %global crate enum-as-inner
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.3.3 Version: 0.4.0
Release: %autorelease Release: %autorelease
Summary: Proc-macro for deriving inner field accessor functions on enums Summary: Proc-macro for deriving inner field accessor functions on enums
@ -15,11 +15,8 @@ URL: https://crates.io/crates/enum-as-inner
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Proc-macro for deriving inner field accessor functions on enums.} Proc-macro for deriving inner field accessor functions on enums.}
@ -32,13 +29,17 @@ 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
%license LICENSE-MIT LICENSE-APACHE copyright.txt %license %{crate_instdir}/LICENSE-APACHE
%doc README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %license %{crate_instdir}/copyright.txt
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/CODE_OF_CONDUCT.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -46,11 +47,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-as-inner-0.3.3.crate) = 83bc21cc6c995227ff569c38d2f734b54000683cd39211f9010becd7a8fa470955936ce5c317718f9ac5742294e7362c5fc97dc68afec42560a8c332caa50df2 SHA512 (enum-as-inner-0.4.0.crate) = d20bc869eb562b614678ea3cc9bbb22d189f42c91d697068ac8aef35e68125175ff6d3307dee46eb45edda8ba97fa88599a3d573ee2f0d8037355c10566adbdf

Loading…
Cancel
Save