|
|
|
@ -1,16 +1,15 @@
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
# Generated by rust2rpm 13
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate strum
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.15.0
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.17.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Helpful macros for working with enums and strings
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
|
# https://github.com/Peternator7/strum/issues/55
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/strum
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
@ -37,7 +36,8 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -49,7 +49,31 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+derive-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+derive-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "derive" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+derive-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+strum_macros-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+strum_macros-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "strum_macros" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+strum_macros-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
@ -70,6 +94,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Feb 21 2020 Josh Stone <jistone@redhat.com> - 0.17.1-1
|
|
|
|
|
- Update to 0.17.1
|
|
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|