The package rpms/rust-alsa.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-alsa.git/commit/?id=7a399367...
https://src.fedoraproject.org/cgit/rpms/rust-alsa.git/commit/?id=4c3531c5...
https://src.fedoraproject.org/cgit/rpms/rust-alsa.git/commit/?id=1bcf6eff...
https://src.fedoraproject.org/cgit/rpms/rust-alsa.git/commit/?id=1baca191....
Change:
-ExclusiveArch: %{rust_arches}
+ExclusiveArch: %{rust_arches}
-ExclusiveArch: %{rust_arches}
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 7a39936706dcf1df820c35db8f365b8adad6af6b
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Jul 31 09:39:54 2023 -0700
Update to 0.7.1; Fixes: RHBZ#2224957
diff --git a/.gitignore b/.gitignore
index 513ada4..5821398 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/alsa-0.5.0.crate
/alsa-0.6.0.crate
+/alsa-0.7.1.crate
diff --git a/rust-alsa.spec b/rust-alsa.spec
index ec5eb01..e0509ef 100644
--- a/rust-alsa.spec
+++ b/rust-alsa.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 24
# Deactivate tests because they need a sound card
#
https://github.com/diwic/alsa-rs/issues/71
%bcond_with check
@@ -6,19 +6,17 @@
%global crate alsa
-Name: rust-%{crate}
-Version: 0.6.0
+Name: rust-alsa
+Version: 0.7.1
Release: %autorelease
Summary: Thin but safe wrappers for ALSA (Linux sound API)
# Upstream license specification: Apache-2.0/MIT
-License: ASL 2.0 or MIT
+License: Apache-2.0 OR MIT
URL:
https://crates.io/crates/alsa
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Thin but safe wrappers for ALSA (Linux sound API).}
@@ -35,9 +33,10 @@ 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,7 +48,7 @@ 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 1d9b043..4908085 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (alsa-0.6.0.crate) =
a63354da0e643a68e28e32293d48f866c071332b1d17cf8349a79f28e45d6b9566d22f30c3001a862ea26c2b757aa9440b3f52c826a40b29c7881d12416f599b
+SHA512 (alsa-0.7.1.crate) =
b94d9a1aef0becf2324cdcd6d20fc7542a017d746e73bad981e0ddcf300e43db5ea5e907487387028439d66871c7d9a05349d0f9ef0d50ed2a43b05cbeb990ee
commit 4c3531c59ed89b3b7db54a16efe3f64639e72fe5
Author: Tomas Hrcka <thrcka(a)redhat.com>
Date: Mon Jul 31 10:50:31 2023 +0200
Unretirement request:
https://pagure.io/releng/issue/11570
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..513ada4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/alsa-0.5.0.crate
+/alsa-0.6.0.crate
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..04e2194
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# rust-alsa
+
+The rust-alsa package
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..09eda99
--- /dev/null
+++ b/changelog
@@ -0,0 +1,2 @@
+* Fri Jun 25 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.5.0-1
+- Initial package
diff --git a/dead.package b/dead.package
deleted file mode 100644
index c7912ba..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-no longer needed
diff --git a/rust-alsa.spec b/rust-alsa.spec
new file mode 100644
index 0000000..ec5eb01
--- /dev/null
+++ b/rust-alsa.spec
@@ -0,0 +1,73 @@
+# Generated by rust2rpm 20
+# Deactivate tests because they need a sound card
+#
https://github.com/diwic/alsa-rs/issues/71
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate alsa
+
+Name: rust-%{crate}
+Version: 0.6.0
+Release: %autorelease
+Summary: Thin but safe wrappers for ALSA (Linux sound API)
+
+# Upstream license specification: Apache-2.0/MIT
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/alsa
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Thin but safe wrappers for ALSA (Linux sound API).}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+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}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+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
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..1d9b043
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (alsa-0.6.0.crate) =
a63354da0e643a68e28e32293d48f866c071332b1d17cf8349a79f28e45d6b9566d22f30c3001a862ea26c2b757aa9440b3f52c826a40b29c7881d12416f599b
commit 1bcf6eff1e4732700e96999febf8084dd1c34af0
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue Apr 26 19:44:07 2022 +0200
no longer needed
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 513ada4..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/alsa-0.5.0.crate
-/alsa-0.6.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 04e2194..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-alsa
-
-The rust-alsa package
diff --git a/changelog b/changelog
deleted file mode 100644
index 09eda99..0000000
--- a/changelog
+++ /dev/null
@@ -1,2 +0,0 @@
-* Fri Jun 25 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.5.0-1
-- Initial package
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..c7912ba
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+no longer needed
diff --git a/rust-alsa.spec b/rust-alsa.spec
deleted file mode 100644
index ec5eb01..0000000
--- a/rust-alsa.spec
+++ /dev/null
@@ -1,73 +0,0 @@
-# Generated by rust2rpm 20
-# Deactivate tests because they need a sound card
-#
https://github.com/diwic/alsa-rs/issues/71
-%bcond_with check
-%global debug_package %{nil}
-
-%global crate alsa
-
-Name: rust-%{crate}
-Version: 0.6.0
-Release: %autorelease
-Summary: Thin but safe wrappers for ALSA (Linux sound API)
-
-# Upstream license specification: Apache-2.0/MIT
-License: ASL 2.0 or MIT
-URL:
https://crates.io/crates/alsa
-Source: %{crates_source}
-
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
-
-%global _description %{expand:
-Thin but safe wrappers for ALSA (Linux sound API).}
-
-%description %{_description}
-
-%package devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description devel %{_description}
-
-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}/
-
-%package -n %{name}+default-devel
-Summary: %{summary}
-BuildArch: noarch
-
-%description -n %{name}+default-devel %{_description}
-
-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
-
-%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
-%cargo_prep
-
-%generate_buildrequires
-%cargo_generate_buildrequires
-
-%build
-%cargo_build
-
-%install
-%cargo_install
-
-%if %{with check}
-%check
-%cargo_test
-%endif
-
-%changelog
-%autochangelog
diff --git a/sources b/sources
deleted file mode 100644
index 1d9b043..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (alsa-0.6.0.crate) =
a63354da0e643a68e28e32293d48f866c071332b1d17cf8349a79f28e45d6b9566d22f30c3001a862ea26c2b757aa9440b3f52c826a40b29c7881d12416f599b
commit ca7152b7d8fad1da649abe057be86c2e9cb80ecb
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Fri Jan 28 00:50:31 2022 -0500
Update for rust2rpm 20 and remove nix downgrade
diff --git a/alsa-fix-metadata.diff b/alsa-fix-metadata.diff
deleted file mode 100644
index e9cab9c..0000000
--- a/alsa-fix-metadata.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- alsa-0.6.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ alsa-0.6.0/Cargo.toml 2021-11-03T23:18:25.317265+00:00
-@@ -33,7 +33,7 @@
- version = "0.2.105"
-
- [dependencies.nix]
--version = "0.23"
-+version = "0.22"
- [badges.is-it-maintained-issue-resolution]
- repository = "diwic/alsa-rs"
-
diff --git a/rust-alsa.spec b/rust-alsa.spec
index 6796cc9..ec5eb01 100644
--- a/rust-alsa.spec
+++ b/rust-alsa.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 20
# Deactivate tests because they need a sound card
#
https://github.com/diwic/alsa-rs/issues/71
%bcond_with check
@@ -15,14 +15,8 @@ Summary: Thin but safe wrappers for ALSA (Linux sound API)
License: ASL 2.0 or MIT
URL:
https://crates.io/crates/alsa
Source: %{crates_source}
-# Initial patched metadata
-# Downgrade nix to version 0.22
-Patch0: alsa-fix-metadata.diff
ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
BuildRequires: rust-packaging
@@ -37,11 +31,11 @@ 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
+%license LICENSE-APACHE LICENSE-MIT
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
@@ -51,8 +45,8 @@ 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
commit 50241d2ab30d6afa174e16f56e98bef08b247b1f
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 21 19:37:50 2022 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit b1f7a7b045c19e84273616281296e3a5e453d964
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Wed Nov 3 19:24:31 2021 -0400
Downgrade nix to version 0.22
diff --git a/alsa-fix-metadata.diff b/alsa-fix-metadata.diff
new file mode 100644
index 0000000..e9cab9c
--- /dev/null
+++ b/alsa-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- alsa-0.6.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ alsa-0.6.0/Cargo.toml 2021-11-03T23:18:25.317265+00:00
+@@ -33,7 +33,7 @@
+ version = "0.2.105"
+
+ [dependencies.nix]
+-version = "0.23"
++version = "0.22"
+ [badges.is-it-maintained-issue-resolution]
+ repository = "diwic/alsa-rs"
+
diff --git a/rust-alsa.spec b/rust-alsa.spec
index 90b0642..6796cc9 100644
--- a/rust-alsa.spec
+++ b/rust-alsa.spec
@@ -15,6 +15,9 @@ Summary: Thin but safe wrappers for ALSA (Linux sound API)
License: ASL 2.0 or MIT
URL:
https://crates.io/crates/alsa
Source: %{crates_source}
+# Initial patched metadata
+# Downgrade nix to version 0.22
+Patch0: alsa-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
commit 29322f66b84018bbba13e43ab93d6c20d39e10ad
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Wed Nov 3 18:51:09 2021 -0400
Update to version 0.6.0; Fixes RHBZ#2018041
diff --git a/.gitignore b/.gitignore
index 038ae35..513ada4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/alsa-0.5.0.crate
+/alsa-0.6.0.crate
diff --git a/rust-alsa.spec b/rust-alsa.spec
index 88e9e84..90b0642 100644
--- a/rust-alsa.spec
+++ b/rust-alsa.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 17
+# Generated by rust2rpm 18
# Deactivate tests because they need a sound card
#
https://github.com/diwic/alsa-rs/issues/71
%bcond_with check
@@ -7,12 +7,11 @@
%global crate alsa
Name: rust-%{crate}
-Version: 0.5.0
+Version: 0.6.0
Release: %autorelease
Summary: Thin but safe wrappers for ALSA (Linux sound API)
# Upstream license specification: Apache-2.0/MIT
-#
https://github.com/diwic/alsa-rs/issues/70
License: ASL 2.0 or MIT
URL:
https://crates.io/crates/alsa
Source: %{crates_source}
@@ -39,6 +38,7 @@ This package contains library source intended for building other
packages
which use "%{crate}" crate.
%files devel
+%license LICENSE-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
diff --git a/sources b/sources
index 5909767..1d9b043 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (alsa-0.5.0.crate) =
95a57749b1c21418fe86c61b69a4fea73b0f43d42312ae6bb66ec4fe5bc8a255fd6adcfad5037b8b49361d62a1ae9efba03201daa17f2e05f0589beb66bc0160
+SHA512 (alsa-0.6.0.crate) =
a63354da0e643a68e28e32293d48f866c071332b1d17cf8349a79f28e45d6b9566d22f30c3001a862ea26c2b757aa9440b3f52c826a40b29c7881d12416f599b
commit c9529545d43eb1b96d3bf83c0e39df1f27ad3948
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 23 13:04:37 2021 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 907864f1c4da55d125824b83642397bb914e9350
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Fri Jul 9 11:54:53 2021 -0400
Add changelog
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..09eda99
--- /dev/null
+++ b/changelog
@@ -0,0 +1,2 @@
+* Fri Jun 25 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.5.0-1
+- Initial package
commit 3f008b6773b56dbef9affef7e00461e451a2039d
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Fri Jul 9 11:43:25 2021 -0400
Convert to rpmautospec
diff --git a/rust-alsa.spec b/rust-alsa.spec
index cd578d6..88e9e84 100644
--- a/rust-alsa.spec
+++ b/rust-alsa.spec
@@ -8,7 +8,7 @@
Name: rust-%{crate}
Version: 0.5.0
-Release: 1%{?dist}
+Release: %autorelease
Summary: Thin but safe wrappers for ALSA (Linux sound API)
# Upstream license specification: Apache-2.0/MIT
@@ -73,5 +73,4 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
-* Fri Jun 25 16:24:20 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.5.0-1
-- Initial package
+%autochangelog
commit 1baca191dea870aa5928768d4f3a4f2f4fba91cb
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Wed Jul 7 21:46:15 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..038ae35
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/alsa-0.5.0.crate
diff --git a/rust-alsa.spec b/rust-alsa.spec
new file mode 100644
index 0000000..cd578d6
--- /dev/null
+++ b/rust-alsa.spec
@@ -0,0 +1,77 @@
+# Generated by rust2rpm 17
+# Deactivate tests because they need a sound card
+#
https://github.com/diwic/alsa-rs/issues/71
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate alsa
+
+Name: rust-%{crate}
+Version: 0.5.0
+Release: 1%{?dist}
+Summary: Thin but safe wrappers for ALSA (Linux sound API)
+
+# Upstream license specification: Apache-2.0/MIT
+#
https://github.com/diwic/alsa-rs/issues/70
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/alsa
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Thin but safe wrappers for ALSA (Linux sound API).}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+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.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Fri Jun 25 16:24:20 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.5.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..5909767
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (alsa-0.5.0.crate) =
95a57749b1c21418fe86c61b69a4fea73b0f43d42312ae6bb66ec4fe5bc8a255fd6adcfad5037b8b49361d62a1ae9efba03201daa17f2e05f0589beb66bc0160