The package rpms/rust-time0.1.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-time0.1.git/commit/?id=fe8c7....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit fe8c7e4fb7a0f14bd790d9f36fc943a875caf868
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Dec 23 23:36:59 2022 +0100
Update to version 0.1.45
diff --git a/.gitignore b/.gitignore
index 8607bc1..d05c573 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/time-0.1.42.crate
/time-0.1.43.crate
/time-0.1.44.crate
+/time-0.1.45.crate
diff --git a/rust-time0.1.spec b/rust-time0.1.spec
index 82e2ffb..acdbc1d 100644
--- a/rust-time0.1.spec
+++ b/rust-time0.1.spec
@@ -1,28 +1,25 @@
-# Generated by rust2rpm 13
-%bcond_with check
+# Generated by rust2rpm 23
+%bcond_without check
%global debug_package %{nil}
%global crate time
-Name: rust-%{crate}0.1
-Version: 0.1.44
+Name: rust-time0.1
+Version: 0.1.45
Release: %autorelease
Summary: Utilities for working with time-related functions in Rust
# Upstream license specification: MIT/Apache-2.0
-License: MIT or ASL 2.0
+License: MIT OR Apache-2.0
URL:
https://crates.io/crates/time
Source: %{crates_source}
-# Initial patched metadata
-# * No windows/redox
-Patch0: time-fix-metadata.diff
+# Automatically generated patch to strip foreign dependencies
+Patch: time-fix-metadata-auto.diff
+# Manually created patch for downstream crate metadata changes
+# * disable windows-specific dev-dependencies
+Patch: time-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Utilities for working with time-related functions in Rust.}
@@ -35,13 +32,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-MIT LICENSE-APACHE
-%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 +47,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
%package -n %{name}+rustc-serialize-devel
Summary: %{summary}
@@ -61,11 +59,11 @@ BuildArch: noarch
%description -n %{name}+rustc-serialize-devel %{_description}
-This package contains library source intended for building other packages
-which use "rustc-serialize" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "rustc-serialize" feature of the "%{crate}" crate.
%files -n %{name}+rustc-serialize-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 fe4c235..45f96c3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (time-0.1.44.crate) =
736a38637be0193a06fa35d42b4873b04a0a35d84cd2af85b7f653a1b67b95078577134bb187b777730e73cce67f437b45ff5c72b8e3f1f8e2ed3420ea0324cf
+SHA512 (time-0.1.45.crate) =
e643fb8649f3efdaa1b0b6abc6a140d55ac550a55cad99d0cce9415dc51e155fb1ea240953eeaba5dc47ec73c49ab7f2962af79c693436289de0eb3ff60985ee
diff --git a/time-fix-metadata-auto.diff b/time-fix-metadata-auto.diff
new file mode 100644
index 0000000..e7a00c0
--- /dev/null
+++ b/time-fix-metadata-auto.diff
@@ -0,0 +1,20 @@
+--- time-0.1.45/Cargo.toml 1970-01-01T00:00:01+00:00
++++ time-0.1.45/Cargo.toml 1970-01-01T00:00:01+00:00
+@@ -44,17 +44,3 @@
+ "winbase",
+ ]
+
+-[target."cfg(target_os = \"wasi\")".dependencies.wasi]
+-version = "=0.10.0"
+-
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3.0"
+-features = [
+- "std",
+- "minwinbase",
+- "minwindef",
+- "ntdef",
+- "profileapi",
+- "sysinfoapi",
+- "timezoneapi",
+-]
diff --git a/time-fix-metadata.diff b/time-fix-metadata.diff
index 9026a25..e3bdefe 100644
--- a/time-fix-metadata.diff
+++ b/time-fix-metadata.diff
@@ -1,15 +1,15 @@
---- time-0.1.44/Cargo.toml 2020-08-26T20:49:45+00:00
-+++ time-0.1.44/Cargo.toml 2020-09-01T03:05:46.576294+00:00
-@@ -29,12 +29,3 @@
- optional = true
+--- time-0.1.45/Cargo.toml 1970-01-01T00:00:01+00:00
++++ time-0.1.45/Cargo.toml 2022-12-23T22:29:19.302372+00:00
+@@ -35,12 +35,3 @@
+
[dev-dependencies.log]
version = "0.4"
-
-[dev-dependencies.winapi]
-version = "0.3.0"
--features = ["std", "processthreadsapi", "winbase"]
--[target."cfg(target_os = \"wasi\")".dependencies.wasi]
--version = "=0.10.0"
--[target."cfg(windows)".dependencies.winapi]
--version = "0.3.0"
--features = ["std", "minwinbase", "minwindef",
"ntdef", "profileapi", "sysinfoapi",
"timezoneapi"]
+-features = [
+- "std",
+- "processthreadsapi",
+- "winbase",
+-]
+-
commit 401ece7cce4d672241c498fd0be41c0b7d8954f5
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Dec 23 23:28:50 2022 +0100
Convert to rpmautospec
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..e908d5d
--- /dev/null
+++ b/changelog
@@ -0,0 +1,30 @@
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.44-5
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.44-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.44-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.44-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Tue Sep 01 2020 Josh Stone <jistone(a)redhat.com> - 0.1.44-1
+- Update to 0.1.44
+
+* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.43-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.43-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Tue Apr 21 2020 Josh Stone <jistone(a)redhat.com> - 0.1.43-1
+- Update to 0.1.43
+
+* Tue Feb 18 04:00:23 CET 2020 Igor Raits <ignatenkobrain(a)fedoraproject.org> -
0.1.42-2
+- Disable tests
+
+* Mon Jan 27 2020 Josh Stone <jistone(a)redhat.com> - 0.1.42-1
+- Initial package
diff --git a/rust-time0.1.spec b/rust-time0.1.spec
index 6c0e1e5..82e2ffb 100644
--- a/rust-time0.1.spec
+++ b/rust-time0.1.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}0.1
Version: 0.1.44
-Release: 5%{?dist}
+Release: %autorelease
Summary: Utilities for working with time-related functions in Rust
# Upstream license specification: MIT/Apache-2.0
@@ -86,33 +86,4 @@ which use "rustc-serialize" feature of "%{crate}"
crate.
%endif
%changelog
-* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.44-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.44-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.44-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.44-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Tue Sep 01 2020 Josh Stone <jistone(a)redhat.com> - 0.1.44-1
-- Update to 0.1.44
-
-* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.43-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.43-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Tue Apr 21 2020 Josh Stone <jistone(a)redhat.com> - 0.1.43-1
-- Update to 0.1.43
-
-* Tue Feb 18 04:00:23 CET 2020 Igor Raits <ignatenkobrain(a)fedoraproject.org> -
0.1.42-2
-- Disable tests
-
-* Mon Jan 27 2020 Josh Stone <jistone(a)redhat.com> - 0.1.42-1
-- Initial package
+%autochangelog