Initial import

Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
epel9
Robert-André Mauchin 5 years ago
parent d5c93d81cc
commit 9488d91f7c

1
.gitignore vendored

@ -1,2 +1,3 @@
/futures-util-0.2.1.crate /futures-util-0.2.1.crate
/futures-util-0.2.2.crate /futures-util-0.2.2.crate
/futures-util-0.3.1.crate

@ -1,41 +0,0 @@
--- futures-util-preview-0.2.2/Cargo.toml 1970-01-01T01:00:00+01:00
+++ futures-util-preview-0.2.2/Cargo.toml 2018-09-11T07:23:42.837228+02:00
@@ -11,7 +11,7 @@
# will likely look very different (and much more reasonable)
[package]
-name = "futures-util-preview"
+name = "futures-util"
version = "0.2.2"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
description = "Common utilities and extension traits for the futures-rs library.\n"
@@ -26,23 +26,23 @@
version = "1.4"
default-features = false
-[dependencies.futures-channel-preview]
+[dependencies.futures-channel]
version = "0.2.2"
default-features = false
-[dependencies.futures-core-preview]
+[dependencies.futures-core]
version = "0.2.2"
default-features = false
-[dependencies.futures-io-preview]
+[dependencies.futures-io]
version = "0.2.2"
default-features = false
-[dependencies.futures-sink-preview]
+[dependencies.futures-sink]
version = "0.2.2"
default-features = false
[features]
bench = []
-default = ["std", "futures-core-preview/either", "futures-sink-preview/either"]
-std = ["futures-core-preview/std", "futures-io-preview/std", "futures-sink-preview/std", "either/use_std"]
+default = ["std", "futures-core/either", "futures-sink/either"]
+std = ["futures-core/std", "futures-io/std", "futures-sink/std", "either/use_std"]

