dcavalca pushed to rpms/rust-alsa-sys (f37). "Initial import"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-08-01 04:34:59 UTC
From d0ded8fe03036046f2a5ecf0502fc6b229a2b34f Mon Sep 17 00:00:00 2001
From: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Jul 08 2021 00:11:32 +0000
Subject: Initial import
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1beb0e4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/alsa-sys-0.3.1.crate
diff --git a/rust-alsa-sys.spec b/rust-alsa-sys.spec
new file mode 100644
index 0000000..840b151
--- /dev/null
+++ b/rust-alsa-sys.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm 17
+# Deactivate tests because of missing function
+# https://github.com/diwic/alsa-sys/issues/8
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate alsa-sys
+
+Name: rust-%{crate}
+Version: 0.3.1
+Release: 1%{?dist}
+Summary: FFI bindings for the ALSA project (Advanced Linux Sound Architecture)
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/alsa-sys
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+FFI bindings for the ALSA project (Advanced Linux Sound Architecture).}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: alsa-lib-devel
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%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
+echo "alsa-lib-devel"
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Fri Jun 25 16:32:40 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.3.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..200fc19
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (alsa-sys-0.3.1.crate) = 6523d909c500fee433f934eedfdc200cfc52e1b55be09434665210c16bb9af3593d8b1346ace184b171c7135a7aa65fdac5ca8c68e64f9d20436e1d8fac961fe
https://src.fedoraproject.org/rpms/rust-alsa-sys/c/d0ded8fe03036046f2a5ec...
9Â months, 3Â weeks
dcavalca pushed to rpms/rust-alsa (f38). "Update to 0.7.1; Fixes:
RHBZ#2224957"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-08-01 04:21:05 UTC
From 7a39936706dcf1df820c35db8f365b8adad6af6b Mon Sep 17 00:00:00 2001
From: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Jul 31 2023 16:39:54 +0000
Subject: 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
https://src.fedoraproject.org/rpms/rust-alsa/c/7a39936706dcf1df820c35db8f...
9Â months, 3Â weeks
dcavalca pushed to rpms/rust-alsa (f38). "Update to version 0.6.0;
Fixes RHBZ#2018041"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-08-01 04:21:04 UTC
From 29322f66b84018bbba13e43ab93d6c20d39e10ad Mon Sep 17 00:00:00 2001
From: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Nov 03 2021 22:51:09 +0000
Subject: 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
https://src.fedoraproject.org/rpms/rust-alsa/c/29322f66b84018bbba13e43ab9...
9Â months, 3Â weeks
dcavalca pushed to rpms/rust-alsa (f38). "Downgrade nix to version 0.22"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-08-01 04:21:04 UTC
From b1f7a7b045c19e84273616281296e3a5e453d964 Mon Sep 17 00:00:00 2001
From: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Nov 03 2021 23:24:31 +0000
Subject: 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}
https://src.fedoraproject.org/rpms/rust-alsa/c/b1f7a7b045c19e842736162812...
9Â months, 3Â weeks
dcavalca pushed to rpms/rust-alsa (f38). "Unretirement request:
https://pagure.io/releng/issue/11570"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-08-01 04:21:05 UTC
From 4c3531c59ed89b3b7db54a16efe3f64639e72fe5 Mon Sep 17 00:00:00 2001
From: Tomas Hrcka <thrcka(a)redhat.com>
Date: Jul 31 2023 08:50:31 +0000
Subject: 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
https://src.fedoraproject.org/rpms/rust-alsa/c/4c3531c59ed89b3b7db54a16ef...
9Â months, 3Â weeks
dcavalca pushed to rpms/rust-alsa (f38). "Update for rust2rpm 20 and
remove nix downgrade"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-08-01 04:21:05 UTC
From ca7152b7d8fad1da649abe057be86c2e9cb80ecb Mon Sep 17 00:00:00 2001
From: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Jan 28 2022 05:50:31 +0000
Subject: 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
https://src.fedoraproject.org/rpms/rust-alsa/c/ca7152b7d8fad1da649abe057b...
9Â months, 3Â weeks
dcavalca pushed to rpms/rust-alsa (f38). "no longer needed"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-08-01 04:21:05 UTC
From 1bcf6eff1e4732700e96999febf8084dd1c34af0 Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe(a)gmail.com>
Date: Apr 26 2022 17:44:07 +0000
Subject: 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
https://src.fedoraproject.org/rpms/rust-alsa/c/1bcf6eff1e4732700e96999feb...
9Â months, 3Â weeks