Tomas Hrcka 1 year ago
parent 5165a5a30e
commit e468e0443d

4
.gitignore vendored

@ -0,0 +1,4 @@
/fs-set-times-0.3.1.crate
/fs-set-times-0.14.0.crate
/fs-set-times-0.14.1.crate
/fs-set-times-0.15.0.crate

@ -0,0 +1,3 @@
# rust-fs-set-times
The rust-fs-set-times package

@ -0,0 +1,12 @@
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sat Dec 4 2021 Olivier Lemasle <o.lemasle@gmail.com> - 0.14.0-1
- Update to upstream 0.14.0 (fixes rhbz#1976478)
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 31 20:37:18 CEST 2021 Olivier Lemasle <o.lemasle@gmail.com> - 0.3.1-1
- Initial package

@ -1 +0,0 @@
unused as effort to package wasmtime is abandoned

@ -0,0 +1,11 @@
--- fs-set-times-0.15.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ fs-set-times-0.15.0/Cargo.toml 2022-04-13T22:35:23.127723+00:00
@@ -26,8 +26,5 @@
default-features = false
[target."cfg(not(windows))".dependencies.rustix]
version = "0.33.0"
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3.9"
-features = ["winerror"]
[badges.maintenance]
status = "actively-developed"

@ -0,0 +1,80 @@
# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate fs-set-times
Name: rust-%{crate}
Version: 0.15.0
Release: %autorelease
Summary: Set filesystem timestamps
# Upstream license specification: Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
License: ASL 2.0 or MIT
URL: https://crates.io/crates/fs-set-times
Source: %{crates_source}
# Initial patched metadata
# * drop windows-specific dependencies
Patch0: fs-set-times-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Set filesystem timestamps.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/COPYRIGHT
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-Apache-2.0_WITH_LLVM-exception
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CODE_OF_CONDUCT.md
%doc %{crate_instdir}/ORG_CODE_OF_CONDUCT.md
%doc %{crate_instdir}/README.md
%doc %{crate_instdir}/SECURITY.md
%{crate_instdir}/
%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 the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/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
%autochangelog

@ -0,0 +1 @@
SHA512 (fs-set-times-0.15.0.crate) = 27018526e807f6e265e833465ea390295cbfa7083a0b49ff03668f503c3f249e9bfa4adf86d1722e83e898192f4aded65b5881be6d13ad20d84354c87a4d1f30
Loading…
Cancel
Save