dcavalca pushed to rpms/rust-alsa (f38). "Convert to rpmautospec"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-08-01 04:21:04 UTC
From 3f008b6773b56dbef9affef7e00461e451a2039d Mon Sep 17 00:00:00 2001
From: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Jul 09 2021 15:43:25 +0000
Subject: 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
https://src.fedoraproject.org/rpms/rust-alsa/c/3f008b6773b56dbef9affef7e0...
9Â months, 3Â weeks
dcavalca pushed to rpms/rust-alsa (f38). "Initial import"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-08-01 04:21:04 UTC
From 1baca191dea870aa5928768d4f3a4f2f4fba91cb Mon Sep 17 00:00:00 2001
From: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Jul 08 2021 01:46:15 +0000
Subject: 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
https://src.fedoraproject.org/rpms/rust-alsa/c/1baca191dea870aa5928768d4f...
9Â months, 3Â weeks
dcavalca pushed to rpms/rust-alsa-sys (f38). "Regenerate with
rust2rpm 24; Fixes: RHBZ#2224956"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-08-01 04:20:29 UTC
From 317b902bc8450ca05cffbd59289448d70d15688f Mon Sep 17 00:00:00 2001
From: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Jul 25 2023 05:58:24 +0000
Subject: Regenerate with rust2rpm 24; Fixes: RHBZ#2224956
---
diff --git a/alsa-sys-fix-metadata.diff b/alsa-sys-fix-metadata.diff
new file mode 100644
index 0000000..4c0dfd9
--- /dev/null
+++ b/alsa-sys-fix-metadata.diff
@@ -0,0 +1,8 @@
+--- alsa-sys-0.3.1/Cargo.toml 2020-12-22T20:30:47+00:00
++++ alsa-sys-0.3.1/Cargo.toml 2023-07-25T05:54:41.960681+00:00
+@@ -27,3 +27,5 @@
+ version = "0.2.65"
+ [build-dependencies.pkg-config]
+ version = "0.3"
++[lib]
++doctest = false
diff --git a/rust-alsa-sys.spec b/rust-alsa-sys.spec
index caa8f30..d33626d 100644
--- a/rust-alsa-sys.spec
+++ b/rust-alsa-sys.spec
@@ -1,24 +1,22 @@
-# Generated by rust2rpm 20
-# Deactivate tests because of missing function
-# https://github.com/diwic/alsa-sys/issues/8
-%bcond_with check
+# Generated by rust2rpm 24
+%bcond_without check
%global debug_package %{nil}
%global crate alsa-sys
-Name: rust-%{crate}
+Name: rust-alsa-sys
Version: 0.3.1
Release: %autorelease
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}
+# Manually created patch for downstream crate metadata changes
+# * skip doctests: https://github.com/diwic/alsa-sys/commit/3a6d3b26bdc21ac74a0ba6e4a637decf...
+Patch: alsa-sys-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
FFI bindings for the ALSA project (Advanced Linux Sound Architecture).}
@@ -28,7 +26,7 @@ FFI bindings for the ALSA project (Advanced Linux Sound Architecture).}
%package devel
Summary: %{summary}
BuildArch: noarch
-Requires: alsa-lib-devel
+Requires: pkgconfig(alsa)
%description devel %{_description}
@@ -36,9 +34,9 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -50,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
@@ -58,7 +56,7 @@ use the "default" feature of the "%{crate}" crate.
%generate_buildrequires
%cargo_generate_buildrequires
-echo "alsa-lib-devel"
+echo 'pkgconfig(alsa)'
%build
%cargo_build
diff --git a/rust2rpm.conf b/rust2rpm.conf
new file mode 100644
index 0000000..579e2c7
--- /dev/null
+++ b/rust2rpm.conf
@@ -0,0 +1,5 @@
+[DEFAULT]
+buildrequires =
+ pkgconfig(alsa)
+lib.requires =
+ pkgconfig(alsa)
https://src.fedoraproject.org/rpms/rust-alsa-sys/c/317b902bc8450ca05cffbd...
9Â months, 3Â weeks
dcavalca pushed to rpms/rust-alsa-sys (f38). "Initial import"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-08-01 04:20:28 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-sys (f38). "no longer needed"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-08-01 04:20:29 UTC
From 3379a52d8fee89a319161d02f220a083adc80f4a Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe(a)gmail.com>
Date: Apr 27 2022 12:48:09 +0000
Subject: no longer needed
---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 1beb0e4..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/alsa-sys-0.3.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index a2ece2c..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-alsa-sys
-
-The rust-alsa-sys package
diff --git a/changelog b/changelog
deleted file mode 100644
index 3ce4ffb..0000000
--- a/changelog
+++ /dev/null
@@ -1,2 +0,0 @@
-* Fri Jun 25 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.3.1-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-sys.spec b/rust-alsa-sys.spec
deleted file mode 100644
index caa8f30..0000000
--- a/rust-alsa-sys.spec
+++ /dev/null
@@ -1,75 +0,0 @@
-# Generated by rust2rpm 20
-# 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: %autorelease
-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}
-
-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 the "%{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 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
-echo "alsa-lib-devel"
-
-%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 200fc19..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (alsa-sys-0.3.1.crate) = 6523d909c500fee433f934eedfdc200cfc52e1b55be09434665210c16bb9af3593d8b1346ace184b171c7135a7aa65fdac5ca8c68e64f9d20436e1d8fac961fe
https://src.fedoraproject.org/rpms/rust-alsa-sys/c/3379a52d8fee89a319161d...
9Â months, 3Â weeks
dcavalca pushed to rpms/rust-alsa-sys (f38). "Convert to rpmautospec"
by notificationsï¼ fedoraproject.org
Notification time stamped 2023-08-01 04:20:28 UTC
From c97a3b4beeabb509c6db708fab9118479d9c0803 Mon Sep 17 00:00:00 2001
From: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Jul 09 2021 15:44:53 +0000
Subject: Convert to rpmautospec
---
diff --git a/rust-alsa-sys.spec b/rust-alsa-sys.spec
index 840b151..cced985 100644
--- a/rust-alsa-sys.spec
+++ b/rust-alsa-sys.spec
@@ -8,7 +8,7 @@
Name: rust-%{crate}
Version: 0.3.1
-Release: 1%{?dist}
+Release: %autorelease
Summary: FFI bindings for the ALSA project (Advanced Linux Sound Architecture)
# Upstream license specification: MIT
@@ -75,5 +75,4 @@ echo "alsa-lib-devel"
%endif
%changelog
-* Fri Jun 25 16:32:40 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.3.1-1
-- Initial package
+%autochangelog
https://src.fedoraproject.org/rpms/rust-alsa-sys/c/c97a3b4beeabb509c6db70...
9Â months, 3Â weeks