![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community,
here is the log from the commit of package cargo for openSUSE:Factory checked in at 2017-06-01 16:29:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cargo (Old)
and /work/SRC/openSUSE:Factory/.cargo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cargo"
Thu Jun 1 16:29:46 2017 rev:7 rq:491823 version:0.18.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/cargo/cargo.changes 2017-03-20 17:09:47.115985448 +0100
+++ /work/SRC/openSUSE:Factory/.cargo.new/cargo.changes 2017-06-01 16:29:48.067940203 +0200
@@ -1,0 +2,20 @@
+Fri Apr 28 04:03:46 UTC 2017 - luke.nukem.jones@gmail.com
+
+- Update to 0.18.0
+ * [The `cargo check` command does a type check of a project without
+ building it][cargo/3296]
+ * [crates.io will display CI badges from Travis and AppVeyor, if
+ specified in Cargo.toml][cargo/3546]
+ * [crates.io will display categories listed in Cargo.toml][cargo/3301]
+ * [Compilation profiles accept integer values for `debug`, in addition
+ to `true` and `false`. These are passed to `rustc` as the value to
+ `-C debuginfo`][cargo/3534]
+ * [Implement `cargo --version --verbose`][cargo/3604]
+ * [All builds now output 'dep-info' build dependencies compatible with
+ make and ninja][cargo/3557]
+ * [Build all workspace members with `build --all`][cargo/3511]
+ * [Document all workspace members with `doc --all`][cargo/3515]
+ * [Path deps outside workspace are not members][cargo/3443]
+- Restrict version required for building
+
+-------------------------------------------------------------------
Old:
----
README.packager
cargo-0.17.0.tar.gz
New:
----
cargo-0.18.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cargo.spec ++++++
--- /var/tmp/diff_new_pack.uGRyQX/_old 2017-06-01 16:29:49.447745648 +0200
+++ /var/tmp/diff_new_pack.uGRyQX/_new 2017-06-01 16:29:49.447745648 +0200
@@ -18,30 +18,58 @@
#
-%global prev_version 0.16.0
-%global prev_rustc 1.15.0
-%bcond_with bootstrap
+%global prev_rustc 1.16.0
+%global curr_rustc 1.17.0
+%global prev_version 0.17.0
+%global pkg_version 0_18
+%global rel_version 0.18.0
+
+%global abi gnu
+%ifarch s390x
+%global _arch s390x
+%endif
+%ifarch armv7hl
+%global _arch armv7
+%global abi gnueabihf
+%endif
+%ifarch ppc64
+%global _arch powerpc64
+%endif
+%ifarch ppc64le
+%global _arch powerpc64le
+%endif
+%ifarch x86_64
+%global _arch x86_64
+%endif
+%ifarch %{ix86}
+%global _arch i586
+%endif
+%global rust_triple %{_arch}-unknown-linux-%{abi}
+%bcond_with bootstrap
Name: cargo
-Version: 0.17.0
+Version: %{rel_version}
Release: 0
Summary: The Rust package manager
License: MIT or Apache-2.0
Group: Development/Languages/Other
Url: https://github.com/rust-lang/cargo
-
-# See README.packager for instructions on generating
-# the source archives
-Source0: %{name}-%{version}.tar.gz
+Source0: cargo-%{version}.tar.gz
Source1: vendor.tar.xz
-Source2: README.packager
# There are no successful builds for less than TW or Leap 42.2, so bootstrap
# until such time that there is.
%if %{with bootstrap} || (0%{?suse_version} < 1330 && 0%{?sle_version} < 120200)
-BuildRequires: cargo-bootstrap
+BuildRequires: cargo-bootstrap == %{prev_version}
+BuildRequires: rust == %{prev_rustc}
+BuildRequires: rust-std == %{prev_rustc}
%else
-BuildRequires: cargo
+BuildRequires: cargo <= %{version}
+BuildRequires: cargo >= %{prev_version}
+BuildRequires: rust <= %{curr_rustc}
+BuildRequires: rust >= %{prev_rustc}
+BuildRequires: rust-std <= %{curr_rustc}
+BuildRequires: rust-std >= %{prev_rustc}
%endif
BuildRequires: cmake
BuildRequires: curl
@@ -49,11 +77,10 @@
BuildRequires: libcurl-devel
BuildRequires: libopenssl-devel
BuildRequires: libssh-devel
-BuildRequires: rust >= %{prev_rustc}
-BuildRequires: rust-std >= %{prev_rustc}
BuildRequires: zlib-devel
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64 ppc64le s390x
+Conflicts: otherproviders(cargo)
Conflicts: cargo-bootstrap
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -62,8 +89,8 @@
Cargo downloads your Rust project’s dependencies and compiles your project.
%prep
-%setup -q
-%setup -q -D -T -a 1
+%setup -q -n cargo-%{version}
+%setup -q -D -T -a 1 -n cargo-%{version}
mkdir cargo-home
cat >cargo-home/config <