The package rpms/rust-termcolor.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-termcolor.git/commit/?id=a36....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit fad1ebc11ccfa42abec44440ab3c7d5df20f391e
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Mon Jan 8 21:18:51 2018 +0100
Rebuild for rust-packaging v5
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/rust-termcolor.spec b/rust-termcolor.spec
index defcc26..ad75e49 100644
--- a/rust-termcolor.spec
+++ b/rust-termcolor.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.3.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Simple cross platform library for writing colored text to a terminal
License: Unlicense or MIT
@@ -54,6 +54,9 @@ which use %{crate} from crates.io.
%{cargo_registry}/%{crate}-%{version}/
%changelog
+* Mon Jan 08 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.3-3
+- Rebuild for rust-packaging v5
+
* Sat Oct 21 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.3-2
- Rebuild to get dependency on cargo
commit 5eeb5e7aba8c8d4b81f28157136b6935ee296755
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sat Oct 21 10:47:20 2017 +0200
Rebuild to get dependency on cargo
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/rust-termcolor.spec b/rust-termcolor.spec
index c04383b..defcc26 100644
--- a/rust-termcolor.spec
+++ b/rust-termcolor.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.3.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Simple cross platform library for writing colored text to a terminal
License: Unlicense or MIT
@@ -54,6 +54,9 @@ which use %{crate} from crates.io.
%{cargo_registry}/%{crate}-%{version}/
%changelog
+* Sat Oct 21 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.3-2
+- Rebuild to get dependency on cargo
+
* Fri Sep 22 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.3-1
- Update to 0.3.3
commit 95596865b51fa0c9e0aa4d5576125de71138285a
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Fri Sep 22 18:13:40 2017 +0200
Update to 0.3.3
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index 7bb5bfc..950d8b2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/termcolor-0.3.2.crate
+/termcolor-0.3.3.crate
diff --git a/rust-termcolor.spec b/rust-termcolor.spec
index 880886b..c04383b 100644
--- a/rust-termcolor.spec
+++ b/rust-termcolor.spec
@@ -5,8 +5,8 @@
%global crate termcolor
Name: rust-%{crate}
-Version: 0.3.2
-Release: 2%{?dist}
+Version: 0.3.3
+Release: 1%{?dist}
Summary: Simple cross platform library for writing colored text to a terminal
License: Unlicense or MIT
@@ -14,7 +14,7 @@ URL:
https://crates.io/crates/termcolor
Source0:
https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
# Initial patched metadata
# * No windows
-Patch0: termcolor-0.3.2-fix-metadata.diff
+Patch0: termcolor-0.3.3-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@@ -54,6 +54,9 @@ which use %{crate} from crates.io.
%{cargo_registry}/%{crate}-%{version}/
%changelog
+* Fri Sep 22 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.3-1
+- Update to 0.3.3
+
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.2-2
- Port to use rust-packaging
diff --git a/sources b/sources
index 70def03..b3808ad 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (termcolor-0.3.2.crate) =
bbbf32ebc2970e5d59aa97a9dd3a6c3717564f7397e6c11b7e17c638239b2cc0cce75a48d1472571c651ca57eea34af4750f44ccaf08d0b922229a6baadb7f13
+SHA512 (termcolor-0.3.3.crate) =
1f62c970a2592777b5399940a7a2864155ec5641f2150e9a59715be0e58ee8573961fd73e44134f7e516e38abdfa569ede09a93c8551943fb10c5dfc11d7937e
diff --git a/termcolor-0.3.2-fix-metadata.diff b/termcolor-0.3.2-fix-metadata.diff
deleted file mode 100644
index 6e11619..0000000
--- a/termcolor-0.3.2-fix-metadata.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- termcolor-0.3.2/Cargo.toml 2017-03-15T11:58:09+01:00
-+++ termcolor-0.3.2/Cargo.toml 2017-03-15T12:04:53.378582+01:00
-@@ -15,6 +15,3 @@
- [lib]
- name = "termcolor"
- bench = false
--
--[target.'cfg(windows)'.dependencies]
--wincolor = { version = "0.1.3", path = "../wincolor" }
diff --git a/termcolor-0.3.3-fix-metadata.diff b/termcolor-0.3.3-fix-metadata.diff
new file mode 100644
index 0000000..a2a5737
--- /dev/null
+++ b/termcolor-0.3.3-fix-metadata.diff
@@ -0,0 +1,8 @@
+--- termcolor-0.3.3/Cargo.toml 1970-01-01T01:00:00+01:00
++++ termcolor-0.3.3/Cargo.toml 2017-09-22T18:12:29.272233+02:00
+@@ -25,5 +25,3 @@
+ [lib]
+ name = "termcolor"
+ bench = false
+-[target."cfg(windows)".dependencies.wincolor]
+-version = "0.1.3"
commit a36940e8ab3ea0640963afb36aa789b00a0db83c
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Fri Sep 22 18:08:40 2017 +0200
initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7bb5bfc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/termcolor-0.3.2.crate
diff --git a/rust-termcolor.spec b/rust-termcolor.spec
new file mode 100644
index 0000000..880886b
--- /dev/null
+++ b/rust-termcolor.spec
@@ -0,0 +1,70 @@
+# Generated by rust2rpm
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate termcolor
+
+Name: rust-%{crate}
+Version: 0.3.2
+Release: 2%{?dist}
+Summary: Simple cross platform library for writing colored text to a terminal
+
+License: Unlicense or MIT
+URL:
https://crates.io/crates/termcolor
+Source0:
https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
+# Initial patched metadata
+# * No windows
+Patch0: termcolor-0.3.2-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%description
+%{summary}.
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel
+A simple cross platform library for writing colored text to a terminal.
+
+This package contains library source intended for building other packages
+which use %{crate} from crates.io.
+
+%prep
+%autosetup -n %{crate}-%{version} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%files devel
+%license COPYING UNLICENSE LICENSE-MIT
+%doc README.md
+%{cargo_registry}/%{crate}-%{version}/
+
+%changelog
+* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.2-2
+- Port to use rust-packaging
+
+* Wed Mar 15 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.2-1
+- Update to 0.3.2
+
+* Wed Mar 15 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.1-1
+- Update to 0.3.1
+
+* Sun Feb 26 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.3.0-1
+- Update to 0.3.0
+
+* Sat Feb 18 2017 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.2.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..70def03
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (termcolor-0.3.2.crate) =
bbbf32ebc2970e5d59aa97a9dd3a6c3717564f7397e6c11b7e17c638239b2cc0cce75a48d1472571c651ca57eea34af4750f44ccaf08d0b922229a6baadb7f13
diff --git a/termcolor-0.3.2-fix-metadata.diff b/termcolor-0.3.2-fix-metadata.diff
new file mode 100644
index 0000000..6e11619
--- /dev/null
+++ b/termcolor-0.3.2-fix-metadata.diff
@@ -0,0 +1,9 @@
+--- termcolor-0.3.2/Cargo.toml 2017-03-15T11:58:09+01:00
++++ termcolor-0.3.2/Cargo.toml 2017-03-15T12:04:53.378582+01:00
+@@ -15,6 +15,3 @@
+ [lib]
+ name = "termcolor"
+ bench = false
+-
+-[target.'cfg(windows)'.dependencies]
+-wincolor = { version = "0.1.3", path = "../wincolor" }