The package rpms/rust-terminal_size.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-terminal_size.git/commit/?id....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 2b654c22f05e6b7255822910589185dd8167f455
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Wed Dec 21 15:55:23 2022 -0600
Update to 0.2.3
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index c175880..58f7b2f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/terminal_size-0.1.15.crate
/terminal_size-0.1.16.crate
/terminal_size-0.1.17.crate
+/terminal_size-0.2.3.crate
diff --git a/rust-terminal_size.spec b/rust-terminal_size.spec
index 32897d4..d91a3f0 100644
--- a/rust-terminal_size.spec
+++ b/rust-terminal_size.spec
@@ -1,28 +1,21 @@
-# Generated by rust2rpm 17
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate terminal_size
-Name: rust-%{crate}
-Version: 0.1.17
+Name: rust-terminal_size
+Version: 0.2.3
Release: %autorelease
Summary: Gets the size of your Linux or Windows terminal
-# Upstream license specification: MIT OR Apache-2.0
-License: MIT or ASL 2.0
+License: MIT OR Apache-2.0
URL:
https://crates.io/crates/terminal_size
Source: %{crates_source}
-# Initial patched metadata
-# - Remove Windows-only dependencies
-Patch0: terminal_size-fix-metadata.diff
+# Automatically generated patch to strip foreign dependencies
+Patch: terminal_size-fix-metadata-auto.diff
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Gets the size of your Linux or Windows terminal.}
@@ -35,13 +28,14 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE-APACHE LICENSE-MIT
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -49,11 +43,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
-This package contains library source intended for building other packages
-which use "default" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/sources b/sources
index 82ad4b8..44e62d3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (terminal_size-0.1.17.crate) =
96ec1bc8abd597f01ae59da567036d5d40b422764a4da662e2030c3ef4ce80a983c8b6a4ef1f34d88e649e0b1ea27b206d56a31924bcd2d31ff7e5a2e96d4201
+SHA512 (terminal_size-0.2.3.crate) =
f390c5e8ce53e0387db7c30619a107e484fa80ba4e046fb797b6006966be446d5aee5bd2179734b0684e206762fe7b19e8fe00d75853069a4bc7b9ae14f74c23
diff --git a/terminal_size-fix-metadata-auto.diff b/terminal_size-fix-metadata-auto.diff
new file mode 100644
index 0000000..bd209b2
--- /dev/null
+++ b/terminal_size-fix-metadata-auto.diff
@@ -0,0 +1,12 @@
+--- terminal_size-0.2.3/Cargo.toml 1970-01-01T00:00:01+00:00
++++ terminal_size-0.2.3/Cargo.toml 1970-01-01T00:00:01+00:00
+@@ -31,9 +31,3 @@
+ version = "0.36.3"
+ features = ["termios"]
+
+-[target."cfg(windows)".dependencies.windows-sys]
+-version = "0.42.0"
+-features = [
+- "Win32_Foundation",
+- "Win32_System_Console",
+-]
diff --git a/terminal_size-fix-metadata.diff b/terminal_size-fix-metadata.diff
deleted file mode 100644
index 50b1cd8..0000000
--- a/terminal_size-fix-metadata.diff
+++ /dev/null
@@ -1,9 +0,0 @@
---- terminal_size-0.1.17/Cargo.toml 1970-01-01T00:00:00+00:00
-+++ terminal_size-0.1.17/Cargo.toml 2021-05-16T10:29:28.968942+00:00
-@@ -22,6 +22,3 @@
- repository = "https://github.com/eminence/terminal-size"
- [target."cfg(not(windows))".dependencies.libc]
- version = "0.2"
--[target."cfg(windows)".dependencies.winapi]
--version = "0.3"
--features = ["handleapi", "processenv", "winbase",
"wincon", "winnt"]
commit 26645fc6e0995faa02cac19ef15c330926e0038c
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Wed Dec 21 15:52:31 2022 -0600
Convert to rpmautospec
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..64c650b
--- /dev/null
+++ b/changelog
@@ -0,0 +1,60 @@
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.17-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.17-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.17-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Sun May 16 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.1.17-1
+- Update to version 0.1.17.
+- Fixes RHBZ#1960805
+
+* Thu Mar 04 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.1.16-1
+- Update to version 0.1.16.
+- Fixes RHBZ#1917889
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.15-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Wed Dec 02 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.1.15-1
+- Update to version 0.1.15.
+- Fixes RHBZ#1897718
+
+* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.13-3
+- Second attempt - Rebuilt for
+
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.13-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Fri Jul 10 2020 Josh Stone <jistone(a)redhat.com> - 0.1.13-1
+- Update to 0.1.13
+
+* Wed Apr 29 2020 Josh Stone <jistone(a)redhat.com> - 0.1.12-1
+- Update to 0.1.12
+
+* Fri Mar 27 11:04:48 CET 2020 Igor Raits <ignatenkobrain(a)fedoraproject.org> -
0.1.11-1
+- Update to 0.1.11
+
+* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.10-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Sat Jan 11 17:21:23 CET 2020 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.1.10-1
+- Update to 0.1.10
+
+* Tue Jan 07 2020 Josh Stone <jistone(a)redhat.com> - 0.1.9-1
+- Update to 0.1.9
+
+* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.8-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Sat Jul 20 21:19:42 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.1.8-3
+- Regenerate
+
+* Sun Jun 09 22:06:46 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.1.8-2
+- Regenerate
+
+* Thu Apr 25 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.1.8-1
+- Initial package
diff --git a/rust-terminal_size.spec b/rust-terminal_size.spec
index 64bff2f..32897d4 100644
--- a/rust-terminal_size.spec
+++ b/rust-terminal_size.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.1.17
-Release: 4%{?dist}
+Release: %autorelease
Summary: Gets the size of your Linux or Windows terminal
# Upstream license specification: MIT OR Apache-2.0
@@ -75,63 +75,4 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
-* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.17-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.17-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.17-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Sun May 16 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.1.17-1
-- Update to version 0.1.17.
-- Fixes RHBZ#1960805
-
-* Thu Mar 04 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.1.16-1
-- Update to version 0.1.16.
-- Fixes RHBZ#1917889
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.15-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Wed Dec 02 2020 Fabio Valentini <decathorpe(a)gmail.com> - 0.1.15-1
-- Update to version 0.1.15.
-- Fixes RHBZ#1897718
-
-* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.13-3
-- Second attempt - Rebuilt for
-
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Wed Jul 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.13-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Fri Jul 10 2020 Josh Stone <jistone(a)redhat.com> - 0.1.13-1
-- Update to 0.1.13
-
-* Wed Apr 29 2020 Josh Stone <jistone(a)redhat.com> - 0.1.12-1
-- Update to 0.1.12
-
-* Fri Mar 27 11:04:48 CET 2020 Igor Raits <ignatenkobrain(a)fedoraproject.org> -
0.1.11-1
-- Update to 0.1.11
-
-* Thu Jan 30 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.10-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Sat Jan 11 17:21:23 CET 2020 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.1.10-1
-- Update to 0.1.10
-
-* Tue Jan 07 2020 Josh Stone <jistone(a)redhat.com> - 0.1.9-1
-- Update to 0.1.9
-
-* Fri Jul 26 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.8-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Sat Jul 20 21:19:42 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.1.8-3
-- Regenerate
-
-* Sun Jun 09 22:06:46 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.1.8-2
-- Regenerate
-
-* Thu Apr 25 2019 Robert-André Mauchin <zebob.m(a)gmail.com> - 0.1.8-1
-- Initial package
+%autochangelog
commit 22aafca58e1756cef4ab6c2203f4cef53a2e8f16
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 23 07:01:30 2022 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/rust-terminal_size.spec b/rust-terminal_size.spec
index d0963c3..64bff2f 100644
--- a/rust-terminal_size.spec
+++ b/rust-terminal_size.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.1.17
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Gets the size of your Linux or Windows terminal
# Upstream license specification: MIT OR Apache-2.0
@@ -75,6 +75,9 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.17-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.17-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild