Hello community,

here is the log from the commit of package cargo for openSUSE:Factory checked 
in at 2017-09-05 15:18:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cargo (Old)
 and      /work/SRC/openSUSE:Factory/.cargo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cargo"

Tue Sep  5 15:18:57 2017 rev:9 rq:520945 version:0.21.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/cargo/cargo.changes      2017-07-19 
11:19:56.217742195 +0200
+++ /work/SRC/openSUSE:Factory/.cargo.new/cargo.changes 2017-09-05 
15:19:01.561139468 +0200
@@ -1,0 +2,45 @@
+Mon Sep  4 22:54:11 UTC 2017 - [email protected]
+
+- Update to 0.21.0
+  + [Cargo API token location moved from `~/.cargo/config` to
+    `~/.cargo/credentials`.][cargo/3978]
+  + [Cargo will now build `main.rs` binaries that are in sub-directories of
+    `src/bin`.][cargo/4214] ie. Having `src/bin/server/main.rs` and
+    `src/bin/client/main.rs` generates `target/debug/server` and 
`target/debug/client`
+  + [You can now specify version of a binary when installed through
+    `cargo install` using `--vers`.][cargo/4229]
+  + [Added `--no-fail-fast` flag to cargo to run all benchmarks regardless of
+    failure.][cargo/4248]
+  + [Changed the convention around which file is the crate root.][cargo/4259]
+  + [The `include`/`exclude` property in `Cargo.toml` now accepts gitignore 
paths
+    instead of glob patterns][cargo/4270]. Glob patterns are now deprecated.
+
+- Version 0.20.0
+  + [Build scripts can now add environment variables to the environment
+    the crate is being compiled in.
+    Example: `println!("cargo:rustc-env=FOO=bar");`][cargo/3929]
+  + [Subcommands now replace the current process rather than spawning a new
+    child process][cargo/3970]
+  + [Workspace members can now accept glob file patterns][cargo/3979]
+  + [Added `--all` flag to the `cargo bench` subcommand to run benchmarks of 
all
+    the members in a given workspace.][cargo/3988]
+  + [Updated `libssh2-sys` to 0.2.6][cargo/4008]
+  + [Target directory path is now in the cargo metadata][cargo/4022]
+  + [Cargo no longer checks out a local working directory for the
+    crates.io index][cargo/4026] This should provide smaller file size for the
+    registry, and improve cloning times, especially on Windows machines.
+  + [Added an `--exclude` option for excluding certain packages when using the
+  ` --all` option][cargo/4031]
+  + [Cargo will now automatically retry when receiving a 5xx error
+    from crates.io][cargo/4032]
+  + [The `--features` option now accepts multiple comma or space
+    delimited values.][cargo/4084]
+  + [Added support for custom target specific runners][cargo/3954]
+
+-------------------------------------------------------------------
+Mon Sep  4 21:00:56 UTC 2017 - [email protected]
+
+- Cleans up rust_triple and adds rust compiler args
+- Removes i586 from buildable targets
+
+-------------------------------------------------------------------

Old:
----
  cargo-0.19.0.tar.gz

New:
----
  cargo-0.21.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cargo.spec ++++++
--- /var/tmp/diff_new_pack.EIH49D/_old  2017-09-05 15:19:03.140917408 +0200
+++ /var/tmp/diff_new_pack.EIH49D/_new  2017-09-05 15:19:03.140917408 +0200
@@ -4,6 +4,7 @@
 # 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
@@ -18,34 +19,27 @@
 #
 
 
-%global prev_rustc 1.17.0
-%global rustc 1.18.0
-%global prev_version 0.17.0
-%global rel_version 0.19.0
+%global bootstrap_version 0.17.0
+%global bootstrap_rustc_version 1.19.0
+%global current_rustc_version 1.20.0
+
+%global rust_arch %{_arch}
 %global abi gnu
-%ifarch s390x
-%global _arch s390x
-%endif
 %ifarch armv7hl
-%global _arch armv7
+%global rust_arch armv7
 %global abi gnueabihf
 %endif
 %ifarch ppc64
-%global _arch powerpc64
+%global rust_arch powerpc64
 %endif
 %ifarch ppc64le
-%global _arch powerpc64le
-%endif
-%ifarch x86_64
-%global _arch x86_64
-%endif
-%ifarch %{ix86}
-%global _arch i586
+%global rust_arch powerpc64le
 %endif
