Update to version 0.3.0; Fixes RHBZ#2169162

epel9
Fabio Valentini 2 years ago
parent f703ff178f
commit 5e2ffdeea2
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -4,3 +4,4 @@
/errno-0.2.6.crate
/errno-0.2.7.crate
/errno-0.2.8.crate
/errno-0.3.0.crate

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

@ -0,0 +1,24 @@
--- errno-0.3.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ errno-0.3.0/Cargo.toml 2023-02-21T23:54:10.536812+00:00
@@ -29,21 +29,6 @@
default = ["std"]
std = []
-[target."cfg(target_os=\"dragonfly\")".dependencies.errno-dragonfly]
-version = "0.1.1"
-
-[target."cfg(target_os=\"hermit\")".dependencies.libc]
-version = "0.2"
-
-[target."cfg(target_os=\"wasi\")".dependencies.libc]
-version = "0.2"
-
[target."cfg(unix)".dependencies.libc]
version = "0.2"
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.45"
-features = [
- "Win32_Foundation",
- "Win32_System_Diagnostics_Debug",
-]

@ -1,28 +1,21 @@
# Generated by rust2rpm 18
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate errno
Name: rust-%{crate}
Version: 0.2.8
Name: rust-errno
Version: 0.3.0
Release: %autorelease
Summary: Cross-platform interface to the `errno` variable
Summary: Cross-platform interface to the errno variable
# Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/errno
Source: %{crates_source}
# Initial patched metadata
# * No dragonfly, hermit, wasi, windows dependencies
Patch0: errno-fix-metadata.diff
# Automatically generated patch to strip foreign dependencies
Patch: errno-fix-metadata-auto.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Cross-platform interface to the `errno` variable.}
@ -35,13 +28,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 CHANGELOG.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}
@ -49,11 +44,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}+std-devel
Summary: %{summary}
@ -61,11 +56,11 @@ 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.
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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (errno-0.2.8.crate) = 1f513743224cd9a9b7e4caaf33dab075a4a79efa90c9f46c9edfb0c8600daccd3ad2677ba2116621e19fcf8be456954da5d611cbcea4b6f1410f7731828b50d1
SHA512 (errno-0.3.0.crate) = 8b0626190d965306ddd84383b6b5ab529502eddf3859f7b480f6864e83310248b6044485e000bece8b95ef24d2f1bfffad6c2eeebd177f3a10e819b29e5e6f5b

Loading…
Cancel
Save