Regenerate with rust2rpm v24

epel9
Fabio Valentini 2 years ago
parent 53cac08a0c
commit 7362306f40
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,3 +0,0 @@
# rust-opener
The rust-opener package

@ -1,5 +1,5 @@
--- opener-0.5.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ opener-0.5.0/Cargo.toml 2022-02-21T23:06:31.709936+00:00
+++ opener-0.5.0/Cargo.toml 2023-08-05T22:37:47.635871+00:00
@@ -25,9 +25,6 @@
version = "0.9"
[target."cfg(target_os = \"linux\")".dependencies.bstr]

@ -1,25 +1,21 @@
# Generated by rust2rpm 20
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate opener
Name: rust-%{crate}
Name: rust-opener
Version: 0.5.0
Release: %autorelease
Summary: Open a file or link using the system default program
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/opener
Source: %{crates_source}
# Initial patched metadata
# * drop windows-specific dependencies
Patch0: opener-fix-metadata.diff
# Automatically generated patch to strip foreign dependencies
Patch: opener-fix-metadata-auto.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Open a file or link using the system default program.}
@ -36,8 +32,10 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE-APACHE LICENSE-MIT LICENSE-THIRD-PARTY
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%license %{crate_instdir}/LICENSE-THIRD-PARTY
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -49,7 +47,7 @@ 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

Loading…
Cancel
Save