Update to version 0.2.1

epel9 imports/e9/rust-piper-0.2.1-1.el9
Fabio Valentini 1 year ago
parent 15332546d6
commit 94c9b4e5b7
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1,2 +1,3 @@
/piper-0.1.2.crate
/piper-0.1.3.crate
/piper-0.2.1.crate

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

@ -0,0 +1,25 @@
--- piper-0.2.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ piper-0.2.1/Cargo.toml 2023-10-08T21:09:34.238288+00:00
@@ -22,10 +22,6 @@
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/notgull/piper"
-
-[[bench]]
-name = "pipe_comparison"
-harness = false
[dependencies.atomic-waker]
version = "1.1.0"
@@ -58,11 +54,6 @@
[dev-dependencies.async-io]
version = "1.13.0"
-[dev-dependencies.criterion]
-version = "0.4.0"
-features = ["cargo_bench_support"]
-default-features = false
-
[dev-dependencies.easy-parallel]
version = "3.2.0"

@ -1,26 +1,22 @@
# Generated by rust2rpm 15
# * The tests are broken, https://github.com/stjepang/piper/issues/23
%bcond_with check
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate piper
Name: rust-%{crate}
Version: 0.1.3
Name: rust-piper
Version: 0.2.1
Release: %autorelease
Summary: Async pipes, channels, mutexes, and more
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/piper
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency
Patch: piper-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Async pipes, channels, mutexes, and more.}
@ -33,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}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -47,16 +45,74 @@ 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}+futures-io-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-io-devel %{_description}
This package contains library source intended for building other packages which
use the "futures-io" feature of the "%{crate}" crate.
%files -n %{name}+futures-io-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+portable-atomic-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+portable-atomic-devel %{_description}
This package contains library source intended for building other packages which
use the "portable-atomic" feature of the "%{crate}" crate.
%files -n %{name}+portable-atomic-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+portable-atomic-util-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+portable-atomic-util-devel %{_description}
This package contains library source intended for building other packages which
use the "portable-atomic-util" feature of the "%{crate}" crate.
%files -n %{name}+portable-atomic-util-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+portable_atomic_crate-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+portable_atomic_crate-devel %{_description}
This package contains library source intended for building other packages which
use the "portable_atomic_crate" feature of the "%{crate}" crate.
%files -n %{name}+portable_atomic_crate-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
# Depends on smol, but without a dependency
rm -v examples/foo.rs
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires

@ -1 +1 @@
SHA512 (piper-0.1.3.crate) = 58c49eba21bd2744273b5b5c4a74a3441e47a130366bbb7aa9f69557db76c64d931aef536f375639b4479c612bceb6757aff7f44002966ef4c98f365df86ecbd
SHA512 (piper-0.2.1.crate) = 86d2195b8811bc2d30050e977925a947b175ca674e99497b7202dd8c515e09fb83e42f389ed3c6b554dc2c6480892bfd26c91fee463115ef1c710aaea858afe1

Loading…
Cancel
Save