|
|
|
@ -1,11 +1,11 @@
|
|
|
|
|
# Generated by rust2rpm 18
|
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate bugreport
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.4.1
|
|
|
|
|
Version: 0.5.0
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Collect system and environment information for bug reports
|
|
|
|
|
|
|
|
|
@ -15,11 +15,8 @@ URL: https://crates.io/crates/bugreport
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Collect system and environment information for bug reports.}
|
|
|
|
@ -32,13 +29,15 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENSE-MIT LICENSE-APACHE
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
%license %{crate_instdir}/LICENSE-APACHE
|
|
|
|
|
%license %{crate_instdir}/LICENSE-MIT
|
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
|
%doc %{crate_instdir}/example-report.md
|
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -46,11 +45,11 @@ 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.
|
|
|
|
|
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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+collector_operating_system-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -58,11 +57,11 @@ 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.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "collector_operating_system" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+collector_operating_system-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+format_markdown-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -70,11 +69,11 @@ 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.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "format_markdown" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+format_markdown-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+format_plaintext-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -82,11 +81,11 @@ 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.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "format_plaintext" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+format_plaintext-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+git-version-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -94,11 +93,11 @@ 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.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "git-version" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+git-version-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+git_hash-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -106,11 +105,11 @@ 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.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "git_hash" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+git_hash-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+sys-info-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -118,11 +117,11 @@ 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.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "sys-info" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+sys-info-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|