Do not pull optional deps into BRs and trivial fixes

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 17a86d1495
commit 5955f7d37d
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,7 +1,7 @@
From 0dc9fc182edf0791ca697f587e48dd39948d63c1 Mon Sep 17 00:00:00 2001 From 0dc9fc182edf0791ca697f587e48dd39948d63c1 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org> From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date: Mon, 10 Sep 2018 23:37:40 +0200 Date: Mon, 10 Sep 2018 23:37:40 +0200
Subject: [PATCH 01/14] name spec/patch_file by real crate name Subject: [PATCH 01/18] name spec/patch_file by real crate name
When renaming using patch file, we really want to change file names too. When renaming using patch file, we really want to change file names too.
@ -33,5 +33,5 @@ index dc78828..1575ce6 100644
if args.stdout: if args.stdout:
print("# {}".format(spec_file)) print("# {}".format(spec_file))
-- --
2.20.1 2.21.0

@ -1,7 +1,7 @@
From 561280a0ea35f226ef243526be2bbb656db44af6 Mon Sep 17 00:00:00 2001 From 561280a0ea35f226ef243526be2bbb656db44af6 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org> From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date: Mon, 10 Sep 2018 23:40:18 +0200 Date: Mon, 10 Sep 2018 23:40:18 +0200
Subject: [PATCH 02/14] generate %doc statements Subject: [PATCH 02/18] generate %doc statements
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org> Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
--- ---
@ -54,5 +54,5 @@ index 1aeb969..2e9f841 100644
{% endif %} {% endif %}
-- --
2.20.1 2.21.0

@ -1,7 +1,7 @@
From 2050880140d4953b9ebdc7211e30df3ccf5dd61d Mon Sep 17 00:00:00 2001 From 2050880140d4953b9ebdc7211e30df3ccf5dd61d Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org> From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date: Tue, 11 Sep 2018 00:06:50 +0200 Date: Tue, 11 Sep 2018 00:06:50 +0200
Subject: [PATCH 03/14] do better for renamed crates Subject: [PATCH 03/18] do better for renamed crates
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org> Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
--- ---
@ -86,5 +86,5 @@ index 2e9f841..7dbcc3f 100644
%build %build
-- --
2.20.1 2.21.0

@ -1,7 +1,7 @@
From e6e9cbbb71199c2773b47fa21f1c917a167c1743 Mon Sep 17 00:00:00 2001 From e6e9cbbb71199c2773b47fa21f1c917a167c1743 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org> From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date: Tue, 11 Sep 2018 10:43:53 +0200 Date: Tue, 11 Sep 2018 10:43:53 +0200
Subject: [PATCH 04/14] remove pre-3.6 leftovers Subject: [PATCH 04/18] remove pre-3.6 leftovers
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org> Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
--- ---
@ -23,5 +23,5 @@ index f52d968..5adeb65 100644
+ "--manifest-path={}".format(path)]) + "--manifest-path={}".format(path)])
return cls.from_json(json.loads(metadata)) return cls.from_json(json.loads(metadata))
-- --
2.20.1 2.21.0

@ -1,7 +1,7 @@
From 2f12c83d14afe71e9efed2d1be62e1e610e602e9 Mon Sep 17 00:00:00 2001 From 2f12c83d14afe71e9efed2d1be62e1e610e602e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl> From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Fri, 17 Aug 2018 10:03:48 +0200 Date: Fri, 17 Aug 2018 10:03:48 +0200
Subject: [PATCH 05/14] Remove half-downloaded crate on ^C Subject: [PATCH 05/18] Remove half-downloaded crate on ^C
Subsequent invocations would fail with an error about a corrupted file. Subsequent invocations would fail with an error about a corrupted file.
We don't have support for resuming a failed download, so let's remove the We don't have support for resuming a failed download, so let's remove the
@ -40,5 +40,5 @@ index e993e7b..8e6f6eb 100644
total=total, unit="B", unit_scale=True): total=total, unit="B", unit_scale=True):
f.write(chunk) f.write(chunk)
-- --
2.20.1 2.21.0

