Update to version 0.3.1; Fixes RHBZ#2235205

epel9 imports/e9/rust-sys-locale-0.3.1-1.el9
Fabio Valentini 1 year ago
parent 66d09633a1
commit 988aea6c47
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -3,3 +3,4 @@
/sys-locale-0.2.3.crate
/sys-locale-0.2.4.crate
/sys-locale-0.3.0.crate
/sys-locale-0.3.1.crate

@ -5,7 +5,7 @@
%global crate sys-locale
Name: rust-sys-locale
Version: 0.3.0
Version: 0.3.1
Release: %autorelease
Summary: Small and lightweight library to obtain the active system locale
@ -50,18 +50,6 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+js-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+js-devel %{_description}
This package contains library source intended for building other packages which
use the "js" feature of the "%{crate}" crate.
%files -n %{name}+js-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep

@ -0,0 +1,3 @@
[DEFAULT]
unwanted-features =
js

@ -1 +1 @@
SHA512 (sys-locale-0.3.0.crate) = 47833c5c0974b394b55ca3a8d1c598a8ef1570a4e9f48ebb30d42c76a36a218a3746dadb185f37bc3f3ab189c9cde106124ac51987075fc83b0e058e20225c72
SHA512 (sys-locale-0.3.1.crate) = c06ff352d5beb9d214f08e82b8d49acd8b83114e6b88c9685f0694d42bba079215e6afd1c5c75a8e8bfbcc72d99cb01de7a3d8f160196adb6db9c34bcf1a1ebd

@ -1,6 +1,6 @@
--- sys-locale-0.3.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ sys-locale-0.3.0/Cargo.toml 2023-05-18T20:28:03.527912+00:00
@@ -27,35 +27,5 @@
--- sys-locale-0.3.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ sys-locale-0.3.1/Cargo.toml 2023-08-28T16:04:54.741904+00:00
@@ -27,31 +27,5 @@
[features]
js = [
@ -27,12 +27,8 @@
-]
-optional = true
-
-[target."cfg(all(target_family = \"wasm\", not(unix)))".dev-dependencies.wasm-bindgen-test]
-version = "0.3"
-
-[target."cfg(target_os = \"android\")".dependencies.libc]
-version = "0.2"
-
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.45"
-features = [
- "Win32_Globalization",
- "Win32_System_SystemServices",
-]

Loading…
Cancel
Save