Update to 0.5.0; Fixes: RHBZ#2224753

epel10
Davide Cavalca 2 years ago
parent 8c3305974f
commit 57dafbbe2a

1
.gitignore vendored

@ -1,2 +1,3 @@
/mktemp-0.4.0.crate
/mktemp-0.4.1.crate
/mktemp-0.5.0.crate

@ -0,0 +1,9 @@
--- mktemp-0.5.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ mktemp-0.5.0/Cargo.toml 2023-07-25T05:48:22.064555+00:00
@@ -27,5 +27,5 @@
repository = "https://github.com/samgiles/rs-mktemp"
[dependencies.uuid]
-version = "~1.2"
+version = "1.4"
features = ["v4"]

@ -1,25 +1,22 @@
# Generated by rust2rpm 16
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate mktemp
Name: rust-%{crate}
Version: 0.4.1
Name: rust-mktemp
Version: 0.5.0
Release: %autorelease
Summary: Mktemp files and directories
Summary: Create temporary files and directories
# Upstream license specification: MPL-2.0
License: MPLv2.0
License: MPL-2.0
URL: https://crates.io/crates/mktemp
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * relax uuid dependency
Patch: mktemp-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Mktemp files and directories.}
@ -32,13 +29,13 @@ 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
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -46,11 +43,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
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -0,0 +1,2 @@
[DEFAULT]
summary = Create temporary files and directories

@ -1 +1 @@
SHA512 (mktemp-0.4.1.crate) = cea41f8bbd6252b8ed342bbf93753c624e068fc9792e459a79e2ccee4c1a735e0159117de39e050ee671ef1c6503b9ca1f04315ca8ab6f38b4e80a56ebc6a130
SHA512 (mktemp-0.5.0.crate) = dd36a11752fb43fa52b9d5d57682bd7ecde690f734d2acf660bbcb70073ccea213041fe5507c6b2e9d31bf137e63fc070097f8e24202168bb305793d7ab5bb9b

Loading…
Cancel
Save