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.000000000 +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 - [email protected] + +- 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, [email protected] # Copyright (c) 2016 Kristoffer Gronlund, [email protected] +# Copyright (c) 2017 Luke Jones, [email protected] # # 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 <<EOF -[registry] -index = "file://$pkgdir/vendor/index" -EOF -pushd vendor/index -rm config.json -cat >config.json <<EOF -{"dl":"file://$pkgdir/vendor/cache","api":""} +[source.crates-io] +registry = 'https://github.com/rust-lang/crates.io-index' +replace-with = 'vendored-sources' +[source.vendored-sources] +directory = './vendor' EOF -git config user.name "Cargo Packaging" -git config user.email [email protected] -git add config.json -git commit -m "rewrite cache path" -popd %build -CARGO_HOME=cargo-home cargo build --release +export CARGO_HOME=`pwd`/cargo-home/ +cargo build --release %{?_smp_mflags} %install mkdir build -CARGO_HOME=cargo-home cargo install --root=build +export CARGO_HOME=`pwd`/cargo-home/ +cargo install --root=build mkdir -p %{buildroot}%{_bindir} install -Dm0755 build/bin/racer %{buildroot}%{_bindir}/racer ++++++ vendor.tar.xz ++++++ ++++ 347901 lines of diff (skipped)
