Initial import (#1767466).

epel9
Artem Polishchuk 5 years ago
parent a2bcd4c2df
commit fd31389b12

1
.gitignore vendored

@ -0,0 +1 @@
/predicates-core-1.0.0.crate

@ -0,0 +1,75 @@
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate predicates-core
Name: rust-%{crate}
Version: 1.0.0
Release: 1%{?dist}
Summary: API for boolean-valued predicate functions
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/predicates-core
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
API for boolean-valued predicate functions.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%license LICENSE-APACHE LICENSE-MIT
%doc README.md CHANGELOG.md
%{cargo_registry}/%{crate}-%{version}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
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
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Thu Oct 31 16:04:04 EET 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.0.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (predicates-core-1.0.0.crate) = 024f997976ae618e3b82d59613f8b6c41b3c0b3b595b6cf38d10d2d27a11388e9511ca38c06d46b52a12fc19d3cec36a69ca14e1e21f316a719539e41c86d6f4
Loading…
Cancel
Save