From da8e6453c207b1b3288fb80ca11a7cf0e67b90d0 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 19 Jan 2024 02:11:51 +0300 Subject: [PATCH] import rust-open-5.0.1-1.el9.el9 --- .gitignore | 2 +- .rust-open.metadata | 2 +- SOURCES/open-fix-metadata.diff | 4 ++-- SOURCES/rust2rpm.conf | 4 ---- SOURCES/rust2rpm.toml | 7 +++++++ SPECS/rust-open.spec | 21 +++++++++++++++------ 6 files changed, 26 insertions(+), 14 deletions(-) delete mode 100644 SOURCES/rust2rpm.conf create mode 100644 SOURCES/rust2rpm.toml diff --git a/.gitignore b/.gitignore index a44e8e2..16b6b4a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/open-4.2.0.crate +SOURCES/open-5.0.1.crate diff --git a/.rust-open.metadata b/.rust-open.metadata index 47485a1..c629c3a 100644 --- a/.rust-open.metadata +++ b/.rust-open.metadata @@ -1 +1 @@ -000166ee384876218aefd1538397a59314e89603 SOURCES/open-4.2.0.crate +37cac0aaa4349a4af527129b6c0b2b9da4c04162 SOURCES/open-5.0.1.crate diff --git a/SOURCES/open-fix-metadata.diff b/SOURCES/open-fix-metadata.diff index 92d0cfb..a2d515d 100644 --- a/SOURCES/open-fix-metadata.diff +++ b/SOURCES/open-fix-metadata.diff @@ -1,5 +1,5 @@ ---- open-4.2.0/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 1970-01-01T00:00:01+00:00 ++++ open-5.0.1/Cargo.toml 2024-01-18T18:23:46.889530+00:00 @@ -31,11 +31,7 @@ ] license = "MIT" diff --git a/SOURCES/rust2rpm.conf b/SOURCES/rust2rpm.conf deleted file mode 100644 index 8a8b8e5..0000000 --- a/SOURCES/rust2rpm.conf +++ /dev/null @@ -1,4 +0,0 @@ -[DEFAULT] -summary = Open a path or URL using the program configured on the system -lib.requires = - /usr/bin/xdg-open diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..0da9578 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,7 @@ +[package] +summary = "Open a path or URL using the program configured on the system" + +[requires] +lib = [ + "/usr/bin/xdg-open", +] diff --git a/SPECS/rust-open.spec b/SPECS/rust-open.spec index 5024b2b..ef08173 100644 --- a/SPECS/rust-open.spec +++ b/SPECS/rust-open.spec @@ -1,5 +1,5 @@ ## START: Set by rpmautospec -## (rpmautospec version 0.3.5) +## (rpmautospec version 0.5.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; @@ -8,14 +8,14 @@ }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate open Name: rust-open -Version: 4.2.0 +Version: 5.0.1 Release: %autorelease Summary: Open a path or URL using the program configured on the system @@ -26,7 +26,7 @@ Source: %{crates_source} # * drop useless /usr/bin/open binary Patch: open-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Open a path or URL using the program configured on the system.} @@ -62,7 +62,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires @@ -80,9 +80,17 @@ use the "default" feature of the "%{crate}" crate. %endif %changelog -* Mon Jan 15 2024 Arkady L. Shane - 4.2.0-1 +## START: Generated by rpmautospec +* Thu Jan 18 2024 Michel Lind - 5.0.1-1 +- Update to 5.0.1 +- Convert to rust2rpm.toml + +* Mon Jan 15 2024 Arkady L. Shane - 4.2.0-2 - Rebuilt for MSVSphere 9.3 +* Fri Jul 21 2023 Fedora Release Engineering - 4.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Fri Jun 23 2023 Fabio Valentini - 4.2.0-1 - Update to version 4.2.0; Fixes RHBZ#2216470 @@ -180,3 +188,4 @@ use the "default" feature of the "%{crate}" crate. * Thu Mar 14 2019 Igor Gnatenko - 1.2.2-1 - Initial package +## END: Generated by rpmautospec