Architecture specific change in rpms/rust-alsa-sys.git
by githook-noreply@fedoraproject.org
The package rpms/rust-alsa-sys.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-sys.git/commit/?id=317b...
https://src.fedoraproject.org/cgit/rpms/rust-alsa-sys.git/commit/?id=f220...
https://src.fedoraproject.org/cgit/rpms/rust-alsa-sys.git/commit/?id=3379...
https://src.fedoraproject.org/cgit/rpms/rust-alsa-sys.git/commit/?id=d0de....
Change:
-ExclusiveArch: %{rust_arches}
+ExclusiveArch: %{rust_arches}
-ExclusiveArch: %{rust_arches}
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 317b902bc8450ca05cffbd59289448d70d15688f
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Jul 24 22:58:24 2023 -0700
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)
commit f2200892f4b824ac232a497bf060717d322e4349
Author: Tomas Hrcka <thrcka(a)redhat.com>
Date: Tue Jul 25 07:44:30 2023 +0200
Unretirement request: https://pagure.io/releng/issue/11563
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/README.md b/README.md
new file mode 100644
index 0000000..a2ece2c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# rust-alsa-sys
+
+The rust-alsa-sys package
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..3ce4ffb
--- /dev/null
+++ b/changelog
@@ -0,0 +1,2 @@
+* 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
deleted file mode 100644
index c7912ba..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-no longer needed
diff --git a/rust-alsa-sys.spec b/rust-alsa-sys.spec
new file mode 100644
index 0000000..caa8f30
--- /dev/null
+++ b/rust-alsa-sys.spec
@@ -0,0 +1,75 @@
+# 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
new file mode 100644
index 0000000..200fc19
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (alsa-sys-0.3.1.crate) = 6523d909c500fee433f934eedfdc200cfc52e1b55be09434665210c16bb9af3593d8b1346ace184b171c7135a7aa65fdac5ca8c68e64f9d20436e1d8fac961fe
commit 3379a52d8fee89a319161d02f220a083adc80f4a
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Apr 27 14:48:09 2022 +0200
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
commit 76840d7a7c86f492e39fbb84b08c6b6a41a95a95
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Fri Jan 28 00:25:30 2022 -0500
Update to rust2rpm 20
diff --git a/rust-alsa-sys.spec b/rust-alsa-sys.spec
index cced985..caa8f30 100644
--- a/rust-alsa-sys.spec
+++ b/rust-alsa-sys.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 17
+# Generated by rust2rpm 20
# Deactivate tests because of missing function
# https://github.com/diwic/alsa-sys/issues/8
%bcond_with check
@@ -17,9 +17,6 @@ URL: https://crates.io/crates/alsa-sys
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
BuildRequires: rust-packaging
@@ -35,8 +32,8 @@ Requires: alsa-lib-devel
%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
@@ -49,8 +46,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 9d56507b8d6d81a7f3a17c4478d2d3e05854ba50
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 21 19:37:59 2022 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 9ce317961f8be1adc03d1a8b23874efdfd400280
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 23 13:04:46 2021 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit d4bdf44f60427c418bd217f689ac0b555879fdff
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Fri Jul 9 11:56:18 2021 -0400
Add changelog
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..3ce4ffb
--- /dev/null
+++ b/changelog
@@ -0,0 +1,2 @@
+* Fri Jun 25 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.3.1-1
+- Initial package
commit c97a3b4beeabb509c6db708fab9118479d9c0803
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Fri Jul 9 11:44:53 2021 -0400
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
commit d0ded8fe03036046f2a5ecf0502fc6b229a2b34f
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Wed Jul 7 20:11:32 2021 -0400
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
9 months, 1 week
Architecture specific change in rpms/rust-alsa.git
by githook-noreply@fedoraproject.org
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
9 months, 1 week
Architecture specific change in rpms/rust-alsa-sys.git
by githook-noreply@fedoraproject.org
The package rpms/rust-alsa-sys.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-sys.git/commit/?id=317b...
https://src.fedoraproject.org/cgit/rpms/rust-alsa-sys.git/commit/?id=f220...
https://src.fedoraproject.org/cgit/rpms/rust-alsa-sys.git/commit/?id=3379...
https://src.fedoraproject.org/cgit/rpms/rust-alsa-sys.git/commit/?id=d0de....
Change:
-ExclusiveArch: %{rust_arches}
+ExclusiveArch: %{rust_arches}
-ExclusiveArch: %{rust_arches}
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 317b902bc8450ca05cffbd59289448d70d15688f
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Jul 24 22:58:24 2023 -0700
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)
commit f2200892f4b824ac232a497bf060717d322e4349
Author: Tomas Hrcka <thrcka(a)redhat.com>
Date: Tue Jul 25 07:44:30 2023 +0200
Unretirement request: https://pagure.io/releng/issue/11563
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/README.md b/README.md
new file mode 100644
index 0000000..a2ece2c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# rust-alsa-sys
+
+The rust-alsa-sys package
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..3ce4ffb
--- /dev/null
+++ b/changelog
@@ -0,0 +1,2 @@
+* 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
deleted file mode 100644
index c7912ba..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-no longer needed
diff --git a/rust-alsa-sys.spec b/rust-alsa-sys.spec
new file mode 100644
index 0000000..caa8f30
--- /dev/null
+++ b/rust-alsa-sys.spec
@@ -0,0 +1,75 @@
+# 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
new file mode 100644
index 0000000..200fc19
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (alsa-sys-0.3.1.crate) = 6523d909c500fee433f934eedfdc200cfc52e1b55be09434665210c16bb9af3593d8b1346ace184b171c7135a7aa65fdac5ca8c68e64f9d20436e1d8fac961fe
commit 3379a52d8fee89a319161d02f220a083adc80f4a
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Apr 27 14:48:09 2022 +0200
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
commit 76840d7a7c86f492e39fbb84b08c6b6a41a95a95
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Fri Jan 28 00:25:30 2022 -0500
Update to rust2rpm 20
diff --git a/rust-alsa-sys.spec b/rust-alsa-sys.spec
index cced985..caa8f30 100644
--- a/rust-alsa-sys.spec
+++ b/rust-alsa-sys.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 17
+# Generated by rust2rpm 20
# Deactivate tests because of missing function
# https://github.com/diwic/alsa-sys/issues/8
%bcond_with check
@@ -17,9 +17,6 @@ URL: https://crates.io/crates/alsa-sys
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
BuildRequires: rust-packaging
@@ -35,8 +32,8 @@ Requires: alsa-lib-devel
%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
@@ -49,8 +46,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 9d56507b8d6d81a7f3a17c4478d2d3e05854ba50
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 21 19:37:59 2022 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 9ce317961f8be1adc03d1a8b23874efdfd400280
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 23 13:04:46 2021 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit d4bdf44f60427c418bd217f689ac0b555879fdff
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Fri Jul 9 11:56:18 2021 -0400
Add changelog
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..3ce4ffb
--- /dev/null
+++ b/changelog
@@ -0,0 +1,2 @@
+* Fri Jun 25 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.3.1-1
+- Initial package
commit c97a3b4beeabb509c6db708fab9118479d9c0803
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Fri Jul 9 11:44:53 2021 -0400
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
commit d0ded8fe03036046f2a5ecf0502fc6b229a2b34f
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Wed Jul 7 20:11:32 2021 -0400
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
9 months, 1 week