commit cargo for openSUSE:Factory
Hello community, here is the log from the commit of package cargo for openSUSE:Factory checked in at 2017-07-19 11:19:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cargo (Old) and /work/SRC/openSUSE:Factory/.cargo.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "cargo" Wed Jul 19 11:19:53 2017 rev:8 rq:502523 version:0.19.0 Changes: -------- --- /work/SRC/openSUSE:Factory/cargo/cargo.changes 2017-06-01 16:29:48.067940203 +0200 +++ /work/SRC/openSUSE:Factory/.cargo.new/cargo.changes 2017-07-19 11:19:56.217742195 +0200 @@ -1,0 +2,20 @@ +Fri Jun 9 08:33:14 UTC 2017 - luke.nukem.jones@gmail.com + +- Update to version 0.19.0 + + [Added partial Pijul support][cargo/3842] Pijul is a version control system in Rust. + You can now create new cargo projects with Pijul using `cargo new --vcs pijul` + + [Now always emits build script warnings for crates that fail to build][cargo/3847] + + [Added Android build support][cargo/3885] + + [Added `--bins` and `--tests` flags][cargo/3901] now you can build all programs + of a certain type, for example `cargo build --bins` will build all + binaries. + + [Added support for haiku][cargo/3952] + +------------------------------------------------------------------- +Thu Jun 8 18:46:09 UTC 2017 - mimi.vx@gmail.com + +- require rust +- use system libgit2 +- use pkgconfig deps + +------------------------------------------------------------------- Old: ---- cargo-0.18.0.tar.gz New: ---- cargo-0.19.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cargo.spec ++++++ --- /var/tmp/diff_new_pack.Tr0D2J/_old 2017-07-19 11:19:57.561552367 +0200 +++ /var/tmp/diff_new_pack.Tr0D2J/_new 2017-07-19 11:19:57.565551802 +0200 @@ -18,12 +18,10 @@ # -%global prev_rustc 1.16.0 -%global curr_rustc 1.17.0 +%global prev_rustc 1.17.0 +%global rustc 1.18.0 %global prev_version 0.17.0 -%global pkg_version 0_18 -%global rel_version 0.18.0 - +%global rel_version 0.19.0 %global abi gnu %ifarch s390x %global _arch s390x @@ -45,8 +43,7 @@ %global _arch i586 %endif %global rust_triple %{_arch}-unknown-linux-%{abi} - -%bcond_with bootstrap +%bcond_with cargo_bootstrap Name: cargo Version: %{rel_version} Release: 0 @@ -56,34 +53,35 @@ Url: https://github.com/rust-lang/cargo Source0: cargo-%{version}.tar.gz Source1: vendor.tar.xz - +BuildRequires: cmake +BuildRequires: curl +BuildRequires: git +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libcrypto) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libgit2) +BuildRequires: pkgconfig(libssh) +BuildRequires: pkgconfig(libssh_threads) +BuildRequires: pkgconfig(libssl) +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(zlib) +Requires: rust +Conflicts: cargo-bootstrap +Conflicts: otherproviders(cargo) +BuildRoot: %{_tmppath}/%{name}-%{version}-build +ExclusiveArch: %{ix86} 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 bootstrap} || (0%{?suse_version} < 1330 && 0%{?sle_version} < 120200) -BuildRequires: cargo-bootstrap == %{prev_version} -BuildRequires: rust == %{prev_rustc} -BuildRequires: rust-std == %{prev_rustc} +%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} %else 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} +BuildRequires: rust <= %{rustc} +BuildRequires: rust-std <= %{rustc} %endif -BuildRequires: cmake -BuildRequires: curl -BuildRequires: git -BuildRequires: libcurl-devel -BuildRequires: libopenssl-devel -BuildRequires: libssh-devel -BuildRequires: zlib-devel -ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 ppc64 ppc64le s390x - -Conflicts: otherproviders(cargo) -Conflicts: cargo-bootstrap - -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Cargo downloads your Rust project’s dependencies and compiles your project. @@ -101,6 +99,7 @@ EOF %build +export LIBGIT2_SYS_USE_PKG_CONFIG=1 export CARGO_HOME=`pwd`/cargo-home/ %configure --disable-option-checking \ --build=%{rust_triple} \ @@ -118,14 +117,14 @@ mkdir -p %{buildroot}%{_bindir} install -Dm0755 build/bin/cargo %{buildroot}%{_bindir}/cargo mkdir -p %{buildroot}%{_mandir}/man1 -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%{_sysconfdir}/man/cargo*.1 %{buildroot}%{_mandir}/man1/ +install -Dm0644 src%{_sysconfdir}/cargo.bashcomp.sh %{buildroot}%{_sysconfdir}/bash_completion.d/cargo.sh %files %defattr(-,root,root) %doc LICENSE-APACHE LICENSE-MIT README.md %{_bindir}/cargo -%doc %{_mandir}/man1/* +%{_mandir}/man1/* %config %{_sysconfdir}/bash_completion.d/cargo.sh %changelog ++++++ cargo-0.18.0.tar.gz -> cargo-0.19.0.tar.gz ++++++ ++++ 4020 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
participants (1)
-
root@hilbert.suse.de