commit racer for openSUSE:Factory
Hello community, here is the log from the commit of package racer for openSUSE:Factory checked in at 2018-11-26 10:22:59 Comparing /work/SRC/openSUSE:Factory/racer (Old) and /work/SRC/openSUSE:Factory/.racer.new.19453 (New) Package is "racer" Mon Nov 26 10:22:59 2018 rev:7 rq:649827 version:2.0.14 Changes: --- /work/SRC/openSUSE:Factory/racer/racer.changes 2017-11-29 10:52:40.796606685 +0100 +++ /work/SRC/openSUSE:Factory/.racer.new.19453/racer.changes 2018-11-26 10:24:21.549446866 +0100 @@ -1,0 +2,14 @@ +Tue Nov 6 21:12:31 UTC 2018 - Luke Jones + +- Version 2.0.14 + + Cache generic impls + + Cache parsed TOML file and cargo crate roots + + Skip `pub` keyword as a temporary fix for + + Remove complex generic type by impl trait + + Fix bug for array expression + + Support completion for enum variants without type annotation + + Fix bug for raw string +- Version 2.0.13 + + Fix bug for finding the start of match statement + +--- Old: racer-2.0.12.tar.gz New: racer-2.0.14.tar.gz Other differences: -- ++ racer.spec ++ --- /var/tmp/diff_new_pack.aiUGzw/_old 2018-11-26 10:24:35.129430906 +0100 +++ /var/tmp/diff_new_pack.aiUGzw/_new 2018-11-26 10:24:35.133430901 +0100 @@ -1,7 +1,7 @@ # # spec file for package racer # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016 Michal Vyskocil, michal.vysko...@opensuse.org # Copyright (c) 2016 Kristoffer Gronlund, kgronl...@suse.com # Copyright (c) 2017 Luke Jones, jones...@protonmail.com @@ -15,12 +15,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +# Use hardening ldflags. +%global rustflags -Clink-arg=-Wl,-z,relro,-z,now Name: racer -Version:2.0.12 +Version:2.0.14 Release:0 Summary:Code completion for Rust License:MIT @@ -35,13 +37,15 @@ BuildRequires: cargo BuildRequires: git -BuildRequires: rust -BuildRequires: rust-std +BuildRequires: rust >= 1.30.0 +BuildRequires: rust-std-static >= 1.30.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -RACER = Rust Auto-Complete-er. A utility intended to provide Rust code completion for editors and IDEs. Maybe one day the 'er' bit will be exploring + refactoring or something. +RACER = Rust Auto-Complete-er. A utility intended to provide Rust code +completion for editors and IDEs. Maybe one day the 'er' bit will be +exploring + refactoring or something. %prep %setup -q @@ -56,15 +60,15 @@ EOF %build +export RUSTFLAGS="%{rustflags}" export CARGO_HOME=`pwd`/cargo-home/ -cargo build --release %{?_smp_mflags} +cargo build --release %install -mkdir build +export RUSTFLAGS="%{rustflags}" export CARGO_HOME=`pwd`/cargo-home/ -cargo install --root=build -mkdir -p %{buildroot}%{_bindir} -install -Dm0755 build/bin/racer %{buildroot}%{_bindir}/racer +cargo install --root=%{buildroot}%{_prefix} +rm %{buildroot}%{_prefix}/.crates.toml %files %defattr(-,root,root) ++ README.packager ++ --- /var/tmp/diff_new_pack.aiUGzw/_old 2018-11-26 10:24:35.161430868 +0100 +++ /var/tmp/diff_new_pack.aiUGzw/_new 2018-11-26 10:24:35.165430863 +0100 @@ -22,6 +22,9 @@ if there is not already a config in the package, then the following is required: +Source0:%{name}-%{version}.tar.gz +Source1:vendor.tar.xz + %prep %setup -q %setup -q -D -T -a 1 @@ -35,15 +38,24 @@ EOF %build +export RUSTFLAGS="%{rustflags}" export CARGO_HOME=`pwd`/cargo-home/ -cargo build --release %{?_smp_mflags} +cargo build --release %install +export RUSTFLAGS="%{rustflags}" +export CARGO_HOME=`pwd`/cargo-home/ +cargo install --root=%{buildroot}%{_prefix} +# Remove any spurious files +rm %{buildroot}%{_prefix}/.crates.toml + + The older method of installation uses a temporary install directory, such as: mkdir build export CARGO_HOME=`pwd`/cargo-home/ cargo install --root=build mkdir -p %{buildroot}%{_bindir} install -Dm0755 build/bin/racer %{buildroot}%{_bindir}/racer + Either way will work fine. This method of packaging Rust programs and libraries is likely to change in - the near future. \ No newline at end of file + the near future. ++ racer-2.0.12.tar.gz -> racer-2.0.14.tar.gz ++ 3275 lines of diff (skipped) ++ vendor.tar.xz ++ 444101 lines of diff
commit racer for openSUSE:Factory
Hello community, here is the log from the commit of package racer for openSUSE:Factory checked in at 2017-11-29 10:52:37 Comparing /work/SRC/openSUSE:Factory/racer (Old) and /work/SRC/openSUSE:Factory/.racer.new (New) Package is "racer" Wed Nov 29 10:52:37 2017 rev:6 rq:545596 version:2.0.12 Changes: --- /work/SRC/openSUSE:Factory/racer/racer.changes 2017-09-07 22:16:12.809615133 +0200 +++ /work/SRC/openSUSE:Factory/.racer.new/racer.changes 2017-11-29 10:52:40.796606685 +0100 @@ -1,0 +2,8 @@ +Sun Nov 26 00:15:30 UTC 2017 - jones...@protonmail.com + +- Update to 2.0.12 + + Fix bug that broke completions in previous release +- Version 2.0.11 ++ Use rustup to find libstd path even when used as library + +--- Old: racer-2.0.10.tar.gz New: racer-2.0.12.tar.gz Other differences: -- ++ racer.spec ++ --- /var/tmp/diff_new_pack.tLbsCd/_old 2017-11-29 10:52:43.928493062 +0100 +++ /var/tmp/diff_new_pack.tLbsCd/_new 2017-11-29 10:52:43.928493062 +0100 @@ -4,7 +4,7 @@ # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016 Michal Vyskocil, michal.vysko...@opensuse.org # Copyright (c) 2016 Kristoffer Gronlund, kgronl...@suse.com -# Copyright (c) 2017 Luke Jones, luke.nukem.jo...@gmail.com +# Copyright (c) 2017 Luke Jones, jones...@protonmail.com # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Name: racer -Version:2.0.10 +Version:2.0.12 Release:0 Summary:Code completion for Rust License:MIT ++ README.packager ++ --- /var/tmp/diff_new_pack.tLbsCd/_old 2017-11-29 10:52:43.968491611 +0100 +++ /var/tmp/diff_new_pack.tLbsCd/_new 2017-11-29 10:52:43.972491466 +0100 @@ -2,11 +2,13 @@ 1. Install cargo and cargo-vendor from devel:languages:rust -2. Clone the wanted version of the package and archive it +2. If there is no official release available for d/l, then you will need + to clone the wanted version of the package and archive it. + See the list of version tags with 'git tag -l' git clone https://github.com/phildawes/racer -cd cargo -git checkout -b packaged-version 1.2.5 +cd racer +git checkout 1.2.5 git archive --format=tar --prefix=racer-1.2.5/ HEAD | xz >racer-1.2.5.tar.xz 3. Generate the vendor package @@ -15,3 +17,33 @@ tar c vendor/ | xz > vendor.tar.xz 3. Update the OBS package with these .tar.xz archives. + +4. The required cargo config will be different to what cargo vendor outputs, + if there is not already a config in the package, then the following is + required: + +%prep +%setup -q +%setup -q -D -T -a 1 +mkdir cargo-home +cat >cargo-home/config < racer-2.0.12.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/racer-2.0.10/CHANGELOG.md new/racer-2.0.12/CHANGELOG.md --- old/racer-2.0.10/CHANGELOG.md 2017-07-28 17:49:18.0 +0200 +++ new/racer-2.0.12/CHANGELOG.md 2017-10-31 17:45:52.0 +0100 @@ -8,6 +8,14 @@ No changes, yet! +## 2.0.12 + +- Fix bug that broke completions in previous release #807 + +## 2.0.11 + +- Use `rustup` to find libstd path even when used as library #799 + ## 2.0.10 - Support resolving `use as` aliases declared in multi-element `use` statements #753 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/racer-2.0.10/Cargo.lock new/racer-2.0.12/Cargo.lock --- old/racer-2.0.10/Cargo.lock 2017-07-28 17:49:18.0 +0200 +++ new/racer-2.0.12/Cargo.lock 2017-10-31 17:45:52.0 +0100 @@ -1,19 +1,3 @@ -[root] -name = "racer" -version = "2.0.10" -dependencies = [ - "clap 2.24.2 (registry+https://github.com/rust-lang/crates.io-index)", - "clippy 0.0.103 (registry+https://github.com/rust-lang/crates.io-index)", - "env_logger 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", - "rand 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", - "syntex_errors 0.52.0 (registry+https://github.com/rust-lang/crates.io-index)", - "syntex_syntax 0.52.0 (registry+https://github.com/rust-lang/crates.io-index)", - "toml 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "typed-arena 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", -] - [[package]] name = "aho-corasick" version = "0.5.3" @@ -33,7 +17,7 @@ source =
commit racer for openSUSE:Factory
Hello community, here is the log from the commit of package racer for openSUSE:Factory checked in at 2017-09-07 22:16:01 Comparing /work/SRC/openSUSE:Factory/racer (Old) and /work/SRC/openSUSE:Factory/.racer.new (New) Package is "racer" Thu Sep 7 22:16:01 2017 rev:5 rq:521560 version:2.0.10 Changes: --- /work/SRC/openSUSE:Factory/racer/racer.changes 2017-07-19 11:19:57.925500956 +0200 +++ /work/SRC/openSUSE:Factory/.racer.new/racer.changes 2017-09-07 22:16:12.809615133 +0200 @@ -1,0 +2,19 @@ +Tue Sep 5 21:03:00 UTC 2017 - luke.nukem.jo...@gmail.com + +- Update to version 2.0.10 ++ Support resolving `use as` aliases declared in multi-element `use` statements #753 ++ Provide suggestions for global paths in more cases #765 ++ Suggestions imported via `use as` statements now return their in-scope alias as the match string #767 ++ Add new commands for converting between points and coordinates in files #776 ++ Return fewer duplicate suggestions #778 ++ Handle cases where mod names and trait methods collide, such as `fmt` #781 + +- Version 2.0.9 ++ Support completion after using try operator `?` #726 ++ Find methods on cooked string literals #728 ++ Fix bug caused by closure completions feature #734 ++ Find static methods on enums #737 ++ Find doc comments on named and indexed struct fields #739 ++ Find `pub(restricted)` items #748 + +--- Old: racer-2.0.8.tar.gz New: racer-2.0.10.tar.gz Other differences: -- ++ racer.spec ++ --- /var/tmp/diff_new_pack.oNfg0S/_old 2017-09-07 22:16:14.365395900 +0200 +++ /var/tmp/diff_new_pack.oNfg0S/_new 2017-09-07 22:16:14.381393646 +0200 @@ -20,7 +20,7 @@ Name: racer -Version:2.0.8 +Version:2.0.10 Release:0 Summary:Code completion for Rust License:MIT ++ racer-2.0.8.tar.gz -> racer-2.0.10.tar.gz ++ 4196 lines of diff (skipped) ++ vendor.tar.xz ++ 73252 lines of diff (skipped)
commit racer for openSUSE:Factory
Hello community, here is the log from the commit of package racer for openSUSE:Factory checked in at 2017-07-19 11:19:57 Comparing /work/SRC/openSUSE:Factory/racer (Old) and /work/SRC/openSUSE:Factory/.racer.new (New) Package is "racer" Wed Jul 19 11:19:57 2017 rev:4 rq:502529 version:2.0.8 Changes: --- /work/SRC/openSUSE:Factory/racer/racer.changes 2017-05-04 15:05:25.753762810 +0200 +++ /work/SRC/openSUSE:Factory/.racer.new/racer.changes 2017-07-19 11:19:57.925500956 +0200 @@ -1,0 +2,13 @@ +Fri Jun 9 09:19:22 UTC 2017 - luke.nukem.jo...@gmail.com + +-Update to v2.0.8 ++ Fix bug finding definitions where impl contains bang #717 ++ Find definition for closures #697 ++ Resolve types for tuple struct fields #722 ++ Resolve types for let patterns #724 ++ Fix completions for reference fields #723 +-Fixes from v2.0.7 ++ Fix panic with macros called `impl*` #701 ++ Relax semver specs + +--- Old: racer-2.0.6.tar.gz New: racer-2.0.8.tar.gz Other differences: -- ++ racer.spec ++ --- /var/tmp/diff_new_pack.iVp3Vf/_old 2017-07-19 11:19:58.837372144 +0200 +++ /var/tmp/diff_new_pack.iVp3Vf/_new 2017-07-19 11:19:58.841371579 +0200 @@ -20,7 +20,7 @@ Name: racer -Version:2.0.6 +Version:2.0.8 Release:0 Summary:Code completion for Rust License:MIT ++ racer-2.0.6.tar.gz -> racer-2.0.8.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/racer-2.0.6/CHANGELOG.md new/racer-2.0.8/CHANGELOG.md --- old/racer-2.0.6/CHANGELOG.md2017-02-17 17:32:13.0 +0100 +++ new/racer-2.0.8/CHANGELOG.md2017-06-01 19:09:49.0 +0200 @@ -4,6 +4,19 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 2.0.8 + +- Fix bug finding definitions where impl contains bang #717 +- Find definition for closures #697 +- Resolve types for tuple struct fields #722 +- Resolve types for let patterns #724 +- Fix completions for reference fields #723 + +## 2.0.7 + +- Fix panic with macros called `impl*` #701 +- Relax semver specs + ## 2.0.6 - resolve Self (e.g. in-impl function calls like Self::myfunction()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/racer-2.0.6/Cargo.lock new/racer-2.0.8/Cargo.lock --- old/racer-2.0.6/Cargo.lock 2017-02-17 17:32:13.0 +0100 +++ new/racer-2.0.8/Cargo.lock 2017-06-01 19:09:49.0 +0200 @@ -1,17 +1,18 @@ [root] name = "racer" -version = "2.0.6" +version = "2.0.8" dependencies = [ - "clap 2.19.1 (registry+https://github.com/rust-lang/crates.io-index)", + "clap 2.24.2 (registry+https://github.com/rust-lang/crates.io-index)", "clippy 0.0.103 (registry+https://github.com/rust-lang/crates.io-index)", "env_logger 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "log 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)", + "regex 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "syntex_errors 0.52.0 (registry+https://github.com/rust-lang/crates.io-index)", "syntex_syntax 0.52.0 (registry+https://github.com/rust-lang/crates.io-index)", "toml 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "typed-arena 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "typed-arena 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -23,28 +24,51 @@ ] [[package]] +name = "aho-corasick" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index; +dependencies = [ + "memchr 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] name = "ansi_term" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index; [[package]] +name = "atty" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index; +dependencies = [ + "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.22 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] name = "bitflags" version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index;
commit racer for openSUSE:Factory
Hello community, here is the log from the commit of package racer for openSUSE:Factory checked in at 2017-05-04 15:05:23 Comparing /work/SRC/openSUSE:Factory/racer (Old) and /work/SRC/openSUSE:Factory/.racer.new (New) Package is "racer" Thu May 4 15:05:23 2017 rev:3 rq:492762 version:2.0.6 Changes: --- /work/SRC/openSUSE:Factory/racer/racer.changes 2017-02-16 16:51:24.731775965 +0100 +++ /work/SRC/openSUSE:Factory/.racer.new/racer.changes 2017-05-04 15:05:25.753762810 +0200 @@ -1,0 +2,6 @@ +Tue May 2 21:18:50 UTC 2017 - luke.nukem.jo...@gmail.com + +- resolve Self (e.g. in-impl function calls like Self::myfunction()) +- Fix stack overflow issue on unresolvable imports + +--- Old: racer-2.0.5.tar.gz New: racer-2.0.6.tar.gz Other differences: -- ++ racer.spec ++ --- /var/tmp/diff_new_pack.n51G2O/_old 2017-05-04 15:05:28.809331405 +0200 +++ /var/tmp/diff_new_pack.n51G2O/_new 2017-05-04 15:05:28.809331405 +0200 @@ -20,7 +20,7 @@ Name: racer -Version:2.0.5 +Version:2.0.6 Release:0 Summary:Code completion for Rust License:MIT @@ -35,8 +35,8 @@ BuildRequires: cargo BuildRequires: git -BuildRequires: rust >= 1.14.0 -BuildRequires: rust-std >= 1.14.0 +BuildRequires: rust +BuildRequires: rust-std BuildRoot: %{_tmppath}/%{name}-%{version}-build ++ racer-2.0.5.tar.gz -> racer-2.0.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/racer-2.0.5/CHANGELOG.md new/racer-2.0.6/CHANGELOG.md --- old/racer-2.0.5/CHANGELOG.md2017-01-16 20:47:26.0 +0100 +++ new/racer-2.0.6/CHANGELOG.md2017-02-17 17:32:13.0 +0100 @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 2.0.6 + +- resolve Self (e.g. in-impl function calls like Self::myfunction()) +- Fix stack overflow issue on unresolvable imports :tada: #698 + ## 2.0.5 - Chained completions on separate lines now work #686 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/racer-2.0.5/Cargo.lock new/racer-2.0.6/Cargo.lock --- old/racer-2.0.5/Cargo.lock 2017-01-16 20:47:26.0 +0100 +++ new/racer-2.0.6/Cargo.lock 2017-02-17 17:32:13.0 +0100 @@ -1,6 +1,6 @@ [root] name = "racer" -version = "2.0.5" +version = "2.0.6" dependencies = [ "clap 2.19.1 (registry+https://github.com/rust-lang/crates.io-index)", "clippy 0.0.103 (registry+https://github.com/rust-lang/crates.io-index)", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/racer-2.0.5/Cargo.toml new/racer-2.0.6/Cargo.toml --- old/racer-2.0.5/Cargo.toml 2017-01-16 20:47:26.0 +0100 +++ new/racer-2.0.6/Cargo.toml 2017-02-17 17:32:13.0 +0100 @@ -1,7 +1,7 @@ [package] name = "racer" -version = "2.0.5" +version = "2.0.6" license = "MIT" description = "Code completion for Rust" authors = ["Phil Dawes"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/racer-2.0.5/src/racer/core.rs new/racer-2.0.6/src/racer/core.rs --- old/racer-2.0.5/src/racer/core.rs 2017-01-16 20:47:26.0 +0100 +++ new/racer-2.0.6/src/racer/core.rs 2017-02-17 17:32:13.0 +0100 @@ -11,6 +11,7 @@ use std::iter::{Fuse, Iterator}; use std::rc::Rc; use codeiter::StmtIndicesIter; +use matchers::PendingImports; use scopes; use nameres; @@ -947,8 +948,8 @@ let path = Path::from_vec(is_global, v); for m in nameres::resolve_path(, filepath, pos, - SearchType::StartsWith, Namespace::Both, - session) { + SearchType::StartsWith, Namespace::Both, + session, ::empty()) { out.push(m); } }, @@ -1082,7 +1083,7 @@ nameres::resolve_path(, filepath, pos, SearchType::ExactMatch, Namespace::Both, - session).nth(0) + session, ::empty()).nth(0) }, CompletionType::Field => { let context = ast::get_type_of(contextstr.to_owned(), filepath, pos, session); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/racer-2.0.5/src/racer/matchers.rs new/racer-2.0.6/src/racer/matchers.rs --- old/racer-2.0.5/src/racer/matchers.rs 2017-01-16
commit racer for openSUSE:Factory
Hello community, here is the log from the commit of package racer for openSUSE:Factory checked in at 2017-02-16 16:51:23 Comparing /work/SRC/openSUSE:Factory/racer (Old) and /work/SRC/openSUSE:Factory/.racer.new (New) Package is "racer" Changes: --- /work/SRC/openSUSE:Factory/racer/racer.changes 2016-11-12 13:00:46.0 +0100 +++ /work/SRC/openSUSE:Factory/.racer.new/racer.changes 2017-02-16 16:51:24.731775965 +0100 @@ -1,0 +2,6 @@ +Fri Feb 10 03:06:58 UTC 2017 - luke.nukem.jo...@gmail.com + +- Update to 2.0.5 +* No changlog provided by upstream + +--- Old: racer-1.2.5.tar.xz New: racer-2.0.5.tar.gz Other differences: -- ++ racer.spec ++ --- /var/tmp/diff_new_pack.1pdO8Y/_old 2017-02-16 16:51:29.575088279 +0100 +++ /var/tmp/diff_new_pack.1pdO8Y/_new 2017-02-16 16:51:29.579087711 +0100 @@ -1,8 +1,10 @@ # # spec file for package racer # +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2016 Michal Vyskocil, michal.vysko...@opensuse.org # Copyright (c) 2016 Kristoffer Gronlund, kgronl...@suse.com +# Copyright (c) 2017 Luke Jones, luke.nukem.jo...@gmail.com # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,23 +18,25 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: racer -Version:1.2.5 -Release:1 -License:MIT +Version:2.0.5 +Release:0 Summary:Code completion for Rust -Url:https://github.com/phildawes/racer +License:MIT Group: Development/Languages/Other +Url:https://github.com/phildawes/racer # See README.packager for instructions on generating # the source archives -Source0:%{name}-%{version}.tar.xz +Source0:%{name}-%{version}.tar.gz Source1:vendor.tar.xz Source2:README.packager -BuildRequires: rustc-stable >= 1.7.0 BuildRequires: cargo BuildRequires: git +BuildRequires: rust >= 1.14.0 +BuildRequires: rust-std >= 1.14.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -42,29 +46,23 @@ %prep %setup -q %setup -q -D -T -a 1 -pkgdir="$(pwd)" mkdir cargo-home cat >cargo-home/config