diff --git a/ripgrep-0.8.0-fix-metadata.diff b/ripgrep-0.8.0-fix-metadata.diff deleted file mode 100644 index d721dac..0000000 --- a/ripgrep-0.8.0-fix-metadata.diff +++ /dev/null @@ -1,14 +0,0 @@ ---- ripgrep-0.8.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ ripgrep-0.8.0/Cargo.toml 2018-02-12T20:33:17.762748+01:00 -@@ -93,11 +93,6 @@ - version = "1" - - [features] --avx-accel = ["bytecount/avx-accel"] --simd-accel = ["bytecount/simd-accel", "regex/simd-accel", "encoding_rs/simd-accel"] --[target."cfg(windows)".dependencies.winapi] --version = "0.3" --features = ["std", "winnt"] - [badges.appveyor] - repository = "BurntSushi/ripgrep" - diff --git a/ripgrep-0.8.1-fix-metadata.diff b/ripgrep-0.8.1-fix-metadata.diff new file mode 100644 index 0000000..c3f7567 --- /dev/null +++ b/ripgrep-0.8.1-fix-metadata.diff @@ -0,0 +1,14 @@ +--- ripgrep-0.8.1/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ ripgrep-0.8.1/Cargo.toml 2018-02-23T11:09:24.928146+01:00 +@@ -93,11 +93,6 @@ + version = "1" + + [features] +-avx-accel = ["bytecount/avx-accel"] +-simd-accel = ["bytecount/simd-accel", "regex/simd-accel", "encoding_rs/simd-accel"] +-[target."cfg(windows)".dependencies.winapi] +-version = "0.3" +-features = ["std", "winnt"] + [badges.appveyor] + repository = "BurntSushi/ripgrep" + diff --git a/rust-ripgrep.spec b/rust-ripgrep.spec index ae07318..f36ed7a 100644 --- a/rust-ripgrep.spec +++ b/rust-ripgrep.spec @@ -4,17 +4,15 @@ %global crate ripgrep Name: rust-%{crate} -Version: 0.8.0 +Version: 0.8.1 Release: 1%{?dist} -Summary: Line oriented search tool using Rust's regex library +Summary: Line oriented search tool using Rust's regex library. Combines the raw performance of grep with the usability of the silver searcher. -License: Unlicense or MIT +License: Unlicense/MIT URL: https://crates.io/crates/ripgrep Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata -# * No simd -# * No windows -Patch0: ripgrep-0.8.0-fix-metadata.diff +Patch0: ripgrep-0.8.1-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -39,7 +37,6 @@ BuildRequires: (crate(termcolor) >= 0.3.4 with crate(termcolor) < 0.4.0) # [build-dependencies] BuildRequires: ((crate(clap) >= 2.29.4 with crate(clap) < 3.0.0) with crate(clap/suggestions) with crate(clap/color)) BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) -BuildRequires: %{_bindir}/a2x %description %{summary}. @@ -48,8 +45,7 @@ BuildRequires: %{_bindir}/a2x Summary: %{summary} %description -n %{crate} -Line oriented search tool using Rust's regex library. Combines -the raw performance of grep with the usability of the silver searcher. +%{summary}. %prep %autosetup -n %{crate}-%{version} -p1 @@ -60,14 +56,6 @@ the raw performance of grep with the usability of the silver searcher. %install %cargo_install -%{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man1 \ - target/release/build/%{crate}-*/out/rg.1 -%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/bash-completion/completions \ - target/release/build/%{crate}-*/out/rg.bash -%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_functions.d \ - target/release/build/%{crate}-*/out/rg.fish -%{__install} -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions \ - complete/_rg %if %{with check} %check @@ -75,83 +63,8 @@ the raw performance of grep with the usability of the silver searcher. %endif %files -n %{crate} -%license LICENSE-MIT UNLICENSE COPYING -%doc README.md CHANGELOG.md %{_bindir}/rg -%{_mandir}/man1/rg.1* -%dir %{_datadir}/bash-completion -%dir %{_datadir}/bash-completion/completions -%{_datadir}/bash-completion/completions/rg.bash -%dir %{_datadir}/fish -%dir %{_datadir}/fish/vendor_functions.d -%{_datadir}/fish/vendor_functions.d/rg.fish -%dir %{_datadir}/zsh -%dir %{_datadir}/zsh/site-functions -%{_datadir}/zsh/site-functions/_rg %changelog -* Mon Feb 12 2018 Igor Gnatenko - 0.8.0-1 -- Update to 0.8.0 - -* Fri Feb 09 2018 Fedora Release Engineering - 0.7.1-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Tue Jan 09 2018 Igor Gnatenko - 0.7.1-9 -- Rebuild for bytecount 0.3.0 - -* Mon Jan 08 2018 Igor Gnatenko - 0.7.1-8 -- Rebuild for rust-packaging v5 - -* Thu Nov 30 2017 Igor Gnatenko - 0.7.1-7 -- Bump lazy_static to 1 - -* Tue Nov 28 2017 Igor Gnatenko - 0.7.1-6 -- Rebuild for clap 2.28.0 - -* Thu Nov 23 2017 Igor Gnatenko - 0.7.1-5 -- Fix bash completion - -* Thu Nov 23 2017 Igor Gnatenko - 0.7.1-4 -- Package completions - -* Wed Nov 15 2017 Igor Gnatenko - 0.7.1-3 -- Rebuild for dependency change - -* Tue Nov 14 2017 Igor Gnatenko - 0.7.1-2 -- Rebuild for dependency change - -* Mon Nov 13 2017 Igor Gnatenko - 0.7.1-1 -- Update to 0.7.1 - -* Wed Jul 05 2017 Igor Gnatenko - 0.5.2-3 -- Rebuild for clap - -* Thu Jun 15 2017 Igor Gnatenko - 0.5.2-2 -- Bump encoding_rs to 0.6 - -* Wed Jun 14 2017 Igor Gnatenko - 0.5.2-1 -- Update to 0.5.2 - -* Wed Jun 14 2017 Igor Gnatenko - 0.5.0-2 -- Port to use rust-packaging - -* Wed Mar 15 2017 Igor Gnatenko - 0.5.0-1 -- Update to 0.5.0 - -* Sat Mar 11 2017 Igor Gnatenko - 0.4.0-6 -- Rename with rust prefix - -* Sun Feb 26 2017 Igor Gnatenko - 0.4.0-5 -- Rebuild - -* Sun Feb 26 2017 Igor Gnatenko - 0.4.0-4 -- Ship manpage - -* Sun Feb 26 2017 Igor Gnatenko - 0.4.0-3 -- Rebuild (termcolor) - -* Sun Feb 26 2017 Igor Gnatenko - 0.4.0-2 -- Rebuild (memmap) - -* Sun Feb 26 2017 Igor Gnatenko - 0.4.0-1 +* Fri Feb 23 2018 Igor Gnatenko - 0.8.1-1 - Initial package