Update to 3.0.10

- Use SPDX for licenses

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 2 years ago
parent bc072135a0
commit 22664641f5
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

@ -1 +1,2 @@
/fd-lock-2.0.0.crate /fd-lock-2.0.0.crate
/fd-lock-3.0.10.crate

@ -0,0 +1,13 @@
--- fd-lock-3.0.10/Cargo.toml 1970-01-01T00:00:01+00:00
+++ fd-lock-3.0.10/Cargo.toml 2023-02-25T03:30:49.571470+00:00
@@ -44,10 +44,3 @@
version = "0.36.0"
features = ["fs"]
-[target."cfg(windows)".dependencies.windows-sys]
-version = "0.45.0"
-features = [
- "Win32_Foundation",
- "Win32_Storage_FileSystem",
- "Win32_System_IO",
-]

@ -1,27 +1,21 @@
# Generated by rust2rpm 17 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate fd-lock %global crate fd-lock
Name: rust-%{crate} Name: rust-fd-lock
Version: 2.0.0 Version: 3.0.10
Release: %autorelease Release: %autorelease
Summary: Advisory cross-platform lock on a file using a file descriptor to it Summary: Advisory cross-platform lock on a file using a file descriptor to it
# Upstream license specification: MIT OR Apache-2.0 License: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/fd-lock URL: https://crates.io/crates/fd-lock
Source: %{crates_source} Source: %{crates_source}
# Drop windows dependencies # Automatically generated patch to strip foreign dependencies
Patch0: fd-lock-fix-metadata.diff Patch: fd-lock-fix-metadata-auto.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Advisory cross-platform lock on a file using a file descriptor to it.} Advisory cross-platform lock on a file using a file descriptor to it.}
@ -34,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-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc README.md %license %{crate_instdir}/LICENSE-MIT
%{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}
@ -48,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 (fd-lock-2.0.0.crate) = 2bf33b4091f9553d54d1e9e2f9d7dcb03e33edf6515641370160396244349f04d144a613d776dc1b94fb223af04b6e3032ef959a45941315fdcd3659bdd80238 SHA512 (fd-lock-3.0.10.crate) = fb4bee2949cfded340c6b950a3ef5a9cf0688d0a9c8bf05b158f8b833e7fbb8a2db34448e00c7860834473cde32af0ba39a7b2b2008dfeaa92c02f30be395ddb

Loading…
Cancel
Save