diff --git a/.gitignore b/.gitignore index 0fa35d7..d986844 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /open-1.7.0.crate /open-1.7.1.crate /open-2.0.1.crate +/open-2.0.2.crate diff --git a/open-fix-metadata.diff b/open-fix-metadata.diff index e9daff8..a41ff0f 100644 --- a/open-fix-metadata.diff +++ b/open-fix-metadata.diff @@ -1,6 +1,6 @@ ---- open-2.0.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ open-2.0.1/Cargo.toml 2021-11-06T09:48:18.889074+00:00 -@@ -21,13 +21,7 @@ +--- open-2.0.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ open-2.0.2/Cargo.toml 2021-12-01T20:20:45.155404+00:00 +@@ -20,13 +20,7 @@ keywords = ["open", "xdg-open", "start", "launch"] license = "MIT" repository = "https://github.com/Byron/open-rs" diff --git a/rust-open.spec b/rust-open.spec index b01da3c..40fc58f 100644 --- a/rust-open.spec +++ b/rust-open.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate open Name: rust-%{crate} -Version: 2.0.1 +Version: 2.0.2 Release: %autorelease Summary: Open a path or URL using the program configured on the system @@ -19,9 +19,6 @@ Source: %{crates_source} Patch0: open-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -37,8 +34,8 @@ Requires: /usr/bin/xdg-open %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel %license LICENSE.md @@ -51,8 +48,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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 diff --git a/sources b/sources index 455c5c7..12c6218 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (open-2.0.1.crate) = 3d7834046e6ae61f61bc557983a255e7f3f466e27df153c26cc9fa014fc83cef043b2d892b158fc25b188263169437767258c2136679f2dc273fd08ed3dfd2ea +SHA512 (open-2.0.2.crate) = a75997a9b1791f767e3daf08af6393c881c6ef824464ef42ec71caa636c2f362541c1e10d137f6249e49a105d1c211595c689754da605a3268b0c8d7d54aafc4