Compare commits

..

2 Commits

Author SHA1 Message Date
Fabio Valentini bcd4f4bc3d
Merge branch 'rawhide' into epel9
2 years ago
Igor Raits 7b39e5568a
Rebuild
3 years ago

@ -0,0 +1,3 @@
# rust-same-file
The rust-same-file package

@ -1,26 +1,31 @@
# Generated by rust2rpm 24
# Generated by rust2rpm 19
%bcond_without check
%global debug_package %{nil}
%global crate same-file
Name: rust-same-file
Name: rust-%{crate}
Version: 1.0.6
Release: %autorelease
Summary: Simple crate for determining whether two file paths point to the same file
# Upstream license specification: Unlicense/MIT
License: Unlicense OR MIT
License: Unlicense or MIT
URL: https://crates.io/crates/same-file
Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: same-file-fix-metadata-auto.diff
# Initial patched metadata
# * No windows
Patch0: same-file-fix-metadata.diff
BuildRequires: rust-packaging >= 21
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
A simple crate for determining whether two file paths point to the same
file.}
Simple crate for determining whether two file paths point to the same file.}
%description %{_description}
@ -31,14 +36,12 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
use "%{crate}" crate.
%files devel
%license %{crate_instdir}/COPYING
%license %{crate_instdir}/LICENSE-MIT
%license %{crate_instdir}/UNLICENSE
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%license COPYING LICENSE-MIT UNLICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -47,10 +50,10 @@ 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.
use "the default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1,5 +1,5 @@
--- same-file-1.0.6/Cargo.toml 2020-01-11T17:02:30+00:00
+++ same-file-1.0.6/Cargo.toml 2023-05-25T18:13:37.729141+00:00
+++ same-file-1.0.6/Cargo.toml 2020-01-15T07:05:02.768147+00:00
@@ -25,5 +25,3 @@
repository = "https://github.com/BurntSushi/same-file"
[dev-dependencies.doc-comment]
Loading…
Cancel
Save