|
|
|
@ -5,11 +5,10 @@
|
|
|
|
|
%global crate darling_core
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.8.5
|
|
|
|
|
Version: 0.8.6
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Helper crate for proc-macro library for reading attributes into structs
|
|
|
|
|
|
|
|
|
|
# https://github.com/TedDriggs/darling/issues/64
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/darling_core
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
@ -41,6 +40,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
@ -67,6 +67,30 @@ which use "diagnostics" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+diagnostics-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+strsim-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+strsim-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "strsim" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+strsim-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+suggestions-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+suggestions-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "suggestions" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+suggestions-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
@ -83,5 +107,8 @@ which use "diagnostics" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Mar 18 21:46:18 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.6-1
|
|
|
|
|
- Update to 0.8.6
|
|
|
|
|
|
|
|
|
|
* Wed Mar 13 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.5-1
|
|
|
|
|
- Initial package
|
|
|
|
|