|
|
@ -7,19 +7,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.9.2
|
|
|
|
Version: 0.9.2
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Macros 1.1 derive implementation for Pread and Pwrite traits from scroll crate
|
|
|
|
Summary: Macros 1.1 derive implementation for Pread and Pwrite traits from scroll crate
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/scroll_derive
|
|
|
|
URL: https://crates.io/crates/scroll_derive
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# Bump to quote-0.5 and syn-0.13 -- https://github.com/m4b/scroll_derive/pull/5
|
|
|
|
|
|
|
|
Patch0: scroll_derive-0.9.2-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
# [dependencies]
|
|
|
|
BuildRequires: (crate(quote) >= 0.4.0 with crate(quote) < 0.5.0)
|
|
|
|
BuildRequires: (crate(quote) >= 0.5.0 with crate(quote) < 0.6.0)
|
|
|
|
BuildRequires: (crate(syn) >= 0.12.0 with crate(syn) < 0.13.0)
|
|
|
|
BuildRequires: (crate(syn) >= 0.13.0 with crate(syn) < 0.14.0)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(scroll) >= 0.9.0 with crate(scroll) < 0.10.0)
|
|
|
|
BuildRequires: (crate(scroll) >= 0.9.0 with crate(scroll) < 0.10.0)
|
|
|
@ -60,6 +63,9 @@ which use %{crate} from crates.io.
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Apr 17 2018 Josh Stone <jistone@redhat.com> - 0.9.2-2
|
|
|
|
|
|
|
|
- Bump to quote-0.5 and syn-0.13
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Mar 10 2018 Josh Stone <jistone@redhat.com> - 0.9.2-1
|
|
|
|
* Sat Mar 10 2018 Josh Stone <jistone@redhat.com> - 0.9.2-1
|
|
|
|
- Update to 0.9.2
|
|
|
|
- Update to 0.9.2
|
|
|
|
|
|
|
|
|
|
|
|