Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rust1.56 for openSUSE:Factory checked in at 2021-12-13 20:41:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rust1.56 (Old) and /work/SRC/openSUSE:Factory/.rust1.56.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rust1.56" Mon Dec 13 20:41:50 2021 rev:3 rq:940029 version:1.56.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rust1.56/rust1.56.changes 2021-12-02 02:26:17.232392856 +0100 +++ /work/SRC/openSUSE:Factory/.rust1.56.new.2520/rust1.56.changes 2021-12-13 20:46:23.544499749 +0100 @@ -1,0 +2,8 @@ +Wed Dec 8 02:23:03 UTC 2021 - William Brown <[email protected]> + +- Remove un-needed dependency on git +- Specfile clean ups +- Resolve issue with test execution on leap15.3 +- Improve build performance + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rust1.56.spec ++++++ --- /var/tmp/diff_new_pack.8lRuqw/_old 2021-12-13 20:46:31.944500778 +0100 +++ /var/tmp/diff_new_pack.8lRuqw/_new 2021-12-13 20:46:31.956500780 +0100 @@ -16,32 +16,18 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # -# Test is done in a different multibuild package (rustXXX-test). This -# package will replace the local-rust-root and use the systems's one -# from the rustXXX package itself. This will exercise the compiler, -# even tho, the tests will require more compilation. If we do not -# agree on this model we can drop the _multibuild option and do the -# %check as a part of the main spec. - -%global flavor @BUILD_FLAVOR@%{nil} -%if "%{flavor}" == "test" -%define psuffix -test -%bcond_without test -%else -%define psuffix %{nil} -%bcond_with test -%endif %global version_suffix 1.56 %global version_current 1.56.1 %global version_previous 1.55.0 +# This has to be kept lock step to the rust version. +%global llvm_version 13 %define obsolete_rust_versioned() \ Obsoletes: %{1}1.55%{?2:-%{2}} \ Obsoletes: %{1}1.54%{?2:-%{2}} \ Obsoletes: %{1}1.53%{?2:-%{2}} \ -Obsoletes: %{1}1.52%{?2:-%{2}} \ -Obsoletes: %{1}1.51%{?2:-%{2}} +Obsoletes: %{1}1.52%{?2:-%{2}} # Build the rust target triple. # Some rust arches don't match what SUSE labels them. @@ -117,6 +103,22 @@ %bcond_without bundled_llvm %endif +# Test is done in a different multibuild package (rustXXX-test). This +# package will replace the local-rust-root and use the systems's one +# from the rustXXX package itself. This will exercise the compiler, +# even tho, the tests will require more compilation. If we do not +# agree on this model we can drop the _multibuild option and do the +# pct check as a part of the main spec. + +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" && ! %with bundled_llvm +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif + # """ # Do not use parallel codegen in order to # a) not exhaust memory on build-machines and @@ -138,7 +140,6 @@ # Debuginfo can exhaust memory on these architecture workers %ifarch %{arm} %{ix86} %define debug_info --debuginfo-level=0 --debuginfo-level-rustc=0 --debuginfo-level-std=0 --debuginfo-level-tools=0 --debuginfo-level-tests=0 -%define strip_debug_flag 1 %else %define debug_info %{nil} %endif @@ -196,7 +197,6 @@ Patch4: fix_alloc-optimisation_is_only_for_rust_llvm.patch BuildRequires: curl BuildRequires: fdupes -BuildRequires: git BuildRequires: pkgconfig BuildRequires: procps BuildRequires: python3-base @@ -211,15 +211,11 @@ %endif BuildRequires: cmake BuildRequires: gcc-c++ -%ifarch %{arm} %{ix86} -BuildRequires: pkgconfig(libgit2) -BuildRequires: pkgconfig(libssh2) >= 1.6.0 -%endif %if !%with bundled_llvm # Use distro provided LLVM on Tumbleweed, but pin it to the matching LLVM! # For details see boo#1192067 -BuildRequires: llvm13-devel +BuildRequires: llvm%{llvm_version}-devel %else # Ninja required to drive the bundled llvm build. BuildRequires: ninja @@ -230,7 +226,7 @@ BuildRequires: cargo%{version_suffix} = %{version} BuildRequires: rust%{version_suffix} = %{version} # Required because FileCheck -BuildRequires: llvm13-devel +BuildRequires: llvm%{llvm_version}-devel %endif %obsolete_rust_versioned rust @@ -391,26 +387,19 @@ cat > .env.sh <<\EOF export RUSTFLAGS="%{rustflags}" export DESTDIR=%{buildroot} -export LIBSSH2_SYS_USE_PKG_CONFIG=1 export CARGO_FEATURE_VENDORED=1 +unset FFLAGS # END EXPORTS EOF %if ! %{with test} . ./.env.sh - -%if 0%{?strip_debug_flag} -export CFLAGS="$(echo $RPM_OPT_FLAGS | sed -e 's/ -g$//')" -%endif -export CXXFLAGS="$CFLAGS" -unset FFLAGS - python3 ./x.py build %endif %install -%if ! %{with test} # Reread exports file +%if ! %{with test} . ./.env.sh python3 ./x.py install ++++++ rust1.56-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.8lRuqw/_old 2021-12-13 20:46:32.196500809 +0100 +++ /var/tmp/diff_new_pack.8lRuqw/_new 2021-12-13 20:46:32.200500810 +0100 @@ -16,5 +16,7 @@ addFilter("potential-bashisms.*/usr/bin/rust-lldb") addFilter("position-independent-executable-suggested.*/usr/bin/rust-llvm-dwp") +addFilter("non-devel-file-in-devel-package /usr/lib/.*so") +addFilter("non-devel-file-in-devel-package /usr/lib/rustlib/.*")
