public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-fs-set-times] epel10.3: Initial import (#1966284)
@ 2026-08-25 10:19 Olivier Lemasle
0 siblings, 0 replies; only message in thread
From: Olivier Lemasle @ 2026-08-25 10:19 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-fs-set-times
Branch : epel10.3
Commit : 369f2209295678fa52c51c302d5b4bae7346d688
Author : Olivier Lemasle <o.lemasle@gmail.com>
Date : 2021-06-07T22:18:03+02:00
Stats : +96/-0 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-fs-set-times/c/369f2209295678fa52c51c302d5b4bae7346d688?branch=epel10.3
Log:
Initial import (#1966284)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..03e74d3
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/fs-set-times-0.3.1.crate
diff --git a/fs-set-times-fix-metadata.diff b/fs-set-times-fix-metadata.diff
new file mode 100644
index 0000000..1298536
--- /dev/null
+++ b/fs-set-times-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- fs-set-times-0.3.1/Cargo.toml 1970-01-01T00:00:00+00:00
++++ fs-set-times-0.3.1/Cargo.toml 2021-05-29T19:36:17.987792+00:00
+@@ -26,8 +26,5 @@
+ version = "0.6.0"
+ [target."cfg(not(windows))".dependencies.posish]
+ version = "0.6.1"
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3.9"
+-features = ["winerror"]
+ [badges.maintenance]
+ status = "actively-developed"
diff --git a/rust-fs-set-times.spec b/rust-fs-set-times.spec
new file mode 100644
index 0000000..aeca1e2
--- /dev/null
+++ b/rust-fs-set-times.spec
@@ -0,0 +1,83 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate fs-set-times
+
+Name: rust-%{crate}
+Version: 0.3.1
+Release: 1%{?dist}
+Summary: Set filesystem timestamps
+
+# Upstream license specification: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
+License: ASL 2.0 with exceptions or ASL 2.0 or MIT
+URL: https://crates.io/crates/fs-set-times
+Source: %{crates_source}
+# Initial patched metadata
+# Remove windows-only dependency winapi
+Patch0: fs-set-times-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Set filesystem timestamps.
+
+Rust crate fs-set-times provides functions to set timestamps on files,
+directories, and other filesystem objects.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%doc README.md SECURITY.md
+%doc CODE_OF_CONDUCT.md ORG_CODE_OF_CONDUCT.md
+%license LICENSE-APACHE LICENSE-MIT COPYRIGHT
+%license LICENSE-Apache-2.0_WITH_LLVM-exception
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+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.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Mon May 31 20:37:18 CEST 2021 Olivier Lemasle <o.lemasle@gmail.com> - 0.3.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..d770559
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (fs-set-times-0.3.1.crate) = 2dc4c72e4d2caac9f3d6fc7399a903f80e797c7880e043c31f83ebbaed555c2a05eb9531944975b3a23880bfc90c2ca07763522f92ebbb3ae82204b24bc5dfa7
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-25 10:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-25 10:19 [rpms/rust-fs-set-times] epel10.3: Initial import (#1966284) Olivier Lemasle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox