Hello community,

here is the log from the commit of package rust-packaging for openSUSE:Factory 
checked in at 2019-05-21 10:37:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rust-packaging (Old)
 and      /work/SRC/openSUSE:Factory/.rust-packaging.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rust-packaging"

Tue May 21 10:37:15 2019 rev:4 rq:700961 version:9

Changes:
--------
--- /work/SRC/openSUSE:Factory/rust-packaging/rust-packaging.changes    
2019-03-06 15:51:07.988438989 +0100
+++ /work/SRC/openSUSE:Factory/.rust-packaging.new.5148/rust-packaging.changes  
2019-05-21 10:37:15.715208767 +0200
@@ -1,0 +2,51 @@
+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
+
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/rust-packaging/rust-srpm-macros.changes  
2019-03-06 15:51:08.896438826 +0100
+++ 
/work/SRC/openSUSE:Factory/.rust-packaging.new.5148/rust-srpm-macros.changes    
    2019-05-21 10:37:15.815208702 +0200
@@ -1,0 +2,32 @@
+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
+
+-------------------------------------------------------------------

Old:
----
  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
  rust2rpm-6.tar.xz

New:
----
  0001-macros-Remove-Cargo.toml.orig.patch
  rust2rpm-9.tar.xz

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

Other differences:
------------------
++++++ rust-packaging.spec ++++++
--- /var/tmp/diff_new_pack.HD3Koa/_old  2019-05-21 10:37:16.887208006 +0200
+++ /var/tmp/diff_new_pack.HD3Koa/_new  2019-05-21 10:37:16.891208003 +0200
@@ -3,7 +3,7 @@
 #
 # Copyright (c) 2017 Red Hat, Inc., Raleigh, North Carolina, United States of 
America.
 # Copyright (c) 2017, 2019 Igor Gnatenko <[email protected]>.
-# Copyright (c) 2018 Neal Gompa <[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
@@ -20,34 +20,22 @@
 %bcond_without check
 
 Name:           rust-packaging
-Version:        6
+Version:        9
 Release:        0
 Summary:        RPM macros for building Rust packages on various architectures
 Group:          Development/Languages/Rust
 License:        MIT
 URL:            https://pagure.io/fedora-rust/rust2rpm
 Source0:        
https://releases.pagure.org/fedora-rust/rust2rpm/rust2rpm-%{version}.tar.xz
-Patch0001:      0001-name-spec-patch_file-by-real-crate-name.patch
-Patch0002:      0002-generate-doc-statements.patch
-Patch0003:      0003-do-better-for-renamed-crates.patch
-Patch0004:      0004-remove-pre-3.6-leftovers.patch
-Patch0005:      0005-Remove-half-downloaded-crate-on-C.patch
-Patch0006:      0006-Throw-an-error-if-s-is-used-without-a-crate.patch
-Patch0007:      0007-split-features-into-subpackages.patch
-Patch0008:      0008-add-support-for-dependencies-with-same-name.patch
-Patch0009:      0009-add-support-for-feeding-user-configuration.patch
-Patch0010:      0010-trivial-use-f-strings-everywhere.patch
-Patch0011:      0011-Add-option-to-not-generate-a-default-changelog-entry.patch
-Patch0012:      0012-Set-CARGO_HOME-to-the-local-.config.patch
-Patch0013:      0013-Set-the-install-root-in-.cargo-config.patch
-Patch0014:      0014-Add-support-for-prerelease-versions.patch
+# PATCH-FIX-OPENSUSE 0001-macros-Remove-Cargo.toml.orig.patch -- Remove 
Cargo.toml.orig
+Patch0001:      0001-macros-Remove-Cargo.toml.orig.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:       gawk >= 4.1.0
-Requires:       python3-rust2rpm = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires:       python3-rust2rpm = %{version}-%{release}
 Requires:       rust-srpm-macros = %{version}
 Requires:       rust
 Requires:       cargo
@@ -65,12 +53,10 @@
 BuildRequires:  python3-pytest
 BuildRequires:  cargo
 BuildRequires:  python3-semantic_version
-BuildRequires:  python3-rustcfg
 %endif
 Requires:       cargo
 Requires:       python3-semantic_version
 Requires:       python3-setuptools
-Requires:       python3-rustcfg
 Requires:       python3-Jinja2
 Requires:       python3-requests
 Requires:       python3-tqdm
@@ -86,6 +72,8 @@
 %prep
 %autosetup -n rust2rpm-%{version} -p1
 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
@@ -101,6 +89,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.HD3Koa/_old  2019-05-21 10:37:16.911207990 +0200
+++ /var/tmp/diff_new_pack.HD3Koa/_new  2019-05-21 10:37:16.911207990 +0200
@@ -3,7 +3,7 @@
 #
 # Copyright (c) 2017 Red Hat, Inc., Raleigh, North Carolina, United States of 
America.
 # Copyright (c) 2017, 2019 Igor Gnatenko <[email protected]>.
-# Copyright (c) 2018 Neal Gompa <[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
@@ -18,27 +18,13 @@
 #
 
 Name:           rust-srpm-macros
-Version:        6
+Version:        9
 Release:        0
 Summary:        RPM macros for building Rust source packages
 Group:          Development/Languages/Rust
 License:        MIT
 URL:            https://pagure.io/fedora-rust/rust2rpm
 Source0:        
https://releases.pagure.org/fedora-rust/rust2rpm/rust2rpm-%{version}.tar.xz
-Patch0001:      0001-name-spec-patch_file-by-real-crate-name.patch
-Patch0002:      0002-generate-doc-statements.patch
-Patch0003:      0003-do-better-for-renamed-crates.patch
-Patch0004:      0004-remove-pre-3.6-leftovers.patch
-Patch0005:      0005-Remove-half-downloaded-crate-on-C.patch
-Patch0006:      0006-Throw-an-error-if-s-is-used-without-a-crate.patch
-Patch0007:      0007-split-features-into-subpackages.patch
-Patch0008:      0008-add-support-for-dependencies-with-same-name.patch
-Patch0009:      0009-add-support-for-feeding-user-configuration.patch
-Patch0010:      0010-trivial-use-f-strings-everywhere.patch
-Patch0011:      0011-Add-option-to-not-generate-a-default-changelog-entry.patch
-Patch0012:      0012-Set-CARGO_HOME-to-the-local-.config.patch
-Patch0013:      0013-Set-the-install-root-in-.cargo-config.patch
-Patch0014:      0014-Add-support-for-prerelease-versions.patch
 
 BuildArch:      noarch
 

++++++ 0001-macros-Remove-Cargo.toml.orig.patch ++++++
>From 4a60450d2d57f732f70123b493e018d521feffc5 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <[email protected]>
Date: Tue, 23 Apr 2019 21:51:07 +0200
Subject: [PATCH] macros: Remove Cargo.toml.orig

Signed-off-by: Igor Gnatenko <[email protected]>
---
 data/macros.cargo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data/macros.cargo b/data/macros.cargo
index 4bbc36e..c28c108 100644
--- a/data/macros.cargo
+++ b/data/macros.cargo
@@ -37,7 +37,7 @@ directory = "%{cargo_registry}"\
 registry = "https://crates.io"\
 replace-with = "local-registry"\
 EOF\
-%{__rm} -f Cargo.lock \
+%{__rm} -f Cargo.lock Cargo.toml.orig \
 )
 
 %__cargo_parse_opts(naf:) %{shrink:\
-- 
2.21.0

++++++ rust2rpm-6.tar.xz -> rust2rpm-9.tar.xz ++++++
++++ 1625 lines of diff (skipped)


Reply via email to