diff --git a/rust-skim.spec b/rust-skim.spec index d2a328d..5f66b92 100644 --- a/rust-skim.spec +++ b/rust-skim.spec @@ -1,17 +1,20 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 12 %bcond_without check %global crate skim Name: rust-%{crate} Version: 0.6.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Fuzzy Finder in Rust # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/skim Source: %{crates_source} +# Initial patched metadata +# * Update derive_builder to 0.9, https://github.com/lotabout/skim/pull/241 +Patch0: skim-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -36,8 +39,8 @@ Summary: %{summary} %doc CHANGELOG.md README.md %{_bindir}/sk %{_bindir}/sk-tmux -%{_mandir}/man1/sk.1.* -%{_mandir}/man1/sk-tmux.1.* +%{_mandir}/man1/sk.1* +%{_mandir}/man1/sk-tmux.1* %{_datadir}/skim/ %{_datadir}/vim/vimfiles/plugin/skim.vim %{_datadir}/nvim/site/plugin/skim.vim @@ -61,7 +64,7 @@ which use "%{crate}" crate. %files devel %license LICENSE %doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -73,7 +76,7 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -117,6 +120,9 @@ install -Dpm0644 -t %{buildroot}%{_datadir}/skim/shell \ %endif %changelog +* Sun Dec 15 14:29:21 CET 2019 Igor Gnatenko - 0.6.9-1 +- Update derive_builder to 0.9 + * Mon Sep 23 07:58:05 CEST 2019 Igor Gnatenko - 0.6.9-1 - Update to 0.6.9 diff --git a/skim-fix-metadata.diff b/skim-fix-metadata.diff new file mode 100644 index 0000000..3868de2 --- /dev/null +++ b/skim-fix-metadata.diff @@ -0,0 +1,11 @@ +--- skim-0.6.9/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ skim-0.6.9/Cargo.toml 2019-12-15T13:29:20.968384+00:00 +@@ -43,7 +43,7 @@ + version = "2.26.2" + + [dependencies.derive_builder] +-version = "0.7.1" ++version = "0.9" + + [dependencies.env_logger] + version = "0.6.1"