|
|
|
@ -7,13 +7,16 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.3.4
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: C expression parser and evaluator
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
|
URL: https://crates.io/crates/cexpr
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
Source0: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# - Bump clang-sys to 0.28.0 https://github.com/jethrogb/rust-cexpr/pull/13
|
|
|
|
|
Patch0: cexpr-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
@ -21,7 +24,7 @@ BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(nom/default) >= 4.0.0 with crate(nom/default) < 5.0.0)
|
|
|
|
|
BuildRequires: (crate(nom/verbose-errors) >= 4.0.0 with crate(nom/verbose-errors) < 5.0.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(clang-sys/default) >= 0.13.0 with crate(clang-sys/default) < 0.28.0)
|
|
|
|
|
BuildRequires: (crate(clang-sys/default) >= 0.13.0 with crate(clang-sys/default) < 0.29.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
@ -70,6 +73,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Mar 17 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.3.4-3
|
|
|
|
|
- Bump to clang-sys 0.28
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|