-%global rust_triple %{_arch}-unknown-linux-%{abi}
+%global rust_triple %{rust_arch}-unknown-linux-%{abi}
+
 %bcond_with cargo_bootstrap
 Name:           cargo
-Version:        %{rel_version}
+Version:        0.21.0
 Release:        0
 Summary:        The Rust package manager
 License:        MIT or Apache-2.0
@@ -69,18 +63,17 @@
 Conflicts:      cargo-bootstrap
 Conflicts:      otherproviders(cargo)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-ExclusiveArch:  %{ix86} x86_64 %{arm} aarch64 ppc64 ppc64le s390x
+ExclusiveArch:  x86_64 %{arm} aarch64 ppc64 ppc64le s390x
 # There are no successful builds for less than TW or Leap 42.2, so bootstrap
 # until such time that there is.
 %if %{with cargo_bootstrap} || (0%{?suse_version} < 1330 && 0%{?sle_version} < 
120200)
-BuildRequires:  cargo-bootstrap = %{prev_version}
-BuildRequires:  rust = %{prev_rustc}
-BuildRequires:  rust-std = %{prev_rustc}
+BuildRequires:  cargo-bootstrap = %{bootstrap_version}
+BuildRequires:  rust-std-bootstrap = %{bootstrap_rustc_version}
+BuildRequires:  rustc-bootstrap = %{bootstrap_rustc_version}
 %else
 BuildRequires:  cargo <= %{version}
-BuildRequires:  cargo >= %{prev_version}
-BuildRequires:  rust <= %{rustc}
-BuildRequires:  rust-std <= %{rustc}
+BuildRequires:  rust <= %{current_rustc_version}
+BuildRequires:  rust-std <= %{current_rustc_version}
 %endif
 
 %description
@@ -99,26 +92,25 @@
 EOF
 
 %build
+# This should eventually migrate to distro policy
+# Enable optimization, debuginfo, and link hardening.
+export RUSTFLAGS="-Copt-level=3 -Cdebuginfo=2 -Clink-arg=-Wl,-z,relro,-z,now"
+
 export LIBGIT2_SYS_USE_PKG_CONFIG=1
 export CARGO_HOME=`pwd`/cargo-home/
-%configure --disable-option-checking \
-    --build=%{rust_triple} \
-    --host=%{rust_triple} \
-    --target=%{rust_triple} \
-    --local-rust-root=%{_prefix} \
-    --prefix=%{_prefix} \
-    --libdir=%{_libdir}
-cargo build --release %{?_smp_mflags}
+cargo build --target=%{rust_triple} --release %{?_smp_mflags}
 
 %install
 mkdir build
 export CARGO_HOME=`pwd`/cargo-home/
-cargo install --root=build
-mkdir -p %{buildroot}%{_bindir}
-install -Dm0755 build/bin/cargo %{buildroot}%{_bindir}/cargo
+
+cargo install --root %{buildroot}%{_prefix}
+rm %{buildroot}%{_prefix}/.crates.toml
+
 mkdir -p %{buildroot}%{_mandir}/man1
-install -Dm0644 src%{_sysconfdir}/man/cargo*.1 %{buildroot}%{_mandir}/man1/
-install -Dm0644 src%{_sysconfdir}/cargo.bashcomp.sh 
%{buildroot}%{_sysconfdir}/bash_completion.d/cargo.sh
+install -Dm0644 src/etc/man/cargo*.1 %{buildroot}%{_mandir}/man1/
+install -Dm0644 src/etc/cargo.bashcomp.sh 
%{buildroot}%{_sysconfdir}/bash_completion.d/cargo.sh
+install -Dm0644 src/etc/_cargo 
%{buildroot}%{_sysconfdir}/zsh/site-functions/_cargo
 
 %files
 %defattr(-,root,root)
@@ -126,5 +118,8 @@
 %{_bindir}/cargo
 %{_mandir}/man1/*
 %config %{_sysconfdir}/bash_completion.d/cargo.sh
+%dir %{_sysconfdir}/zsh
+%dir %{_sysconfdir}/zsh/site-functions
+%config %{_sysconfdir}/zsh/site-functions/_cargo
 
 %changelog

++++++ cargo-0.19.0.tar.gz -> cargo-0.21.0.tar.gz ++++++
++++ 24171 lines of diff (skipped)

++++++ vendor.tar.xz ++++++
/work/SRC/openSUSE:Factory/cargo/vendor.tar.xz 
/work/SRC/openSUSE:Factory/.cargo.new/vendor.tar.xz differ: char 25, line 1


Reply via email to