@ -1,7 +1,7 @@
From 5a1cde5b8dcaea74ebb2050879036bf46df63adc Mon Sep 17 00:00:00 2001 From 5a1cde5b8dcaea74ebb2050879036bf46df63adc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl> From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Fri, 17 Aug 2018 10:18:59 +0200 Date: Fri, 17 Aug 2018 10:18:59 +0200
Subject: [PATCH 06/14] Throw an error if -s is used without a crate Subject: [PATCH 06/18] Throw an error if -s is used without a crate
In the future we might want to be smarter and find the crate, but let's at least In the future we might want to be smarter and find the crate, but let's at least
not ignore the option completely. not ignore the option completely.
@ -24,5 +24,5 @@ index 8e6f6eb..f23ebbc 100644
diff = make_patch(toml, enabled=patch, tmpfile=True) diff = make_patch(toml, enabled=patch, tmpfile=True)
metadata = Metadata.from_file(toml) metadata = Metadata.from_file(toml)
-- --
2.20.1 2.21.0

@ -1,7 +1,7 @@
From 2cac5e5ad5ff5472923ce333bef59679612bbaa2 Mon Sep 17 00:00:00 2001 From 2cac5e5ad5ff5472923ce333bef59679612bbaa2 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org> From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date: Fri, 26 Oct 2018 11:20:13 +0200 Date: Fri, 26 Oct 2018 11:20:13 +0200
Subject: [PATCH 07/14] split features into subpackages Subject: [PATCH 07/18] split features into subpackages
References: https://discussion.fedoraproject.org/t/rfc-new-crates-packaging-design-features-have-their-own-subpackages/563?u=ignatenkobrain References: https://discussion.fedoraproject.org/t/rfc-new-crates-packaging-design-features-have-their-own-subpackages/563?u=ignatenkobrain
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org> Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
@ -1060,5 +1060,5 @@ index b856fdd..30263b4 100644
- assert [str(x) for x in md.provides] == provides - assert [str(x) for x in md.provides] == provides
- assert [str(x) for x in md.requires] == requires - assert [str(x) for x in md.requires] == requires
-- --
2.20.1 2.21.0

@ -1,7 +1,7 @@
From a1d3a84645aa7bbe5ca07b60bead1ddf90a21cc1 Mon Sep 17 00:00:00 2001 From a1d3a84645aa7bbe5ca07b60bead1ddf90a21cc1 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org> From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date: Tue, 30 Oct 2018 20:37:38 +0100 Date: Tue, 30 Oct 2018 20:37:38 +0100
Subject: [PATCH 08/14] add support for dependencies with same name Subject: [PATCH 08/18] add support for dependencies with same name
Reported-by: Josh Stone <jistone@redhat.com> Reported-by: Josh Stone <jistone@redhat.com>
References: https://internals.rust-lang.org/t/optional-dependencies-with-same-name/8728 References: https://internals.rust-lang.org/t/optional-dependencies-with-same-name/8728
@ -70,5 +70,5 @@ index 4929cdd..328b67a 100644
if "default" not in deps_by_feature: if "default" not in deps_by_feature:
-- --
2.20.1 2.21.0

@ -1,7 +1,7 @@
From 197150ee2e862edcd46f7ab02c9e4d17e49ca75d Mon Sep 17 00:00:00 2001 From 197150ee2e862edcd46f7ab02c9e4d17e49ca75d Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org> From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date: Wed, 31 Oct 2018 18:03:21 +0100 Date: Wed, 31 Oct 2018 18:03:21 +0100
Subject: [PATCH 09/14] add support for feeding user configuration Subject: [PATCH 09/18] add support for feeding user configuration
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org> Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
--- ---
@ -144,5 +144,5 @@ index 0d9a80b..d901e6d 100644
%description {{ pkg }} %{_description} %description {{ pkg }} %{_description}
-- --
2.20.1 2.21.0

@ -1,7 +1,7 @@
From 83ea3796cd28ec7689b39e7dc7a70bd11af1abf1 Mon Sep 17 00:00:00 2001 From 83ea3796cd28ec7689b39e7dc7a70bd11af1abf1 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org> From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date: Wed, 31 Oct 2018 17:00:58 +0100 Date: Wed, 31 Oct 2018 17:00:58 +0100
Subject: [PATCH 10/14] trivial: use f-strings everywhere Subject: [PATCH 10/18] trivial: use f-strings everywhere
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org> Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
--- ---
@ -90,5 +90,5 @@ index c691274..b60e6c4 100644
else: else:
with open(spec_file, "w") as fobj: with open(spec_file, "w") as fobj:
-- --
2.20.1 2.21.0

