Initial import (#2236540)

epel10
Fabio Valentini 1 year ago
parent a44caacb09
commit b038b53bdb
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/build-context-0.1.1.crate

@ -1,3 +0,0 @@
# rust-build-context
The rust-build-context package

@ -0,0 +1,71 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate build-context
Name: rust-build-context
Version: 0.1.1
Release: %autorelease
Summary: Make build environment/target information available as constants
License: Apache-2.0 OR MIT
URL: https://crates.io/crates/build-context
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Make build environment/target information available as constants in
normal libraries and binaries.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%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 the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/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
%autochangelog

@ -0,0 +1,2 @@
[DEFAULT]
summary = Make build environment/target information available as constants

@ -0,0 +1 @@
SHA512 (build-context-0.1.1.crate) = d52435f679896016dbc943fcae2cc4f3851bc705a2be67498df8419dd5f91dc97545bed884e4bbe35f1d82af3be58fb3e6eeaea98483c040bcd506bd14fd8b65
Loading…
Cancel
Save