@ -1,52 +1,340 @@
# Generated by rust2rpm # Generated by rust2rpm 12
# * Tests do not work out of the tree # Cyclic dependency on futures
# https://github.com/rust-lang-nursery/futures-rs/issues/1019
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate futures-util %global crate futures-util
%global real_crate futures-util-preview
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.2.2 Version: 0.3.1
Release: 2%{?dist} Release: 1%{?dist}
Summary: Common utilities and extension traits for the futures-rs library Summary: Common utilities and extension traits for the futures-rs library
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/futures-util-preview URL: https://crates.io/crates/futures-util
Source0: https://crates.io/api/v1/crates/%{real_crate}/%{version}/download#/%{crate}-%{version}.crate Source: %{crates_source}
# Initial patched metadata
# * Remove -preview suffix
Patch0: futures-util-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
# [dependencies]
BuildRequires: (crate(either) >= 1.4.0 with crate(either) < 2.0.0)
BuildRequires: (crate(futures-channel) >= 0.2.2 with crate(futures-channel) < 0.3.0)
BuildRequires: (crate(futures-core) >= 0.2.2 with crate(futures-core) < 0.3.0)
BuildRequires: (crate(futures-io) >= 0.2.2 with crate(futures-io) < 0.3.0)
BuildRequires: (crate(futures-sink) >= 0.2.2 with crate(futures-sink) < 0.3.0)
%description %global _description %{expand:
%{summary}. Common utilities and extension traits for the futures-rs library.}
%description %{_description}
%package devel %package devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description devel %description devel %{_description}
Common utilities and extension traits for the futures-rs library.
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%license LICENSE-APACHE LICENSE-MIT
%{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}+alloc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+alloc-devel %{_description}
This package contains library source intended for building other packages
which use "alloc" feature of "%{crate}" crate.
%files -n %{name}+alloc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+async-await-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+async-await-devel %{_description}
This package contains library source intended for building other packages
which use "async-await" feature of "%{crate}" crate.
%files -n %{name}+async-await-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+async-await-macro-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+async-await-macro-devel %{_description}
This package contains library source intended for building other packages
which use "async-await-macro" feature of "%{crate}" crate.
%files -n %{name}+async-await-macro-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+bilock-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+bilock-devel %{_description}
This package contains library source intended for building other packages
which use "bilock" feature of "%{crate}" crate.
%files -n %{name}+bilock-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+cfg-target-has-atomic-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+cfg-target-has-atomic-devel %{_description}
This package contains library source intended for building other packages
which use "cfg-target-has-atomic" feature of "%{crate}" crate.
%files -n %{name}+cfg-target-has-atomic-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+channel-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+channel-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages
which use %{crate} from crates.io. which use "channel" feature of "%{crate}" crate.
%files -n %{name}+channel-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+compat-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+compat-devel %{_description}
This package contains library source intended for building other packages
which use "compat" feature of "%{crate}" crate.
%files -n %{name}+compat-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "futures" feature of "%{crate}" crate.
%files -n %{name}+futures-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+futures-channel-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-channel-devel %{_description}
This package contains library source intended for building other packages
which use "futures-channel" feature of "%{crate}" crate.
%files -n %{name}+futures-channel-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "futures-io" feature of "%{crate}" crate.
%files -n %{name}+futures-io-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+futures-macro-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-macro-devel %{_description}
This package contains library source intended for building other packages
which use "futures-macro" feature of "%{crate}" crate.
%files -n %{name}+futures-macro-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+futures-sink-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-sink-devel %{_description}
This package contains library source intended for building other packages
which use "futures-sink" feature of "%{crate}" crate.
%files -n %{name}+futures-sink-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+io-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+io-devel %{_description}
This package contains library source intended for building other packages
which use "io" feature of "%{crate}" crate.
%files -n %{name}+io-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+io-compat-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+io-compat-devel %{_description}
This package contains library source intended for building other packages
which use "io-compat" feature of "%{crate}" crate.
%files -n %{name}+io-compat-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+memchr-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+memchr-devel %{_description}
This package contains library source intended for building other packages
which use "memchr" feature of "%{crate}" crate.
%files -n %{name}+memchr-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+proc-macro-hack-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+proc-macro-hack-devel %{_description}
This package contains library source intended for building other packages
which use "proc-macro-hack" feature of "%{crate}" crate.
%files -n %{name}+proc-macro-hack-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+proc-macro-nested-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+proc-macro-nested-devel %{_description}
This package contains library source intended for building other packages
which use "proc-macro-nested" feature of "%{crate}" crate.
%files -n %{name}+proc-macro-nested-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+read-initializer-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+read-initializer-devel %{_description}
This package contains library source intended for building other packages
which use "read-initializer" feature of "%{crate}" crate.
%files -n %{name}+read-initializer-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+sink-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+sink-devel %{_description}
This package contains library source intended for building other packages
which use "sink" feature of "%{crate}" crate.
%files -n %{name}+sink-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+slab-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+slab-devel %{_description}
This package contains library source intended for building other packages
which use "slab" feature of "%{crate}" crate.
%files -n %{name}+slab-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "tokio-io" feature of "%{crate}" crate.
%files -n %{name}+tokio-io-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+unstable-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+unstable-devel %{_description}
This package contains library source intended for building other packages
which use "unstable" feature of "%{crate}" crate.
%files -n %{name}+unstable-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{real_crate}-%{version} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build
@ -58,19 +346,6 @@ which use %{crate} from crates.io.
%cargo_test %cargo_test
%endif %endif
%files devel
%license LICENSE-MIT LICENSE-APACHE
%{cargo_registry}/%{crate}-%{version}/
%changelog %changelog
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-2 * Fri Dec 13 22:50:30 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.3.1-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Sep 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-1
- Update to 0.2.2
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon May 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-1
- Initial package - Initial package

@ -1 +1 @@
SHA512 (futures-util-0.2.2.crate) = 8bc674653415e0ac3458db682d2ecfa836a9a5b18db45bc1e9d5129e9da25645b18e8c92cbd2280e49502af5c7d7b50574c471dc2863fa1f314a3f57b2aa647e SHA512 (futures-util-0.3.1.crate) = 1f3582175b741679a870bf9c9b174a6a4b9bdf07c93bf6e191765e54421cfba310a053e11caef58a2a129aa8e981787ffc2a5682c329a943240cda4010ffa0e7

Loading…
Cancel
Save