Compare commits

..

No commits in common. 'epel10' and 'epel9' have entirely different histories.

@ -0,0 +1,3 @@
# rust-bzip2
The rust-bzip2 package

@ -1,4 +1,4 @@
# Generated by rust2rpm 26
# Generated by rust2rpm 23
# * dev-dependencies are outdated
%bcond_with check
%global debug_package %{nil}
@ -15,7 +15,7 @@ License: MIT OR Apache-2.0
URL: https://crates.io/crates/bzip2
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Bindings to libbzip2 for bzip2 compression and decompression exposed as
@ -50,8 +50,44 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+futures-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-devel %{_description}
This package contains library source intended for building other packages which
use the "futures" feature of the "%{crate}" crate.
%files -n %{name}+futures-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-devel %{_description}
This package contains library source intended for building other packages which
use the "tokio" feature of the "%{crate}" crate.
%files -n %{name}+tokio-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tokio-io-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-io-devel %{_description}
This package contains library source intended for building other packages which
use the "tokio-io" feature of the "%{crate}" crate.
%files -n %{name}+tokio-io-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires

@ -0,0 +1,3 @@
[DEFAULT]
unwanted-features =
static

@ -1,17 +0,0 @@
[package]
summary = "Bindings to libbzip2 exposed as Reader/Writer streams"
[tests]
run = ["none"]
comments = ["dev-dependencies are outdated"]
[features]
hide = [
# unused support code for tokio v0.1 and futures v0.1
"futures",
"tokio",
"tokio-io",
# only dynamically linking system bzip2 is supported
"static",
]
Loading…
Cancel
Save