@ -1,7 +1,7 @@
From 294c6f571c0f4f7ed5a4fcb34142b0d332c55f29 Mon Sep 17 00:00:00 2001 From 294c6f571c0f4f7ed5a4fcb34142b0d332c55f29 Mon Sep 17 00:00:00 2001
From: Neal Gompa <ngompa13@gmail.com> From: Neal Gompa <ngompa13@gmail.com>
Date: Sun, 11 Nov 2018 11:06:27 -0500 Date: Sun, 11 Nov 2018 11:06:27 -0500
Subject: [PATCH 11/14] Add option to not generate a default changelog entry Subject: [PATCH 11/18] Add option to not generate a default changelog entry
For Rust packages created through the OBS source service, the For Rust packages created through the OBS source service, the
changelog is managed by an external <pkg>.changes file that is changelog is managed by an external <pkg>.changes file that is
@ -59,5 +59,5 @@ index d901e6d..84bd97d 100644
+ {% include target ~ "-changelog.spec.inc" %} + {% include target ~ "-changelog.spec.inc" %}
+{% endif %} +{% endif %}
-- --
2.20.1 2.21.0

@ -1,7 +1,7 @@
From b4e25038296cd57eba639a059e8baaf139a5d287 Mon Sep 17 00:00:00 2001 From b4e25038296cd57eba639a059e8baaf139a5d287 Mon Sep 17 00:00:00 2001
From: Josh Stone <jistone@redhat.com> From: Josh Stone <jistone@redhat.com>
Date: Fri, 7 Dec 2018 13:58:41 -0800 Date: Fri, 7 Dec 2018 13:58:41 -0800
Subject: [PATCH 12/14] Set CARGO_HOME to the local .config Subject: [PATCH 12/18] Set CARGO_HOME to the local .config
--- ---
data/macros.cargo | 6 +++++- data/macros.cargo | 6 +++++-
@ -22,5 +22,5 @@ index 7fb025b..e760721 100644
%__cargo_inspector %{_bindir}/cargo-inspector %__cargo_inspector %{_bindir}/cargo-inspector
-- --
2.20.1 2.21.0

@ -1,7 +1,7 @@
From a04e95bc4f807139bd3c4b75f46fd9a60ec1db8f Mon Sep 17 00:00:00 2001 From a04e95bc4f807139bd3c4b75f46fd9a60ec1db8f Mon Sep 17 00:00:00 2001
From: Josh Stone <jistone@redhat.com> From: Josh Stone <jistone@redhat.com>
Date: Fri, 7 Dec 2018 13:59:03 -0800 Date: Fri, 7 Dec 2018 13:59:03 -0800
Subject: [PATCH 13/14] Set the install root in .cargo/config Subject: [PATCH 13/18] Set the install root in .cargo/config
--- ---
data/macros.cargo | 4 +++- data/macros.cargo | 4 +++-
@ -30,5 +30,5 @@ index e760721..9a9ce6a 100644
%* \ %* \
}\ }\
-- --
2.20.1 2.21.0

@ -0,0 +1,35 @@
From 7c00b0f29085166b1a89aec766945b10dc7aca23 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Sat, 1 Dec 2018 15:40:08 +0100
Subject: [PATCH 14/18] licensing: fix zlib license translation
The file was mangled, and something about "teeworlds" was inserted
into the line for zlib. The spdx database doesn't list "teeworlds
license", so let's just remove that part.
Both [1] and [2] agree that "zlib" and "zlib license" are the same thing.
[1] https://spdx.org/licenses/Zlib
[2] https://fedoraproject.org/wiki/Licensing:Main#Good_Licenses
Fixes #61.
---
rust2rpm/spdx_to_fedora.csv | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/rust2rpm/spdx_to_fedora.csv b/rust2rpm/spdx_to_fedora.csv
index 829571a..1ca5a7e 100644
--- a/rust2rpm/spdx_to_fedora.csv
+++ b/rust2rpm/spdx_to_fedora.csv
@@ -306,8 +306,7 @@ Zed License,Zed,Zed,,,
Zend License v2.0,Zend-2.0,Zend,,,
Zimbra Public License v1.3,Zimbra-1.3,,,Fedora bad list,
Zimbra Public License v1.4,Zimbra-1.4,,,not on Fedora list,
-zlib License,Zlib,"zlib
-Teeworlds",,,Teeworlds License
+zlib License,Zlib,zlib,,,
zlib/libpng License with Acknowledgement,zlib-acknowledgement,zlib with acknowledgement,,,
Zope Public License 1.1,ZPL-1.1,,,This specific version not on Fedora list,
Zope Public License 2.0,ZPL-2.0,ZPLv2.0,,,
--
2.21.0

