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.vyskocil@opensuse.org
# Copyright (c) 2016 Kristoffer Gronlund, kgronlund@suse.com
# Copyright (c) 2017 Luke Jones, jones_ld@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 (skipped)