Update to version 7.2.0; Fixes RHBZ#2063563

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

1
.gitignore vendored

@ -7,3 +7,4 @@
/rpassword-4.0.5.crate /rpassword-4.0.5.crate
/rpassword-5.0.0.crate /rpassword-5.0.0.crate
/rpassword-5.0.1.crate /rpassword-5.0.1.crate
/rpassword-7.2.0.crate

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

@ -0,0 +1,19 @@
--- rpassword-7.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ rpassword-7.2.0/Cargo.toml 2023-04-14T11:54:32.236511+00:00
@@ -35,16 +35,3 @@
[target."cfg(unix)".dependencies.libc]
version = "0.2"
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = [
- "std",
- "winnt",
- "fileapi",
- "processenv",
- "winbase",
- "handleapi",
- "consoleapi",
- "minwindef",
- "wincon",
-]

@ -1,9 +0,0 @@
--- rpassword-5.0.1/Cargo.toml 2021-01-19T22:15:25+00:00
+++ rpassword-5.0.1/Cargo.toml 2021-01-20T13:23:25.438015+00:00
@@ -23,6 +23,3 @@
repository = "https://github.com/conradkleinespel/rpassword"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["std", "winnt", "fileapi", "processenv", "winbase", "handleapi", "consoleapi", "minwindef", "wincon"]

@ -1,28 +1,21 @@
# Generated by rust2rpm 16 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate rpassword %global crate rpassword
Name: rust-%{crate} Name: rust-rpassword
Version: 5.0.1 Version: 7.2.0
Release: %autorelease Release: %autorelease
Summary: Read passwords in console applications Summary: Read passwords in console applications
# Upstream license specification: Apache-2.0 License: Apache-2.0
License: ASL 2.0
URL: https://crates.io/crates/rpassword URL: https://crates.io/crates/rpassword
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Automatically generated patch to strip foreign dependencies
# * Drop windows dependencies Patch: rpassword-fix-metadata-auto.diff
Patch0: rpassword-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Read passwords in console applications.} Read passwords in console applications.}
@ -35,13 +28,14 @@ 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 %{crate_instdir}/LICENSE-APACHE
%doc README.md %doc %{crate_instdir}/CONTRIBUTING.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -49,11 +43,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
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (rpassword-5.0.1.crate) = bcd20c2920734a2f281b9ff924138605ea409d0bea9721ee96100f45eed14dffe65a8bdc8feed7c36d3564c8d902e78e0d2306b3736d03b8f195a9d212792feb SHA512 (rpassword-7.2.0.crate) = b220b45143d43d8ae8d975b8e89022281cef6cac7db07df6577d9fbff6881c1d7e3c20b3a23bf746e77be5e9d8ae54baf9aa7f14aef6370f0165783e72bc8113

Loading…
Cancel
Save