@ -0,0 +1,31 @@
From b0d2756917b380a5d66d2407dbeb8891c51875e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Sat, 1 Dec 2018 15:46:08 +0100
Subject: [PATCH 15/18] licensing: rename EPL to EPL-1.0 and add EPL-2.0
According to https://fedoraproject.org/wiki/Licensing:Main#Software_License_List
EPL-1.0 and EPL-2.0 are the short tags that should be used now.
(C.f. https://spdx.org/licenses/EPL-2.0.html.)
Fixes #64.
---
rust2rpm/spdx_to_fedora.csv | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rust2rpm/spdx_to_fedora.csv b/rust2rpm/spdx_to_fedora.csv
index 1ca5a7e..c42e66e 100644
--- a/rust2rpm/spdx_to_fedora.csv
+++ b/rust2rpm/spdx_to_fedora.csv
@@ -112,7 +112,8 @@ DOC License,DOC,DOC,,,
Dotseqn License,Dotseqn,Dotseqn,,,
DSDP License,DSDP,DSDP,,,
dvipdfm License,dvipdfm,dvipdfm,,,
-Eclipse Public License 1.0,EPL-1.0,EPL,,,
+Eclipse Public License 1.0,EPL-1.0,EPL-1.0,,,
+Eclipse Public License 2.0,EPL-2.0,EPL-2.0,,,
Educational Community License v1.0,ECL-1.0,ECL 1.0,,,
Educational Community License v2.0,ECL-2.0,ECL 2.0,,,
eGenix.com Public License 1.1.0,eGenix,eGenix,,,
--
2.21.0

@ -1,7 +1,7 @@
From cfe4e77674ccb6e25e54a3749f4ef91b377e808f Mon Sep 17 00:00:00 2001 From 00c0c5cec90d5d6abbfd4acb2f5d65439b4bfd27 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org> From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date: Sat, 26 Jan 2019 08:33:37 +0100 Date: Sat, 26 Jan 2019 08:33:37 +0100
Subject: [PATCH 14/14] Add support for prerelease versions Subject: [PATCH 16/18] Add support for prerelease versions
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org> Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
--- ---
@ -156,5 +156,5 @@ index 30263b4..035df79 100644
def test_dependency(req, rpmdep): def test_dependency(req, rpmdep):
dep = rust2rpm.Dependency("test", req) dep = rust2rpm.Dependency("test", req)
-- --
2.20.1 2.21.0

@ -0,0 +1,31 @@
From 84a73bfa24ce11602a1f19554dc495125be4d0aa Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date: Sun, 17 Feb 2019 17:19:25 +0100
Subject: [PATCH 17/18] data: Cargo doesn't escape paths with space
When building matrixmultiply v0.2.2:
BUILDSTDERR: /usr/bin/cp: cannot stat 'spare': No such file or directory
BUILDSTDERR: /usr/bin/cp: failed to get attributes of 'kernels': No such file or directory
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
data/macros.cargo | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/data/macros.cargo b/data/macros.cargo
index 9a9ce6a..9a375d0 100644
--- a/data/macros.cargo
+++ b/data/macros.cargo
@@ -74,7 +74,7 @@ if %__cargo_is_lib; then \
CRATE_VERSION=$(%__cargo_inspector --version Cargo.toml) \
REG_DIR=%{buildroot}%{cargo_registry}/$CRATE_NAME-$CRATE_VERSION \
%{__mkdir} -p $REG_DIR \
- %{__cargo} package -l | xargs %{__cp} --parents -a -t $REG_DIR \
+ %{__cargo} package -l | xargs -d '\n' %{__cp} --parents -a -t $REG_DIR \
%if ! %{with check} \
%{__cp} -a Cargo.toml.orig $REG_DIR/Cargo.toml \
%endif \
--
2.21.0

@ -0,0 +1,66 @@
From b0f34c2b6a7b8ca5b924e5c230f1271826114cb0 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date: Sat, 9 Mar 2019 22:04:49 +0100
Subject: [PATCH 18/18] Do not pull optional dependencies
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
data/macros.cargo | 13 +++++++++++--
rust2rpm/templates/main.spec | 5 -----
2 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/data/macros.cargo b/data/macros.cargo
index 9a375d0..0e382c8 100644
--- a/data/macros.cargo
+++ b/data/macros.cargo
@@ -2,8 +2,10 @@
# https://github.com/rust-lang/cargo/issues/6397
# But we can set CARGO_HOME locally, which is a good idea anyway to make sure
# it never writes to ~/.cargo during rpmbuild.
-%__cargo %{_bindir}/env CARGO_HOME=.cargo %{_bindir}/cargo
-%__cargo_common_opts %{?_smp_mflags}
+# We also need RUSTC_BOOTSTRAP since we use -Z avoid-dev-deps
+# until it gets stabilized: https://github.com/rust-lang/cargo/issues/5133
+%__cargo %{_bindir}/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 %{_bindir}/cargo
+%__cargo_common_opts %{?_smp_mflags} -Z avoid-dev-deps
%__cargo_inspector %{_bindir}/cargo-inspector
%cargo_registry %{_datadir}/cargo/registry
@@ -74,10 +76,17 @@ if %__cargo_is_lib; then \
CRATE_VERSION=$(%__cargo_inspector --version Cargo.toml) \
REG_DIR=%{buildroot}%{cargo_registry}/$CRATE_NAME-$CRATE_VERSION \
%{__mkdir} -p $REG_DIR \
+# Drop all dependency/features information \
+# so that cargo doesn't fail resolving dependencies: \
+# https://github.com/rust-lang/cargo/pull/6729 \
+ %{__awk} -i inplace -v INPLACE_SUFFIX=.deps '/^\\\[((dev-)?dependencies|features)/{f=1;next} /^\\\[/{f=0}; !f' Cargo.toml \
%{__cargo} package -l | xargs -d '\n' %{__cp} --parents -a -t $REG_DIR \
%if ! %{with check} \
%{__cp} -a Cargo.toml.orig $REG_DIR/Cargo.toml \
+%else \
+ %{__cp} -a Cargo.toml.deps $REG_DIR/Cargo.toml \
%endif \
+ %{__rm} $REG_DIR/Cargo.toml.{orig,deps} \
echo '{"files":{},"package":""}' > $REG_DIR/.cargo-checksum.json \
fi \
if %__cargo_is_bin; then \
diff --git a/rust2rpm/templates/main.spec b/rust2rpm/templates/main.spec
index 1ebef7b..f0c5445 100644
--- a/rust2rpm/templates/main.spec
+++ b/rust2rpm/templates/main.spec
@@ -44,12 +44,7 @@ Patch0: {{ patch_file }}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
-{# We will put all non-optional and optional dependencies until
- https://github.com/rust-lang/cargo/issues/5133
- is solved
{% set buildrequires = normalize_deps(md.requires("default", resolve=True))|sort %}
-#}
-{% set buildrequires = normalize_deps(md.all_dependencies)|sort %}
{% for req in buildrequires %}
BuildRequires: {{ req }}
{% endfor %}
--
2.21.0

@ -5,7 +5,7 @@
Name: rust-packaging Name: rust-packaging
Version: 6 Version: 6
Release: 22%{?dist} Release: 23%{?dist}
Summary: RPM macros for building Rust packages on various architectures Summary: RPM macros for building Rust packages on various architectures
License: MIT License: MIT
@ -24,7 +24,12 @@ Patch0010: 0010-trivial-use-f-strings-everywhere.patch
Patch0011: 0011-Add-option-to-not-generate-a-default-changelog-entry.patch Patch0011: 0011-Add-option-to-not-generate-a-default-changelog-entry.patch
Patch0012: 0012-Set-CARGO_HOME-to-the-local-.config.patch Patch0012: 0012-Set-CARGO_HOME-to-the-local-.config.patch
Patch0013: 0013-Set-the-install-root-in-.cargo-config.patch Patch0013: 0013-Set-the-install-root-in-.cargo-config.patch
Patch0014: 0014-Add-support-for-prerelease-versions.patch Patch0014: 0014-licensing-fix-zlib-license-translation.patch
Patch0015: 0015-licensing-rename-EPL-to-EPL-1.0-and-add-EPL-2.0.patch
Patch0016: 0016-Add-support-for-prerelease-versions.patch
Patch0017: 0017-data-Cargo-doesn-t-escape-paths-with-space.patch
# https://pagure.io/fedora-rust/rust2rpm/pull-request/68<Paste>
Patch0018: 0018-Do-not-pull-optional-dependencies.patch
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
@ -85,6 +90,9 @@ py.test-%{python3_version} -vv test.py
%{python3_sitelib}/rust2rpm/ %{python3_sitelib}/rust2rpm/
%changelog %changelog
* Sun Mar 10 2019 Igor Gnatenko <ignatnekobrain@fedoraproject.org> - 6-23
- Do not pull optional deps into BRs and trivial fixes
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6-22 * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

Loading…
Cancel
Save