Initial Fedora package

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 3 years ago
parent 2f06894fc8
commit 8b951a8216

1
.gitignore vendored

@ -0,0 +1 @@
/is_ci-1.1.1.crate

@ -0,0 +1,73 @@
# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate is_ci
Name: rust-%{crate}
Version: 1.1.1
Release: %autorelease
Summary: Super lightweight CI environment checker
# Upstream license specification: ISC
License: ISC
URL: https://crates.io/crates/is_ci
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Super lightweight CI environment checker. Just tells you if you're in CI or not
without much fuss.}
%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
%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 @@
SHA512 (is_ci-1.1.1.crate) = 89341da9fe86cf4aa5a107f8dfab21020c581e661ea551e4f2e33e39efa21dc0c2e46b2fef08fbe75d16fb1028118971561b1a4e0c351ab7de6125b7102372b6
Loading…
Cancel
Save