diff --git a/.gitignore b/.gitignore index 26673df..0a83762 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /open-2.0.1.crate /open-2.0.2.crate /open-2.1.0.crate +/open-2.1.1.crate diff --git a/open-fix-metadata.diff b/open-fix-metadata.diff index 74bc424..f10d619 100644 --- a/open-fix-metadata.diff +++ b/open-fix-metadata.diff @@ -1,5 +1,5 @@ ---- open-2.1.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ open-2.1.0/Cargo.toml 2022-02-25T21:10:01.538942+00:00 +--- open-2.1.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ open-2.1.1/Cargo.toml 2022-03-29T20:52:33.514074+00:00 @@ -20,13 +20,7 @@ keywords = ["open", "xdg-open", "start", "launch"] license = "MIT" diff --git a/rust-open.spec b/rust-open.spec index 99925ad..a5ae0a0 100644 --- a/rust-open.spec +++ b/rust-open.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate open Name: rust-%{crate} -Version: 2.1.0 +Version: 2.1.1 Release: %autorelease Summary: Open a path or URL using the program configured on the system @@ -20,7 +20,7 @@ Patch0: open-fix-metadata.diff ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Open a path or URL using the program configured on the system.} @@ -38,9 +38,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE.md -%doc README.md changelog.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE.md +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/changelog.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -52,7 +53,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 diff --git a/sources b/sources index 13abcc1..daace11 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (open-2.1.0.crate) = 2aa5369a22eaf20b2454dc56505ebee8fc0c18d7053ad7ad0738071606f1891a79d379d6feddebabe0d42f9c734c754cc3390a64aac329c3cbbe0974a045c2f1 +SHA512 (open-2.1.1.crate) = 8de337ec58f9037e1635e1efb8b383355da96355c189b90f9940ed251ba9f8f22d50b4077cfecae88f1d00db8ec172efe27b5605273750d728c86314c807095a