Update to version 0.2.3; Fixes RHBZ#2140449

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

1
.gitignore vendored

@ -1,2 +1,3 @@
/sys-locale-0.2.0.crate
/sys-locale-0.2.1.crate
/sys-locale-0.2.3.crate

@ -1,23 +1,19 @@
# Generated by rust2rpm 21
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate sys-locale
Name: rust-%{crate}
Version: 0.2.1
Name: rust-sys-locale
Version: 0.2.3
Release: %autorelease
Summary: Small and lightweight library to obtain the active system locale
# 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/sys-locale
Source: %{crates_source}
# Initial patched metadata
# * drop non-linux dependencies
Patch0: sys-locale-fix-metadata.diff
ExclusiveArch: %{rust_arches}
# Automatically generated patch to strip foreign dependencies
Patch: sys-locale-fix-metadata-auto.diff
BuildRequires: rust-packaging >= 21

@ -1 +1 @@
SHA512 (sys-locale-0.2.1.crate) = c2d67165f609320692fc8938931996a775aeba7fb319246c8340010b33994fc2f637beff68a0c7fae26e7a3d8b19f43770e2585263df92f65bcad7f4666a0fa9
SHA512 (sys-locale-0.2.3.crate) = 9346e721efcd1f3d7efed7f194f744fd09c9808595415cabbf91463fa44a7fbae9216f17b36912eeb572aaf3b54536eca2452562b225bb0235e52d834cccf805

@ -1,14 +1,9 @@
--- sys-locale-0.2.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ sys-locale-0.2.1/Cargo.toml 2022-07-16T11:20:26.239014+00:00
@@ -20,22 +20,3 @@
--- sys-locale-0.2.3/Cargo.toml 1970-01-01T00:00:01+00:00
+++ sys-locale-0.2.3/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -25,24 +25,3 @@
license = "MIT OR Apache-2.0"
repository = "https://github.com/1Password/sys-locale"
[build-dependencies.cc]
version = "1.0"
-[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.cstr_core]
-version = "0.2"
-
-[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.libc]
-version = "0.2"
-[target."cfg(target_arch = \"wasm32\")".dependencies.js-sys]
-version = "0.3"
-
@ -17,9 +12,16 @@
-
-[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys]
-version = "0.3"
-features = ["Window", "WorkerGlobalScope", "Navigator", "WorkerNavigator"]
-features = [
- "Window",
- "WorkerGlobalScope",
- "Navigator",
- "WorkerNavigator",
-]
-
-[target."cfg(target_os = \"android\")".dependencies.libc]
-version = "0.2"
-
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["winnls"]
Loading…
Cancel
Save