Update to version 2.3.0; Fixes RHBZ#2120067

epel9
Fabio Valentini 3 years ago
parent 11710d8b05
commit fc03b211d5
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -5,3 +5,4 @@
/polling-2.0.3.crate /polling-2.0.3.crate
/polling-2.1.0.crate /polling-2.1.0.crate
/polling-2.2.0.crate /polling-2.2.0.crate
/polling-2.3.0.crate

@ -1,13 +1,16 @@
--- polling-2.2.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- polling-2.3.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ polling-2.2.0/Cargo.toml 2021-11-11T11:36:14.986721+00:00 +++ polling-2.3.0/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -34,10 +34,3 @@ @@ -60,13 +60,3 @@
std = []
[target."cfg(any(unix, target_os = \"fuchsia\", target_os = \"vxworks\"))".dependencies.libc] [target."cfg(any(unix, target_os = \"fuchsia\", target_os = \"vxworks\"))".dependencies.libc]
version = "0.2.77" version = "0.2.77"
-[target."cfg(windows)".dependencies.wepoll-ffi] -[target."cfg(windows)".dependencies.wepoll-ffi]
-version = "0.1.2" -version = "0.1.2"
-features = ["null-overlapped-wakeups-patch"] -features = ["null-overlapped-wakeups-patch"]
- -
-[target."cfg(windows)".dependencies.winapi] -[target."cfg(windows)".dependencies.winapi]
-version = "0.3.9" -version = "0.3.9"
-features = ["ioapiset", "winsock2"] -features = [
- "ioapiset",
- "winsock2",
-]

@ -1,28 +1,23 @@
# Generated by rust2rpm 18 # Generated by rust2rpm 22
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate polling %global crate polling
Name: rust-%{crate} Name: rust-polling
Version: 2.2.0 Version: 2.3.0
Release: %autorelease Release: %autorelease
Summary: Portable interface to epoll, kqueue, event ports, and wepoll Summary: Portable interface to epoll, kqueue, event ports, and wepoll
# Upstream license specification: Apache-2.0 OR MIT License: Apache-2.0 OR MIT
License: ASL 2.0 or MIT
URL: https://crates.io/crates/polling URL: https://crates.io/crates/polling
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Automatically generated patch to strip foreign dependencies
# * drop windows-specific dependencies Patch: polling-fix-metadata-auto.diff
Patch0: polling-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Portable interface to epoll, kqueue, event ports, and wepoll.} Portable interface to epoll, kqueue, event ports, and wepoll.}
@ -35,13 +30,15 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc README.md CHANGELOG.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -49,11 +46,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -61,11 +58,11 @@ BuildArch: noarch
%description -n %{name}+std-devel %{_description} %description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "std" feature of "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (polling-2.2.0.crate) = 6592682d6abf61341e18e5b7e6aedccc31de36016c323ee4e01ca4247d5a40be14f9f60e0602f828ce6ed55e29daa3e601e62a1d472a7ab3a75d760fb1fbd99b SHA512 (polling-2.3.0.crate) = 2f3352c0cddd06fb85b2cb5967ced2f3e18ab9dc6b66d08155038b7398443c797bc74a88983bb999a9c87a7c47a1170e34b920b18dc0485901def84c2ac1db35

Loading…
Cancel
Save