Update to 5.0.1

- Convert to rust2rpm.toml

Signed-off-by: Michel Lind <salimma@fedoraproject.org>
epel9 imports/e9/rust-open-5.0.1-1.el9
Michel Lind 1 year ago
parent 9332f662a9
commit 82d5e23a7f
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

@ -20,3 +20,4 @@
/open-3.4.0.crate /open-3.4.0.crate
/open-4.1.0.crate /open-4.1.0.crate
/open-4.2.0.crate /open-4.2.0.crate
/open-5.0.1.crate

@ -1,5 +1,5 @@
--- open-4.2.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- open-5.0.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ open-4.2.0/Cargo.toml 2023-06-23T20:22:38.968969+00:00 +++ open-5.0.1/Cargo.toml 2024-01-18T18:23:46.889530+00:00
@@ -31,11 +31,7 @@ @@ -31,11 +31,7 @@
] ]
license = "MIT" license = "MIT"

@ -1,11 +1,11 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 25
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate open %global crate open
Name: rust-open Name: rust-open
Version: 4.2.0 Version: 5.0.1
Release: %autorelease Release: %autorelease
Summary: Open a path or URL using the program configured on the system Summary: Open a path or URL using the program configured on the system
@ -16,7 +16,7 @@ Source: %{crates_source}
# * drop useless /usr/bin/open binary # * drop useless /usr/bin/open binary
Patch: open-fix-metadata.diff Patch: open-fix-metadata.diff
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Open a path or URL using the program configured on the system.} Open a path or URL using the program configured on the system.}
@ -52,7 +52,7 @@ use the "default" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1,4 +0,0 @@
[DEFAULT]
summary = Open a path or URL using the program configured on the system
lib.requires =
/usr/bin/xdg-open

@ -0,0 +1,7 @@
[package]
summary = "Open a path or URL using the program configured on the system"
[requires]
lib = [
"/usr/bin/xdg-open",
]

@ -1 +1 @@
SHA512 (open-4.2.0.crate) = 6822fb3e15203e974d620770da7230985f4f79bb232d749d3320139a3a1c8c41b0e9d172cf97da9f2e1d9bc99b0321dc30b30bda32b1bc68c2bdc92d98a1e55c SHA512 (open-5.0.1.crate) = 4e41ba16bf57def61a94e4c51356d284e6ad88cd18bde49dc96b53f1cf7ce0373280bfede48f22df871e8243b974c6122ac9a06aaa8ee2336910d21e876c6ba2

Loading…
Cancel
Save