|
|
@ -1,11 +1,10 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global crate is_ci
|
|
|
|
%global crate is_ci
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-is_ci
|
|
|
|
Name: rust-is_ci
|
|
|
|
Version: 1.1.1
|
|
|
|
Version: 1.2.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Super lightweight CI environment checker
|
|
|
|
Summary: Super lightweight CI environment checker
|
|
|
|
|
|
|
|
|
|
|
@ -13,7 +12,7 @@ License: ISC
|
|
|
|
URL: https://crates.io/crates/is_ci
|
|
|
|
URL: https://crates.io/crates/is_ci
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Super lightweight CI environment checker. Just tells you if you're in CI
|
|
|
|
Super lightweight CI environment checker. Just tells you if you're in CI
|
|
|
@ -21,6 +20,21 @@ or not without much fuss.}
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{crate}
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
# FIXME: paste output of %%cargo_license_summary here
|
|
|
|
|
|
|
|
License: # FIXME
|
|
|
|
|
|
|
|
# LICENSE.dependencies contains a full license breakdown
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{crate} %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{crate}
|
|
|
|
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%license LICENSE.dependencies
|
|
|
|
|
|
|
|
%doc CHANGELOG.md
|
|
|
|
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%{_bindir}/is_ci
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -49,7 +63,7 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
@ -57,6 +71,8 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
%{cargo_license_summary}
|
|
|
|
|
|
|
|
%{cargo_license} > LICENSE.dependencies
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%cargo_install
|
|
|
|
%cargo_install
|
|
|
|