|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.3.0
|
|
|
|
Version: 0.3.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: C expression parser and evaluator
|
|
|
|
Summary: C expression parser and evaluator
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
|
# Upstream license specification: Apache-2.0/MIT
|
|
|
@ -14,7 +14,7 @@ License: ASL 2.0 or MIT
|
|
|
|
URL: https://crates.io/crates/cexpr
|
|
|
|
URL: https://crates.io/crates/cexpr
|
|
|
|
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
|
|
|
|
# Initial patched metadata
|
|
|
|
# * Bump clang-sys to 0.24 and fix tests
|
|
|
|
# * Bump clang-sys to 0.26 and fix tests
|
|
|
|
Patch0: cexpr-fix-metadata.diff
|
|
|
|
Patch0: cexpr-fix-metadata.diff
|
|
|
|
Patch0001: 0001-bump-clang-sys-to-0.24.patch
|
|
|
|
Patch0001: 0001-bump-clang-sys-to-0.24.patch
|
|
|
|
|
|
|
|
|
|
|
@ -25,7 +25,7 @@ BuildRequires: rust-packaging
|
|
|
|
BuildRequires: ((crate(nom) >= 4.0.0 with crate(nom) < 5.0.0) with crate(nom/verbose-errors))
|
|
|
|
BuildRequires: ((crate(nom) >= 4.0.0 with crate(nom) < 5.0.0) with crate(nom/verbose-errors))
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(clang-sys) >= 0.24.0 with crate(clang-sys) < 0.25.0)
|
|
|
|
BuildRequires: (crate(clang-sys) >= 0.26.0 with crate(clang-sys) < 0.27.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -61,5 +61,8 @@ which use %{crate} from crates.io.
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Oct 08 2018 Josh Stone <jistone@redhat.com> - 0.3.0-2
|
|
|
|
|
|
|
|
- Bump to clang-sys 0.26
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.0-1
|
|
|
|
* Thu Oct 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.0-1
|
|
|
|
- Initial package
|
|
|
|
- Initial package
|
|
|
|