Initial package (closes: RHBZ#1983470)

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
epel9
Igor Raits 4 years ago
parent 04945cd160
commit 51be371953
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E

1
.gitignore vendored

@ -0,0 +1 @@
/bugreport-0.4.0.crate

@ -0,0 +1,146 @@
# Generated by rust2rpm 18
%bcond_without check
%global debug_package %{nil}
%global crate bugreport
Name: rust-%{crate}
Version: 0.4.0
Release: %autorelease
Summary: Collect system and environment information for bug reports
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/bugreport
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Collect system and environment information for bug reports.}
%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-MIT LICENSE-APACHE
%doc examples example-report.md README.md examples/readme.rs
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%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_no_tilde}/Cargo.toml
%package -n %{name}+collector_operating_system-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+collector_operating_system-devel %{_description}
This package contains library source intended for building other packages
which use "collector_operating_system" feature of "%{crate}" crate.
%files -n %{name}+collector_operating_system-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+format_markdown-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+format_markdown-devel %{_description}
This package contains library source intended for building other packages
which use "format_markdown" feature of "%{crate}" crate.
%files -n %{name}+format_markdown-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+format_plaintext-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+format_plaintext-devel %{_description}
This package contains library source intended for building other packages
which use "format_plaintext" feature of "%{crate}" crate.
%files -n %{name}+format_plaintext-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+git-version-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+git-version-devel %{_description}
This package contains library source intended for building other packages
which use "git-version" feature of "%{crate}" crate.
%files -n %{name}+git-version-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+git_hash-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+git_hash-devel %{_description}
This package contains library source intended for building other packages
which use "git_hash" feature of "%{crate}" crate.
%files -n %{name}+git_hash-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+sys-info-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+sys-info-devel %{_description}
This package contains library source intended for building other packages
which use "sys-info" feature of "%{crate}" crate.
%files -n %{name}+sys-info-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 (bugreport-0.4.0.crate) = e46bbdfff4567b1916a99149d1062aa2e658686eb3d0252d206310a5e87f18cd068ad615bc05e832d518f11a54b1f2e1a6308ab2c3459414ca0422ab3c644627
Loading…
Cancel
Save