Hello community,
here is the log from the commit of package rust-packaging for
openSUSE:Leap:15.2 checked in at 2020-03-13 10:57:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/rust-packaging (Old)
and /work/SRC/openSUSE:Leap:15.2/.rust-packaging.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rust-packaging"
Fri Mar 13 10:57:47 2020 rev:11 rq:783352 version:11
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/rust-packaging/rust-packaging.changes
2020-01-15 16:00:51.695844091 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.rust-packaging.new.3160/rust-packaging.changes
2020-03-13 10:59:01.520505273 +0100
@@ -1,0 +2,143 @@
+Wed Dec 4 15:06:39 UTC 2019 - Igor Gnatenko <[email protected]>
+
+- Remove downstream patches
+ + 0001-Ignore-Cargo.lock.patch
+ + 0001-macros-Remove-Cargo.toml.orig.patch
+ + 0001-metadata-normalize-version-via-CargoSemVer.patch
+ + 0001-metadata-replace-semantic-version-with-a-custom-pars.patch
+- Update to 11
+ + When dynamic BuildRequires are turned on, propagate arguments to %cargo_*
+ + Few improvements in algorithm of description splitting into a summary
+ + Ignore Cargo.lock for installation (publish lockfile feature in Cargo
1.37+)
+ + Replace semantic_version dependency by custom parser
+ + Add MPL-2.0-or-later and 0BSD into a Fedora SPDX mapping
+ + Pass --cap-lints=warn into the RUSTFLAGS to prevent FTBFS after
+ dependency and/or compiler updates
+ + Enable dynamic BuildRequires by default for Fedora target
+
+-------------------------------------------------------------------
+Wed Oct 30 22:34:38 UTC 2019 - Neal Gompa <[email protected]>
+
+- Fix version normalization via CargoSemVer
+ + 0001-metadata-normalize-version-via-CargoSemVer.patch
+
+-------------------------------------------------------------------
+Mon Oct 28 11:26:33 UTC 2019 - Neal Gompa <[email protected]>
+
+- Replace semantic_version dependency with custom CargoVersion parser
+ + Add 0001-metadata-replace-semantic-version-with-a-custom-pars.patch
+
+-------------------------------------------------------------------
+Tue Oct 22 04:28:37 UTC 2019 - Thomas Bechtold <[email protected]>
+
+- Add 0001-Ignore-Cargo.lock.patch
+ This fixes build problems when the .crate file contains a Cargo.lock
+ file
+
+-------------------------------------------------------------------
+Thu Aug 29 10:13:27 UTC 2019 - Thomas Bechtold <[email protected]>
+
+- update to version 10
+ * Translate '-or-later' and '+' license suffixes properly
+ * Check /usr/lib/os-release in addition to /etc/os-release
+ * Prettify summary and description automatically
+ * Use %{expand:…} for %description to avoid escaping of newlines
+ * Add '--suffix' option for "compat" packages
+ * Implement option to skip building of crates (aka fast/bootstrap build)
+
+-------------------------------------------------------------------
+Mon May 6 07:19:13 UTC 2019 - Neal Gompa <[email protected]>
+
+- Update to version 9
+ + Remove temporary Cargo.toml.deps
+ + Fix packager identity detection to use fallbacks properly
+ + Always put upstream license data comment in generated specs
+- Drop unneeded epoch handling in spec, as Epochs are nearly never used in
openSUSE
+- Ensure the version-release of rust2rpm used is mentioned in generated specs
+- Ensure license file is installed in rust-packaging
+
+-------------------------------------------------------------------
+Tue Apr 23 19:52:40 UTC 2019 - Igor Gnatenko <[email protected]>
+
+- Add 0001-macros-Remove-Cargo.toml.orig.patch so crates pass
+ rpmlint
+
+-------------------------------------------------------------------
+Tue Apr 23 19:27:01 UTC 2019 - Igor Gnatenko <[email protected]>
+
+- Update to version 8
+- Changes since version 6
+ * Generate %doc statements for readme from Cargo.toml
+ * Split features into subpackages (`rust-$crate+$feature-devel`)
+ * Add support for dependencies with same name
+ * Add support for user configuration (`.rust2rpm.conf`, `_rust2rpm.conf`)
+ * Option to not generate default changelog entry
(`--no-auto-changelog-entry`)
+ * Set `CARGO_HOME` to the local `.cargo` (required by new Rust)
+ * Improvements for crates with pre-release versions
+ * Do not put unneeded optional dependencies in BuildRequires (`-Z
avoid-dev-deps`)
+ * Option to use all crate features when generating spec file
+ * Use new-style changelog format (with TZ info) on Fedora
+ * Option to use dynamic BuildRequires (requires RPM 4.15+)
+ * Environment variables to control packager identity
+- Drop patches part of this release
+ * 0001-name-spec-patch_file-by-real-crate-name.patch
+ * 0002-generate-doc-statements.patch
+ * 0003-do-better-for-renamed-crates.patch
+ * 0004-remove-pre-3.6-leftovers.patch
+ * 0005-Remove-half-downloaded-crate-on-C.patch
+ * 0006-Throw-an-error-if-s-is-used-without-a-crate.patch
+ * 0007-split-features-into-subpackages.patch
+ * 0008-add-support-for-dependencies-with-same-name.patch
+ * 0009-add-support-for-feeding-user-configuration.patch
+ * 0010-trivial-use-f-strings-everywhere.patch
+ * 0011-Add-option-to-not-generate-a-default-changelog-entry.patch
+ * 0012-Set-CARGO_HOME-to-the-local-.config.patch
+ * 0013-Set-the-install-root-in-.cargo-config.patch
+ * 0014-Add-support-for-prerelease-versions.patch
+
+
+-------------------------------------------------------------------
+Tue Mar 5 22:40:21 UTC 2019 - Igor Gnatenko <[email protected]>
+
+- Backport more upstream patches
+ + Added patches
+ - 0012-Set-CARGO_HOME-to-the-local-.config.patch
+ - 0013-Set-the-install-root-in-.cargo-config.patch
+ - 0014-Add-support-for-prerelease-versions.patch
+- Replaced patch with upstream version
+ + Removed patches
+ - 0101-Add-option-to-not-generate-a-default-changelog-entry.patch
+ + Added patches
+ - 0011-Add-option-to-not-generate-a-default-changelog-entry.patch
+
+-------------------------------------------------------------------
+Sun Nov 11 22:41:29 UTC 2018 - Neal Gompa <[email protected]>
+
+- Update to 6
+ + Allow generating spec file from rust project checkout
+ + add option to copy crate to current working directory
+ + Filter dependencies using the cfg language
+- Backport patches for updated packaging generation
+ + Added patches
+ - 0001-name-spec-patch_file-by-real-crate-name.patch
+ - 0002-generate-doc-statements.patch
+ - 0003-do-better-for-renamed-crates.patch
+ - 0004-remove-pre-3.6-leftovers.patch
+ - 0005-Remove-half-downloaded-crate-on-C.patch
+ - 0006-Throw-an-error-if-s-is-used-without-a-crate.patch
+ - 0007-split-features-into-subpackages.patch
+ - 0008-add-support-for-dependencies-with-same-name.patch
+ - 0009-add-support-for-feeding-user-configuration.patch
+ - 0010-trivial-use-f-strings-everywhere.patch
+- Remove merged patches
+ + 0001-macros-remove-Cargo.lock.patch
+ + 0002-macros-remove-spurious-whitespace.patch
+- Add proposed patch to add option to not generate default changelog entry
+ + 0101-Add-option-to-not-generate-a-default-changelog-entry.patch
+
+-------------------------------------------------------------------
+Tue Nov 6 03:02:47 UTC 2018 - Neal Gompa <[email protected]>
+
+- Add missing runtime requirement for python3-setuptools
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Leap:15.2/rust-packaging/rust-srpm-macros.changes
2020-01-15 16:00:51.763844127 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.rust-packaging.new.3160/rust-srpm-macros.changes
2020-03-13 10:59:01.548505293 +0100
@@ -1,0 +2,61 @@
+Wed Dec 4 15:06:39 UTC 2019 - Igor Gnatenko <[email protected]>
+
+- Update to 11
+
+-------------------------------------------------------------------
+Thu Aug 29 10:14:50 UTC 2019 - Thomas Bechtold <[email protected]>
+
+- update to version 10
+ * Translate '-or-later' and '+' license suffixes properly
+ * Check /usr/lib/os-release in addition to /etc/os-release
+ * Prettify summary and description automatically
+ * Use %{expand:…} for %description to avoid escaping of newlines
+ * Add '--suffix' option for "compat" packages
+ * Implement option to skip building of crates (aka fast/bootstrap build)
+
+-------------------------------------------------------------------
+Sun May 5 12:02:04 UTC 2019 - Neal Gompa <[email protected]>
+
+- Update to version 9
+ + Remove temporary Cargo.toml.deps
+ + Fix packager identity detection to use fallbacks properly
+ + Always put upstream license data comment in generated specs
+
+-------------------------------------------------------------------
+Tue Apr 23 19:27:18 UTC 2019 - Igor Gnatenko <[email protected]>
+
+- Update to version 8
+ * Pass `-Ccodegen-units=1` in RUSTFLAGS
+ * Switch to `%{build_rustflags}`
+- Changes since version 6
+ * Fix `%cargo_install` with crates which use whitespace in files
+- Drop patches part of this release
+ * 0001-name-spec-patch_file-by-real-crate-name.patch
+ * 0002-generate-doc-statements.patch
+ * 0003-do-better-for-renamed-crates.patch
+ * 0004-remove-pre-3.6-leftovers.patch
+ * 0005-Remove-half-downloaded-crate-on-C.patch
+ * 0006-Throw-an-error-if-s-is-used-without-a-crate.patch
+ * 0007-split-features-into-subpackages.patch
+ * 0008-add-support-for-dependencies-with-same-name.patch
+ * 0009-add-support-for-feeding-user-configuration.patch
+ * 0010-trivial-use-f-strings-everywhere.patch
+ * 0011-Add-option-to-not-generate-a-default-changelog-entry.patch
+ * 0012-Set-CARGO_HOME-to-the-local-.config.patch
+ * 0013-Set-the-install-root-in-.cargo-config.patch
+ * 0014-Add-support-for-prerelease-versions.patch
+
+-------------------------------------------------------------------
+Tue Mar 5 22:48:39 UTC 2019 - Igor Gnatenko <[email protected]>
+
+- Backport upstream patch for tilde handling
+
+-------------------------------------------------------------------
+Sun Nov 11 22:49:16 UTC 2018 - Neal Gompa <[email protected]>
+
+- Update to 6
+ + pass %__cargo_common_opts to %cargo_install
+ + make %cargo_* macros parametric
+ + remove support for target-dir
+
+-------------------------------------------------------------------
Old:
----
0001-macros-remove-Cargo.lock.patch
0002-macros-remove-spurious-whitespace.patch
rust2rpm-5.tar.xz
New:
----
rust2rpm-11.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rust-packaging.spec ++++++
--- /var/tmp/diff_new_pack.JG3RI3/_old 2020-03-13 10:59:01.968505592 +0100
+++ /var/tmp/diff_new_pack.JG3RI3/_new 2020-03-13 10:59:01.980505601 +0100
@@ -1,9 +1,10 @@
#
# spec file for package rust-packaging
#
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 Red Hat, Inc., Raleigh, North Carolina, United States of
America.
-# Copyright (c) 2017 Igor Gnatenko <[email protected]>.
-# Copyright (c) 2018 Neal Gompa <[email protected]>.
+# Copyright (c) 2017, 2019 Igor Gnatenko <[email protected]>.
+# Copyright (c) 2019 Neal Gompa <[email protected]>.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -14,34 +15,32 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+
%bcond_without check
Name: rust-packaging
-Version: 5
+Version: 11
Release: 0
-Summary: RPM tools and macros for building Rust packages
-Group: Development/Languages/Rust
+Summary: RPM macros for building Rust packages on various architectures
License: MIT
+Group: Development/Languages/Rust
URL: https://pagure.io/fedora-rust/rust2rpm
Source0:
https://releases.pagure.org/fedora-rust/rust2rpm/rust2rpm-%{version}.tar.xz
-Patch0001: 0001-macros-remove-Cargo.lock.patch
-Patch0002: 0002-macros-remove-spurious-whitespace.patch
-
BuildArch: noarch
ExclusiveArch: %{rust_arches} noarch
# gawk is needed for stripping dev-deps in macro, 4.1.0 is needed for inplace
feature
+Requires: cargo
Requires: gawk >= 4.1.0
-Requires: python3-rust2rpm = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: python3-rust2rpm = %{version}-%{release}
+Requires: rust
Requires: rust-srpm-macros = %{version}
-# Remove in F29
-Obsoletes: rust-rpm-macros < 2-2
%description
-This package provides the tools and macros for building projects in Rust
+The package provides macros for building projects in Rust
on various architectures.
%package -n python3-rust2rpm
@@ -50,23 +49,14 @@
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%if %{with check}
-BuildRequires: python3-pytest
BuildRequires: cargo
-BuildRequires: python3-semantic_version
+BuildRequires: python3-pytest
%endif
Requires: cargo
-Requires: python3-semantic_version
-%if 0%{?suse_version}
Requires: python3-Jinja2
-%else
-Requires: python3-jinja2
-%endif
Requires: python3-requests
+Requires: python3-setuptools
Requires: python3-tqdm
-%if 0%{?mageia}
-Requires: locales-en
-%endif
-Obsoletes: rust2rpm < 1-8
Provides: rust2rpm = %{version}-%{release}
%{?python_provide:%python_provide python3-rust2rpm}
@@ -76,18 +66,10 @@
creates packages that comply with the Fedora Packaging Guidelines,
Mageia packaging policy, and the openSUSE Packaging Guidelines.
-
%prep
%autosetup -n rust2rpm-%{version} -p1
-lang=
-%if (0%{?fedora} && 0%{?fedora} <= 25) || (0%{?rhel} && 0%{?rhel} <= 7) ||
0%{?suse_version}
-lang=C.UTF-8
-%else
-%if 0%{?mageia}
-lang=en_US.UTF-8
-%endif
-%endif
-[ -z "$lang" ] || sed -r -i -e "s|(%\{_bindir\}/cargo-inspector)|env
LANG=$lang \1|" data/cargo.attr data/macros.cargo
+sed -r -i -e "s|(%\{_bindir\}/cargo-inspector)|env LANG=C.UTF-8 \1|"
data/cargo.attr data/macros.cargo
+sed -i -e '/# Generated by/s/$/-%{version}-%{release}/'
rust2rpm/templates/main.spec
%build
%py3_build
@@ -103,6 +85,7 @@
%endif
%files
+%license LICENSE
%{_rpmconfigdir}/macros.d/macros.rust
%{_rpmconfigdir}/macros.d/macros.cargo
%{_rpmconfigdir}/fileattrs/cargo.attr
++++++ rust-srpm-macros.spec ++++++
--- /var/tmp/diff_new_pack.JG3RI3/_old 2020-03-13 10:59:01.992505609 +0100
+++ /var/tmp/diff_new_pack.JG3RI3/_new 2020-03-13 10:59:01.996505612 +0100
@@ -1,9 +1,10 @@
#
# spec file for package rust-srpm-macros
#
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 Red Hat, Inc., Raleigh, North Carolina, United States of
America.
-# Copyright (c) 2017 Igor Gnatenko <[email protected]>.
-# Copyright (c) 2018 Neal Gompa <[email protected]>.
+# Copyright (c) 2017, 2019 Igor Gnatenko <[email protected]>.
+# Copyright (c) 2019 Neal Gompa <[email protected]>.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -14,15 +15,16 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+
Name: rust-srpm-macros
-Version: 5
+Version: 11
Release: 0
Summary: RPM macros for building Rust source packages
-Group: Development/Languages/Rust
License: MIT
+Group: Development/Languages/Rust
URL: https://pagure.io/fedora-rust/rust2rpm
Source0:
https://releases.pagure.org/fedora-rust/rust2rpm/rust2rpm-%{version}.tar.xz
@@ -33,19 +35,14 @@
of Rust packages.
%prep
-%autosetup -n rust2rpm-%{version}
+%autosetup -n rust2rpm-%{version} -p1
-%if 0%{?mageia} || 0%{?suse_version}
# Target arch is i586 on these distributions
sed -e "s/i686/i586 i686/" -i data/macros.rust-srpm
-%endif
-
-%if 0%{?suse_version}
# Work around bugs in ppc64* arch setup in SUSE rpm
sed -e "s/ppc64 ppc64le/ppc64 powerpc64 ppc64le powerpc64le/" -i
data/macros.rust-srpm
# Add armv6hl to supported arches
sed -e "s/armv7hl/armv6hl armv7hl/" -i data/macros.rust-srpm
-%endif
%install
install -D -p -m 0644 -t %{buildroot}%{_rpmconfigdir}/macros.d
data/macros.rust-srpm
++++++ rust2rpm-5.tar.xz -> rust2rpm-11.tar.xz ++++++
++++ 2665 lines of diff (skipped)