Architecture specific change in rpms/rust-brotli-decompressor.git
by githook-noreply@fedoraproject.org
The package rpms/rust-brotli-decompressor.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-brotli-decompressor.git/comm....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit b410b85b8b2884cd447ddf18927654993ad60985
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sun Jan 29 23:33:58 2023 +0100
Update to version 2.3.4; Fixes RHBZ#2161121
diff --git a/.gitignore b/.gitignore
index 76efb6a..8b200b9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/brotli-decompressor-2.3.0.crate
/brotli-decompressor-2.3.1.crate
/brotli-decompressor-2.3.2.crate
+/brotli-decompressor-2.3.4.crate
diff --git a/brotli-decompressor-fix-metadata.diff b/brotli-decompressor-fix-metadata.diff
new file mode 100644
index 0000000..008c808
--- /dev/null
+++ b/brotli-decompressor-fix-metadata.diff
@@ -0,0 +1,28 @@
+--- brotli-decompressor-2.3.4/Cargo.toml 1970-01-01T00:00:01+00:00
++++ brotli-decompressor-2.3.4/Cargo.toml 2023-01-29T22:28:10.941702+00:00
+@@ -29,22 +29,18 @@
+ "huffman",
+ "nostd",
+ ]
+-license = "BSD-3-Clause/MIT"
++license = "BSD-3-Clause AND MIT"
+ repository = "https://github.com/dropbox/rust-brotli-decompressor"
+
+ [profile.release]
+ lto = true
+ incremental = false
+
+-[[bin]]
+-name = "brotli-decompressor"
+-doc = false
+-
+ [dependencies.alloc-no-stdlib]
+-version = "~2.0"
++version = "2.0"
+
+ [dependencies.alloc-stdlib]
+-version = "~0.2"
++version = "0.2"
+ optional = true
+
+ [features]
diff --git a/rust-brotli-decompressor.spec b/rust-brotli-decompressor.spec
index 53d4e07..6346ce0 100644
--- a/rust-brotli-decompressor.spec
+++ b/rust-brotli-decompressor.spec
@@ -1,41 +1,30 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 23
# * published crates to not contain files necessary for running tests
%bcond_with check
%global debug_package %{nil}
-# do not build useless binary
-%global __cargo_is_bin() false
-
%global crate brotli-decompressor
-Name: rust-%{crate}
-Version: 2.3.2
+Name: rust-brotli-decompressor
+Version: 2.3.4
Release: %autorelease
-Summary: Brotli decompressor with an interface avoiding the rust stdlib
+Summary: Brotli decompressor with no_std support
# Upstream license specification: BSD-3-Clause/MIT
# * https://github.com/dropbox/rust-brotli-decompressor/issues/9
-License: BSD
+License: BSD-3-Clause AND MIT
URL: https://crates.io/crates/brotli-decompressor
Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * relax "patch-only" dependency specifiers to "SemVer-compatible"
+# * fix SPDX license identifier in crate metadata (AND instead of OR)
+# * do not build useless binary
+Patch: brotli-decompressor-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
-Brotli decompressor with an interface avoiding the rust stdlib. This makes it
-suitable for embedded devices and kernels. It is designed with a pluggable
-allocator so that the standard lib's allocator may be employed. The default
-build also includes a stdlib allocator and stream interface. Disable this with
---features=no-stdlib. Alternatively, --features=unsafe turns off array bounds
-checks and memory initialization but provides a safe interface for the caller.
-Without adding the --features=unsafe argument, all included code is safe. For
-compression in addition to this library, download
-https://github.com/dropbox/rust-brotli.}
+Brotli decompressor with no_std support.}
%description %{_description}
@@ -45,13 +34,13 @@ 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
-%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}
@@ -59,11 +48,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
-This package contains library source intended for building other packages
-which use "default" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+alloc-stdlib-devel
Summary: %{summary}
@@ -71,11 +60,11 @@ BuildArch: noarch
%description -n %{name}+alloc-stdlib-devel %{_description}
-This package contains library source intended for building other packages
-which use "alloc-stdlib" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "alloc-stdlib" feature of the "%{crate}" crate.
%files -n %{name}+alloc-stdlib-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+benchmark-devel
Summary: %{summary}
@@ -83,11 +72,11 @@ BuildArch: noarch
%description -n %{name}+benchmark-devel %{_description}
-This package contains library source intended for building other packages
-which use "benchmark" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "benchmark" feature of the "%{crate}" crate.
%files -n %{name}+benchmark-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+disable-timer-devel
Summary: %{summary}
@@ -95,11 +84,11 @@ BuildArch: noarch
%description -n %{name}+disable-timer-devel %{_description}
-This package contains library source intended for building other packages
-which use "disable-timer" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "disable-timer" feature of the "%{crate}" crate.
%files -n %{name}+disable-timer-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+pass-through-ffi-panics-devel
Summary: %{summary}
@@ -107,11 +96,11 @@ BuildArch: noarch
%description -n %{name}+pass-through-ffi-panics-devel %{_description}
-This package contains library source intended for building other packages
-which use "pass-through-ffi-panics" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "pass-through-ffi-panics" feature of the "%{crate}" crate.
%files -n %{name}+pass-through-ffi-panics-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+seccomp-devel
Summary: %{summary}
@@ -119,11 +108,11 @@ BuildArch: noarch
%description -n %{name}+seccomp-devel %{_description}
-This package contains library source intended for building other packages
-which use "seccomp" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "seccomp" feature of the "%{crate}" crate.
%files -n %{name}+seccomp-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
@@ -131,11 +120,11 @@ BuildArch: noarch
%description -n %{name}+std-devel %{_description}
-This package contains library source intended for building other packages
-which use "std" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unsafe-devel
Summary: %{summary}
@@ -143,15 +132,17 @@ BuildArch: noarch
%description -n %{name}+unsafe-devel %{_description}
-This package contains library source intended for building other packages
-which use "unsafe" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "unsafe" feature of the "%{crate}" crate.
%files -n %{name}+unsafe-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
+# * remove stray executable bit from Rust sources
+chmod -x src/bin/tests.rs
%generate_buildrequires
%cargo_generate_buildrequires
diff --git a/sources b/sources
index 3647523..00c8639 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (brotli-decompressor-2.3.2.crate) = 4d2329ff2645e299323a9b8af619bdf956b8fdbc6bf34b613969eed388c199f6b0e12b5cce9c8388146afe0fbfdd82b460f927005d9ae0a0e8a436a79d5f004d
+SHA512 (brotli-decompressor-2.3.4.crate) = 2698f1d9fc33ae37efc4587a448255320c864d1bba498ead93c5e28167ef696bcb5ddec9d4292b5fde93c3acddb7e99b453d6507780d0034e325bd20e5222c62
commit 43427cdba8a1dde509785637dbb21253bc48b2da
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 21:49:37 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
8 months
Architecture specific change in rpms/rust-crossbeam-epoch.git
by githook-noreply@fedoraproject.org
The package rpms/rust-crossbeam-epoch.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-crossbeam-epoch.git/commit/?....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 0f068c2c9ff2acd1ffd453d2338c9fecf6226733
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sun Jan 29 22:57:31 2023 +0100
Update to version 0.9.13; Fixes RHBZ#2144266
diff --git a/.gitignore b/.gitignore
index 375ab94..1538f50 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,4 @@
/crossbeam-epoch-0.9.9.crate
/crossbeam-epoch-0.9.10.crate
/crossbeam-epoch-0.9.11.crate
+/crossbeam-epoch-0.9.13.crate
diff --git a/crossbeam-epoch-fix-metadata-auto.diff b/crossbeam-epoch-fix-metadata-auto.diff
index e793e20..a7bb2bc 100644
--- a/crossbeam-epoch-fix-metadata-auto.diff
+++ b/crossbeam-epoch-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
---- crossbeam-epoch-0.9.11/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ crossbeam-epoch-0.9.11/Cargo.toml 1970-01-01T00:00:01+00:00
+--- crossbeam-epoch-0.9.13/Cargo.toml 1970-01-01T00:00:01+00:00
++++ crossbeam-epoch-0.9.13/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -58,7 +58,6 @@
alloc = []
default = ["std"]
diff --git a/rust-crossbeam-epoch.spec b/rust-crossbeam-epoch.spec
index dd8409d..17ac5c7 100644
--- a/rust-crossbeam-epoch.spec
+++ b/rust-crossbeam-epoch.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate crossbeam-epoch
Name: rust-crossbeam-epoch
-Version: 0.9.11
+Version: 0.9.13
Release: %autorelease
Summary: Epoch-based garbage collection
@@ -15,8 +15,6 @@ Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: crossbeam-epoch-fix-metadata-auto.diff
-ExclusiveArch: %{rust_arches}
-
BuildRequires: rust-packaging >= 21
%global _description %{expand:
diff --git a/sources b/sources
index 193525c..a010d6c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (crossbeam-epoch-0.9.11.crate) = 3fff7ebe038993af5117460e0ff89318541afea8d16f3bb991cd37f9fabff58f1cf122a8163af03c275af4ba6802b264f516fbf12f9a9f8ec978f0f8024187a8
+SHA512 (crossbeam-epoch-0.9.13.crate) = a4578e0e535f301b73f0332778e79b327bafea6afa43284317fccc49b410118360866a2dea8ac22f2977f309d07c663e5d95fbfa852ab795d414c170ee4e06bf
commit e35d33676c0b595bf2ed00469aa389ac585a00d2
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 22:15:14 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
8 months
Architecture specific change in rpms/rust-crossbeam-epoch.git
by githook-noreply@fedoraproject.org
The package rpms/rust-crossbeam-epoch.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-crossbeam-epoch.git/commit/?....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 0f068c2c9ff2acd1ffd453d2338c9fecf6226733
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Sun Jan 29 22:57:31 2023 +0100
Update to version 0.9.13; Fixes RHBZ#2144266
diff --git a/.gitignore b/.gitignore
index 375ab94..1538f50 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,4 @@
/crossbeam-epoch-0.9.9.crate
/crossbeam-epoch-0.9.10.crate
/crossbeam-epoch-0.9.11.crate
+/crossbeam-epoch-0.9.13.crate
diff --git a/crossbeam-epoch-fix-metadata-auto.diff b/crossbeam-epoch-fix-metadata-auto.diff
index e793e20..a7bb2bc 100644
--- a/crossbeam-epoch-fix-metadata-auto.diff
+++ b/crossbeam-epoch-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
---- crossbeam-epoch-0.9.11/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ crossbeam-epoch-0.9.11/Cargo.toml 1970-01-01T00:00:01+00:00
+--- crossbeam-epoch-0.9.13/Cargo.toml 1970-01-01T00:00:01+00:00
++++ crossbeam-epoch-0.9.13/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -58,7 +58,6 @@
alloc = []
default = ["std"]
diff --git a/rust-crossbeam-epoch.spec b/rust-crossbeam-epoch.spec
index dd8409d..17ac5c7 100644
--- a/rust-crossbeam-epoch.spec
+++ b/rust-crossbeam-epoch.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate crossbeam-epoch
Name: rust-crossbeam-epoch
-Version: 0.9.11
+Version: 0.9.13
Release: %autorelease
Summary: Epoch-based garbage collection
@@ -15,8 +15,6 @@ Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: crossbeam-epoch-fix-metadata-auto.diff
-ExclusiveArch: %{rust_arches}
-
BuildRequires: rust-packaging >= 21
%global _description %{expand:
diff --git a/sources b/sources
index 193525c..a010d6c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (crossbeam-epoch-0.9.11.crate) = 3fff7ebe038993af5117460e0ff89318541afea8d16f3bb991cd37f9fabff58f1cf122a8163af03c275af4ba6802b264f516fbf12f9a9f8ec978f0f8024187a8
+SHA512 (crossbeam-epoch-0.9.13.crate) = a4578e0e535f301b73f0332778e79b327bafea6afa43284317fccc49b410118360866a2dea8ac22f2977f309d07c663e5d95fbfa852ab795d414c170ee4e06bf
commit e35d33676c0b595bf2ed00469aa389ac585a00d2
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 22:15:14 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
8 months
Architecture specific change in rpms/rust-libbpf-rs.git
by githook-noreply@fedoraproject.org
The package rpms/rust-libbpf-rs.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-libbpf-rs.git/commit/?id=848....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit e054d2f73a1c887615c832c2580b1c2f1118ef12
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Fri Jan 27 12:46:47 2023 -0600
Use libbpf-sys with vendored libbpf, as the system libbpf is too old
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/libbpf-rs-fix-metadata.diff b/libbpf-rs-fix-metadata.diff
index 38a1d42..3d6a8f8 100644
--- a/libbpf-rs-fix-metadata.diff
+++ b/libbpf-rs-fix-metadata.diff
@@ -9,11 +9,3 @@
[dependencies.thiserror]
version = "1.0"
-@@ -61,6 +61,7 @@
- version = "0.5"
-
- [features]
-+default = ["novendor"]
- novendor = ["libbpf-sys/novendor"]
- static = ["libbpf-sys/static"]
- [badges.maintenance]
diff --git a/rust-libbpf-rs.spec b/rust-libbpf-rs.spec
index 5116ef3..129459d 100644
--- a/rust-libbpf-rs.spec
+++ b/rust-libbpf-rs.spec
@@ -13,7 +13,6 @@ License: LGPL-2.1 OR BSD-2-Clause
URL: https://crates.io/crates/libbpf-rs
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
-# - Turn on the novendor feature by default
# - bump strum_macros dependency to 0.24
Patch: libbpf-rs-fix-metadata.diff
commit 5fb8f67bcf14d19e63f5fc6a8d5c4bbb054881a3
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Fri Jan 27 12:44:50 2023 -0600
Remove unused patches
diff --git a/libbpf-rs-downgrade-libbpf-sys-040.patch b/libbpf-rs-downgrade-libbpf-sys-040.patch
deleted file mode 100644
index 0f00568..0000000
--- a/libbpf-rs-downgrade-libbpf-sys-040.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -ruN libbpf-rs-0.16.0/Cargo.toml libbpf-rs-0.16.0-downgrade-to-0.4.0/Cargo.toml
---- libbpf-rs-0.16.0/Cargo.toml 1969-12-31 16:00:01.000000000 -0800
-+++ libbpf-rs-0.16.0-downgrade-to-0.4.0/Cargo.toml 2022-02-15 16:15:59.255663607 -0800
-@@ -27,7 +27,7 @@
- version = "1.4"
-
- [dependencies.libbpf-sys]
--version = "0.6.0-1"
-+version = "0.4.0-2"
-
- [dependencies.nix]
- version = "0.22"
-diff -ruN libbpf-rs-0.16.0/src/object.rs libbpf-rs-0.16.0-downgrade-to-0.4.0/src/object.rs
---- libbpf-rs-0.16.0/src/object.rs 1973-11-29 13:33:09.000000000 -0800
-+++ libbpf-rs-0.16.0-downgrade-to-0.4.0/src/object.rs 2022-02-15 16:15:43.089602484 -0800
-@@ -53,9 +53,6 @@
- pin_root_path: ptr::null(),
- attach_prog_fd: 0,
- kconfig: ptr::null(),
-- btf_custom_path: ptr::null(),
-- __bindgen_padding_0: <[u8; 6]>::default(),
-- __bindgen_padding_1: <[u8; 4]>::default(),
- }
- }
-
-diff -ruN libbpf-rs-0.16.0/src/perf_buffer.rs libbpf-rs-0.16.0-downgrade-to-0.4.0/src/perf_buffer.rs
---- libbpf-rs-0.16.0/src/perf_buffer.rs 1973-11-29 13:33:09.000000000 -0800
-+++ libbpf-rs-0.16.0-downgrade-to-0.4.0/src/perf_buffer.rs 2022-02-15 16:20:53.001774261 -0800
-@@ -106,15 +106,14 @@
- lost_cb: self.lost_cb,
- }));
-
-+ let opts = libbpf_sys::perf_buffer_opts {
-+ sample_cb: c_sample_cb,
-+ lost_cb: c_lost_cb,
-+ ctx: callback_struct_ptr as *mut _,
-+ };
-+
- let ptr = unsafe {
-- libbpf_sys::perf_buffer__new(
-- self.map.fd(),
-- self.pages as libbpf_sys::size_t,
-- c_sample_cb,
-- c_lost_cb,
-- callback_struct_ptr as *mut _,
-- std::ptr::null(),
-- )
-+ libbpf_sys::perf_buffer__new(self.map.fd(), self.pages as libbpf_sys::size_t, &opts)
- };
- let err = unsafe { libbpf_sys::libbpf_get_error(ptr as *const _) };
- if err != 0 {
diff --git a/libbpf-rs-downgrade-libbpf-sys-050.patch b/libbpf-rs-downgrade-libbpf-sys-050.patch
deleted file mode 100644
index cf26193..0000000
--- a/libbpf-rs-downgrade-libbpf-sys-050.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff -ruN libbpf-rs-0.16.0/Cargo.toml libbpf-rs-0.16.0-downgrade-to-0.5.0/Cargo.toml
---- libbpf-rs-0.16.0/Cargo.toml 1969-12-31 16:00:01.000000000 -0800
-+++ libbpf-rs-0.16.0-downgrade-to-0.5.0/Cargo.toml 2022-02-15 15:44:14.990476446 -0800
-@@ -27,7 +27,7 @@
- version = "1.4"
-
- [dependencies.libbpf-sys]
--version = "0.6.0-1"
-+version = "0.5.0-2"
-
- [dependencies.nix]
- version = "0.22"
-diff -ruN libbpf-rs-0.16.0/src/perf_buffer.rs libbpf-rs-0.16.0-downgrade-to-0.5.0/src/perf_buffer.rs
---- libbpf-rs-0.16.0/src/perf_buffer.rs 1973-11-29 13:33:09.000000000 -0800
-+++ libbpf-rs-0.16.0-downgrade-to-0.5.0/src/perf_buffer.rs 2022-02-15 15:43:29.766306029 -0800
-@@ -106,15 +106,14 @@
- lost_cb: self.lost_cb,
- }));
-
-+ let opts = libbpf_sys::perf_buffer_opts {
-+ sample_cb: c_sample_cb,
-+ lost_cb: c_lost_cb,
-+ ctx: callback_struct_ptr as *mut _,
-+ };
-+
- let ptr = unsafe {
-- libbpf_sys::perf_buffer__new(
-- self.map.fd(),
-- self.pages as libbpf_sys::size_t,
-- c_sample_cb,
-- c_lost_cb,
-- callback_struct_ptr as *mut _,
-- std::ptr::null(),
-- )
-+ libbpf_sys::perf_buffer__new(self.map.fd(), self.pages as libbpf_sys::size_t, &opts)
- };
- let err = unsafe { libbpf_sys::libbpf_get_error(ptr as *const _) };
- if err != 0 {
commit ed99f1c707946dc89427f9c4b0f3e36a6c3b2c9a
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 23:42:19 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 84809eccf9d459514d6f2e12bf752c554244c1bb
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Thu Dec 8 21:10:25 2022 -0600
Update to 0.19.1
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index 728c321..c048126 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/libbpf-rs-0.13.0.crate
/libbpf-rs-0.14.0.crate
/libbpf-rs-0.16.0.crate
+/libbpf-rs-0.19.1.crate
diff --git a/libbpf-rs-fix-metadata.diff b/libbpf-rs-fix-metadata.diff
index 37d5a8f..38a1d42 100644
--- a/libbpf-rs-fix-metadata.diff
+++ b/libbpf-rs-fix-metadata.diff
@@ -1,10 +1,19 @@
---- libbpf-rs-0.16.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ libbpf-rs-0.16.0/Cargo.toml 2022-02-15T19:34:00.245553+00:00
-@@ -59,6 +59,7 @@
+--- libbpf-rs-0.19.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ libbpf-rs-0.19.1/Cargo.toml 2022-12-09T03:20:15.155206+00:00
+@@ -38,7 +38,7 @@
+ version = "0.5"
+
+ [dependencies.strum_macros]
+-version = "0.23"
++version = "0.24"
+
+ [dependencies.thiserror]
+ version = "1.0"
+@@ -61,6 +61,7 @@
version = "0.5"
[features]
+default = ["novendor"]
novendor = ["libbpf-sys/novendor"]
+ static = ["libbpf-sys/static"]
[badges.maintenance]
- status = "actively-developed"
diff --git a/rust-libbpf-rs.spec b/rust-libbpf-rs.spec
index 5c23446..5116ef3 100644
--- a/rust-libbpf-rs.spec
+++ b/rust-libbpf-rs.spec
@@ -1,29 +1,23 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate libbpf-rs
-Name: rust-%{crate}
-Version: 0.16.0
+Name: rust-libbpf-rs
+Version: 0.19.1
Release: %autorelease
Summary: Safe, idiomatic, and opinionated wrapper around libbpf-sys
-# Upstream license specification: LGPL-2.1 OR BSD-2-Clause
-License: LGPLv2 or BSD
+License: LGPL-2.1 OR BSD-2-Clause
URL: https://crates.io/crates/libbpf-rs
Source: %{crates_source}
-# Turn on the novendor feature by default
-Patch0: libbpf-rs-fix-metadata.diff
-# Downgrade libbpf-sys to 0.4.0-2; this patch is meant for Fedora 35 and lower
-# where libbpf is still at 0.4.0
-Patch1: libbpf-rs-downgrade-libbpf-sys-040.patch
-# Downgrade libbpf-sys to 0.5.0-2 (for Fedora 36)
-Patch2: libbpf-rs-downgrade-libbpf-sys-050.patch
+# Manually created patch for downstream crate metadata changes
+# - Turn on the novendor feature by default
+# - bump strum_macros dependency to 0.24
+Patch: libbpf-rs-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Safe, idiomatic, and opinionated wrapper around libbpf-sys.}
@@ -40,9 +34,11 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE LICENSE.BSD-2-Clause LICENSE.LPGL-2.1
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%license %{crate_instdir}/LICENSE.BSD-2-Clause
+%license %{crate_instdir}/LICENSE.LPGL-2.1
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -54,7 +50,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
%package -n %{name}+novendor-devel
Summary: %{summary}
@@ -66,20 +62,22 @@ This package contains library source intended for building other packages which
use the "novendor" feature of the "%{crate}" crate.
%files -n %{name}+novendor-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+static-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+static-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "static" feature of the "%{crate}" crate.
+
+%files -n %{name}+static-devel
+%ghost %{crate_instdir}/Cargo.toml
%prep
-%setup -q -n %{crate}-%{version_no_tilde}
-%patch0 -p1
-%if 0%{?fedora} < 36
-%patch1 -p1
-%else
-%if 0%{?fc36}
-%patch2 -p1
-%else
-sed -i -e 's/version = "0.6.0-1"/version = "0.6.1-2"/' Cargo.toml
-%endif
-%endif
+%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
@@ -95,6 +93,7 @@ sed -i -e 's/version = "0.6.0-1"/version = "0.6.1-2"/' Cargo.toml
%check
# most of these tests fail, RLIMIT_MEMLOCK does not work in mock
rm tests/test.rs
+rm tests/test_tc.rs
%cargo_test
%endif
diff --git a/sources b/sources
index 34bf409..22a9b46 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libbpf-rs-0.16.0.crate) = df3f928dbe0e9e7272ada339eec55080e6b32f01f9dc6552b59b02e2f0b46c4a23ae84ffca4e48e4d3d69325d4d0f1d4c3e0442e48922edf42baa482c4dfe102
+SHA512 (libbpf-rs-0.19.1.crate) = 44dd68ae101c5aa65bce4a887101fb5f448326fc3cfac645fff960724770a1a1bf7cbab0172467f4b0c3031c7d279385ea3e2c03ca8f85345ef0e55432a0f146
commit 049210e7fabb180d62b43a3077b6c6c11f65cd91
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 23 04:52:30 2022 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
8 months
Architecture specific change in rpms/rust-libbpf-sys.git
by githook-noreply@fedoraproject.org
The package rpms/rust-libbpf-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-libbpf-sys.git/commit/?id=d7....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 78b2979bbb61e5a484152b147fae7584f4eacd01
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Fri Jan 27 12:38:20 2023 -0600
Switch back to vendored libbpf, as the system one is too old
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/libbpf-sys-fix-metadata.diff b/libbpf-sys-fix-metadata.diff
index 3b33bb2..daea48d 100644
--- a/libbpf-sys-fix-metadata.diff
+++ b/libbpf-sys-fix-metadata.diff
@@ -18,11 +18,3 @@
optional = true
[build-dependencies.cc]
-@@ -48,6 +48,7 @@
- version = "0.3"
-
- [features]
-+default = ["novendor"]
- novendor = []
- static = []
-
diff --git a/rust-libbpf-sys.spec b/rust-libbpf-sys.spec
index c535c1b..54d7092 100644
--- a/rust-libbpf-sys.spec
+++ b/rust-libbpf-sys.spec
@@ -15,12 +15,14 @@ URL: https://crates.io/crates/libbpf-sys
Source: %{crates_source %{crate} %{upstream_version}}
# Manually created patch for downstream crate metadata changes
# * remove version suffix from crate version
-# * default to novendor
# * bump bindgen to 0.63
Patch: libbpf-sys-fix-metadata.diff
BuildRequires: rust-packaging >= 21
+# the system libbpf is too old, use the bundled copy
+Provides: bundled(libbpf) = 1.0.1
+
%global _description %{expand:
Rust bindings to libbpf from the Linux kernel.}
@@ -94,15 +96,12 @@ use the "static" feature of the "%{crate}" crate.
%prep
%autosetup -n %{crate}-%{upstream_version} -p1
-# Remove bundled libbpf
-rm -r libbpf
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
echo 'elfutils-libelf-devel'
echo 'kernel-headers'
-echo 'libbpf-devel'
echo 'zlib-devel'
%build
commit db154f3dfac16323c6157786a8000b5c659ac44f
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Wed Jan 18 22:20:41 2023 -0600
Fix FTI for bindgen feature by bumping the bindgen requirement to 0.63
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/libbpf-sys-fix-metadata.diff b/libbpf-sys-fix-metadata.diff
index 2623ebb..3b33bb2 100644
--- a/libbpf-sys-fix-metadata.diff
+++ b/libbpf-sys-fix-metadata.diff
@@ -1,5 +1,5 @@
--- libbpf-sys-1.0.4+v1.0.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ libbpf-sys-1.0.4+v1.0.1/Cargo.toml 2022-12-08T22:58:56.104613+00:00
++++ libbpf-sys-1.0.4+v1.0.1/Cargo.toml 2023-01-19T04:19:55.090748+00:00
@@ -12,7 +12,7 @@
[package]
edition = "2018"
@@ -9,6 +9,15 @@
authors = [
"Alex Forster <alex(a)alexforster.com>",
"Dan Siemon <dan(a)coverfire.com>",
+@@ -38,7 +38,7 @@
+ ]
+
+ [build-dependencies.bindgen]
+-version = "^0.60"
++version = "^0.63"
+ optional = true
+
+ [build-dependencies.cc]
@@ -48,6 +48,7 @@
version = "0.3"
diff --git a/rust-libbpf-sys.spec b/rust-libbpf-sys.spec
index d394660..c535c1b 100644
--- a/rust-libbpf-sys.spec
+++ b/rust-libbpf-sys.spec
@@ -16,6 +16,7 @@ Source: %{crates_source %{crate} %{upstream_version}}
# Manually created patch for downstream crate metadata changes
# * remove version suffix from crate version
# * default to novendor
+# * bump bindgen to 0.63
Patch: libbpf-sys-fix-metadata.diff
BuildRequires: rust-packaging >= 21
commit 8deac8c37b3aeb94297edd57229fd2f09f8243a3
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Fri Dec 9 16:24:10 2022 -0600
Restore the removal of the bundled libbpf
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/rust-libbpf-sys.spec b/rust-libbpf-sys.spec
index 445f7e1..d394660 100644
--- a/rust-libbpf-sys.spec
+++ b/rust-libbpf-sys.spec
@@ -40,9 +40,6 @@ use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE
-%license %{crate_instdir}/libbpf/LICENSE
-%license %{crate_instdir}/libbpf/LICENSE.BSD-2-Clause
-%license %{crate_instdir}/libbpf/LICENSE.LGPL-2.1
%doc %{crate_instdir}/README.md
%{crate_instdir}/
@@ -96,6 +93,8 @@ use the "static" feature of the "%{crate}" crate.
%prep
%autosetup -n %{crate}-%{upstream_version} -p1
+# Remove bundled libbpf
+rm -r libbpf
%cargo_prep
%generate_buildrequires
commit d74d56bab011d9067cdc46c3fceb34e1c8eb2f92
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Thu Dec 8 16:33:58 2022 -0600
Update to 1.0.4
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index a837eee..f457728 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/libbpf-sys-0.6.1-2.crate
+/libbpf-sys-1.0.4+v1.0.1.crate
diff --git a/libbpf-sys-fix-metadata.diff b/libbpf-sys-fix-metadata.diff
index 2f61d64..2623ebb 100644
--- a/libbpf-sys-fix-metadata.diff
+++ b/libbpf-sys-fix-metadata.diff
@@ -1,10 +1,19 @@
---- libbpf-sys-0.6.1-2/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ libbpf-sys-0.6.1-2/Cargo.toml 2022-02-10T23:20:20.526559+00:00
-@@ -32,6 +32,7 @@
+--- libbpf-sys-1.0.4+v1.0.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ libbpf-sys-1.0.4+v1.0.1/Cargo.toml 2022-12-08T22:58:56.104613+00:00
+@@ -12,7 +12,7 @@
+ [package]
+ edition = "2018"
+ name = "libbpf-sys"
+-version = "1.0.4+v1.0.1"
++version = "1.0.4"
+ authors = [
+ "Alex Forster <alex(a)alexforster.com>",
+ "Dan Siemon <dan(a)coverfire.com>",
+@@ -48,6 +48,7 @@
version = "0.3"
[features]
+default = ["novendor"]
novendor = []
- [badges.maintenance]
- status = "passively-maintained"
+ static = []
+
diff --git a/rust-libbpf-sys.spec b/rust-libbpf-sys.spec
index 0a3ad25..445f7e1 100644
--- a/rust-libbpf-sys.spec
+++ b/rust-libbpf-sys.spec
@@ -1,24 +1,24 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate libbpf-sys
+%global upstream_version 1.0.4+v1.0.1
-Name: rust-%{crate}
-Version: 0.6.1~2
+Name: rust-libbpf-sys
+Version: 1.0.4
Release: %autorelease
Summary: Rust bindings to libbpf from the Linux kernel
-# Upstream license specification: BSD-2-Clause
-License: BSD
+License: BSD-2-Clause
URL: https://crates.io/crates/libbpf-sys
-Source: %{crates_source}
-# Turn on the novendor feature by default
-Patch0: libbpf-sys-fix-metadata.diff
+Source: %{crates_source %{crate} %{upstream_version}}
+# Manually created patch for downstream crate metadata changes
+# * remove version suffix from crate version
+# * default to novendor
+Patch: libbpf-sys-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Rust bindings to libbpf from the Linux kernel.}
@@ -39,9 +39,12 @@ 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
+%license %{crate_instdir}/libbpf/LICENSE
+%license %{crate_instdir}/libbpf/LICENSE.BSD-2-Clause
+%license %{crate_instdir}/libbpf/LICENSE.LGPL-2.1
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -53,7 +56,19 @@ This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+bindgen-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+bindgen-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "bindgen" feature of the "%{crate}" crate.
+
+%files -n %{name}+bindgen-devel
+%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+novendor-devel
Summary: %{summary}
@@ -65,12 +80,22 @@ This package contains library source intended for building other packages which
use the "novendor" feature of the "%{crate}" crate.
%files -n %{name}+novendor-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+static-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+static-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "static" feature of the "%{crate}" crate.
+
+%files -n %{name}+static-devel
+%ghost %{crate_instdir}/Cargo.toml
%prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
-# Remove bundled libbpf
-rm -r libbpf
+%autosetup -n %{crate}-%{upstream_version} -p1
%cargo_prep
%generate_buildrequires
diff --git a/.rust2rpm.conf b/rust2rpm.conf
similarity index 100%
rename from .rust2rpm.conf
rename to rust2rpm.conf
diff --git a/sources b/sources
index ed94907..79bf73b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libbpf-sys-0.6.1-2.crate) = ce5bc7341d576181ae4350c5516bb3d9d3f611e673ee6586c876380b62389007d0b9f225bc94f20550b4b96ae108ee281197cb9db67737e1432417aee6f0e809
+SHA512 (libbpf-sys-1.0.4+v1.0.1.crate) = 9a8ac5eb85afcd6bd51f2992c73a4f5dd08fbab995a958929d058f35555112a8832665e749a00729da766e8364d442e3ad32064c0a526ee5da778eb25206319f
commit d07872c2e6ede6dc17987bc04b3c07ed5d594b4b
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Thu Feb 10 15:46:30 2022 -0800
Update to 0.6.1~2 (resolves: rhbz#2028922)
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index 0d3a4d2..a837eee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1 @@
-/libbpf-sys-0.3.0-2.crate
-/libbpf-sys-0.4.0-1.crate
-/libbpf-sys-0.4.0-2.crate
-/libbpf-sys-0.5.0-1.crate
-/libbpf-sys-0.5.0-2.crate
+/libbpf-sys-0.6.1-2.crate
diff --git a/.rust2rpm.conf b/.rust2rpm.conf
new file mode 100644
index 0000000..83ba2b0
--- /dev/null
+++ b/.rust2rpm.conf
@@ -0,0 +1,11 @@
+[DEFAULT]
+buildrequires =
+ elfutils-libelf-devel
+ kernel-headers
+ libbpf-devel
+ zlib-devel
+lib.requires =
+ elfutils-libelf-devel
+ kernel-headers
+ libbpf-devel
+ zlib-devel
diff --git a/libbpf-sys-fix-metadata.diff b/libbpf-sys-fix-metadata.diff
index 276be27..2f61d64 100644
--- a/libbpf-sys-fix-metadata.diff
+++ b/libbpf-sys-fix-metadata.diff
@@ -1,5 +1,5 @@
---- libbpf-sys-0.5.0-2/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ libbpf-sys-0.5.0-2/Cargo.toml 2021-11-11T15:18:57.236959+00:00
+--- libbpf-sys-0.6.1-2/Cargo.toml 1970-01-01T00:00:01+00:00
++++ libbpf-sys-0.6.1-2/Cargo.toml 2022-02-10T23:20:20.526559+00:00
@@ -32,6 +32,7 @@
version = "0.3"
diff --git a/rust-libbpf-sys.spec b/rust-libbpf-sys.spec
index 1dc2df2..0a3ad25 100644
--- a/rust-libbpf-sys.spec
+++ b/rust-libbpf-sys.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 20
%bcond_without check
%global debug_package %{nil}
%global crate libbpf-sys
Name: rust-%{crate}
-Version: 0.5.0~2
+Version: 0.6.1~2
Release: %autorelease
Summary: Rust bindings to libbpf from the Linux kernel
@@ -17,15 +17,8 @@ Source: %{crates_source}
Patch0: libbpf-sys-fix-metadata.diff
ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
BuildRequires: rust-packaging
-BuildRequires: kernel-headers
-BuildRequires: elfutils-libelf-devel
-BuildRequires: libbpf-devel
-BuildRequires: zlib-devel
%global _description %{expand:
Rust bindings to libbpf from the Linux kernel.}
@@ -35,15 +28,15 @@ Rust bindings to libbpf from the Linux kernel.}
%package devel
Summary: %{summary}
BuildArch: noarch
-Requires: kernel-headers
Requires: elfutils-libelf-devel
+Requires: kernel-headers
Requires: libbpf-devel
Requires: zlib-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
@@ -56,8 +49,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
@@ -68,8 +61,8 @@ BuildArch: noarch
%description -n %{name}+novendor-devel %{_description}
-This package contains library source intended for building other packages
-which use "novendor" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "novendor" feature of the "%{crate}" crate.
%files -n %{name}+novendor-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@@ -82,6 +75,10 @@ rm -r libbpf
%generate_buildrequires
%cargo_generate_buildrequires
+echo 'elfutils-libelf-devel'
+echo 'kernel-headers'
+echo 'libbpf-devel'
+echo 'zlib-devel'
%build
%cargo_build
diff --git a/sources b/sources
index 7962da4..ed94907 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libbpf-sys-0.5.0-2.crate) = 24febe774e35ca486d1fa6b280cb904615275b07ab3e1d6ff38bfbabe7b90659b6d5efa22dbd3f45af0f6211ba68c81ab160ff463b65b049dbf0ba3077b4d4b7
+SHA512 (libbpf-sys-0.6.1-2.crate) = ce5bc7341d576181ae4350c5516bb3d9d3f611e673ee6586c876380b62389007d0b9f225bc94f20550b4b96ae108ee281197cb9db67737e1432417aee6f0e809
8 months
Architecture specific change in rpms/rust-cursive_buffered_backend.git
by githook-noreply@fedoraproject.org
The package rpms/rust-cursive_buffered_backend.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-cursive_buffered_backend.git....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit b5f50ce03de9093735b1931e4f96d95ef59a3e27
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 22:21:01 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 2e9355e1abe7ca14b0907361bf91c8c26f89f916
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Thu Jan 19 17:05:15 2023 -0600
Update to 0.6.1
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index c693b1e..15be4a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/cursive_buffered_backend-0.5.0.crate
+/cursive_buffered_backend-0.6.1.crate
diff --git a/rust-cursive_buffered_backend.spec b/rust-cursive_buffered_backend.spec
index 7d961fc..2d65e36 100644
--- a/rust-cursive_buffered_backend.spec
+++ b/rust-cursive_buffered_backend.spec
@@ -1,25 +1,19 @@
-# Generated by rust2rpm 17
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate cursive_buffered_backend
-Name: rust-%{crate}
-Version: 0.5.0
+Name: rust-cursive_buffered_backend
+Version: 0.6.1
Release: %autorelease
Summary: Buffering backend for any Cursive backend
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/cursive_buffered_backend
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
BuildRequires: sed
%global _description %{expand:
@@ -33,13 +27,15 @@ 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
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%doc %{crate_instdir}/ReleaseInstructions.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -47,17 +43,23 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
-This package contains library source intended for building other packages
-which use "default" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
# Fix end of line encoding
-sed -i 's/\r$//' README.md
+for f in CHANGELOG.md LICENSE README.md ReleaseInstructions.md;
+do
+ touch -r $f ${f}.tstamp
+ sed -i 's/\r$//' $f
+ touch -r ${f}.tstamp $f
+ rm ${f}.tstamp
+done
%generate_buildrequires
%cargo_generate_buildrequires
diff --git a/sources b/sources
index 8f3963d..d845c05 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cursive_buffered_backend-0.5.0.crate) = 5128c6cc87aacbfe72cc3bf68b02e7b970367f10b3f2609523d1fea5012f9bc06e639ef9d7c9381b3f26ee254295042b0a5cad858461524502ece962490827d6
+SHA512 (cursive_buffered_backend-0.6.1.crate) = 71d3e1512e8999b5d384a838f9f6b8b7779163b9e14232b2fa86737b475ad387e86672ed7445776cd26e0f8ca8d58666be259b59db0cfb292243f1d16226a7dd
commit 0e2fc477defcf883642bd54f42422a64e962aa96
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Thu Jan 19 17:04:05 2023 -0600
Convert to rpmautospec
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..2b55d64
--- /dev/null
+++ b/changelog
@@ -0,0 +1,11 @@
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Wed Jun 16 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.5.0-1
+- Initial package
diff --git a/rust-cursive_buffered_backend.spec b/rust-cursive_buffered_backend.spec
index 2f2bd31..7d961fc 100644
--- a/rust-cursive_buffered_backend.spec
+++ b/rust-cursive_buffered_backend.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.5.0
-Release: 4%{?dist}
+Release: %autorelease
Summary: Buffering backend for any Cursive backend
# Upstream license specification: MIT
@@ -74,14 +74,4 @@ sed -i 's/\r$//' README.md
%endif
%changelog
-* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Wed Jun 16 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.5.0-1
-- Initial package
+%autochangelog
8 months
Architecture specific change in rpms/rust-cursive_buffered_backend.git
by githook-noreply@fedoraproject.org
The package rpms/rust-cursive_buffered_backend.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-cursive_buffered_backend.git....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit b5f50ce03de9093735b1931e4f96d95ef59a3e27
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 22:21:01 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 2e9355e1abe7ca14b0907361bf91c8c26f89f916
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Thu Jan 19 17:05:15 2023 -0600
Update to 0.6.1
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index c693b1e..15be4a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/cursive_buffered_backend-0.5.0.crate
+/cursive_buffered_backend-0.6.1.crate
diff --git a/rust-cursive_buffered_backend.spec b/rust-cursive_buffered_backend.spec
index 7d961fc..2d65e36 100644
--- a/rust-cursive_buffered_backend.spec
+++ b/rust-cursive_buffered_backend.spec
@@ -1,25 +1,19 @@
-# Generated by rust2rpm 17
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate cursive_buffered_backend
-Name: rust-%{crate}
-Version: 0.5.0
+Name: rust-cursive_buffered_backend
+Version: 0.6.1
Release: %autorelease
Summary: Buffering backend for any Cursive backend
-# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/cursive_buffered_backend
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
BuildRequires: sed
%global _description %{expand:
@@ -33,13 +27,15 @@ 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
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%doc %{crate_instdir}/ReleaseInstructions.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -47,17 +43,23 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
-This package contains library source intended for building other packages
-which use "default" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
# Fix end of line encoding
-sed -i 's/\r$//' README.md
+for f in CHANGELOG.md LICENSE README.md ReleaseInstructions.md;
+do
+ touch -r $f ${f}.tstamp
+ sed -i 's/\r$//' $f
+ touch -r ${f}.tstamp $f
+ rm ${f}.tstamp
+done
%generate_buildrequires
%cargo_generate_buildrequires
diff --git a/sources b/sources
index 8f3963d..d845c05 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (cursive_buffered_backend-0.5.0.crate) = 5128c6cc87aacbfe72cc3bf68b02e7b970367f10b3f2609523d1fea5012f9bc06e639ef9d7c9381b3f26ee254295042b0a5cad858461524502ece962490827d6
+SHA512 (cursive_buffered_backend-0.6.1.crate) = 71d3e1512e8999b5d384a838f9f6b8b7779163b9e14232b2fa86737b475ad387e86672ed7445776cd26e0f8ca8d58666be259b59db0cfb292243f1d16226a7dd
commit 0e2fc477defcf883642bd54f42422a64e962aa96
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Thu Jan 19 17:04:05 2023 -0600
Convert to rpmautospec
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..2b55d64
--- /dev/null
+++ b/changelog
@@ -0,0 +1,11 @@
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Wed Jun 16 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.5.0-1
+- Initial package
diff --git a/rust-cursive_buffered_backend.spec b/rust-cursive_buffered_backend.spec
index 2f2bd31..7d961fc 100644
--- a/rust-cursive_buffered_backend.spec
+++ b/rust-cursive_buffered_backend.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.5.0
-Release: 4%{?dist}
+Release: %autorelease
Summary: Buffering backend for any Cursive backend
# Upstream license specification: MIT
@@ -74,14 +74,4 @@ sed -i 's/\r$//' README.md
%endif
%changelog
-* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Wed Jun 16 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.5.0-1
-- Initial package
+%autochangelog
commit 379e1eeeec39d52661e9a9f47cb90b9a95996394
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 23 03:35:20 2022 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/rust-cursive_buffered_backend.spec b/rust-cursive_buffered_backend.spec
index 1e17f42..2f2bd31 100644
--- a/rust-cursive_buffered_backend.spec
+++ b/rust-cursive_buffered_backend.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.5.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Buffering backend for any Cursive backend
# Upstream license specification: MIT
@@ -74,6 +74,9 @@ sed -i 's/\r$//' README.md
%endif
%changelog
+* Sat Jul 23 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
8 months
Architecture specific change in rpms/rust-below-view.git
by githook-noreply@fedoraproject.org
The package rpms/rust-below-view.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-below-view.git/commit/?id=66....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit c316982e0da1f339ca6c6c18aac6a246c7b68cb5
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 21:44:18 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 6633cbbf5daa54d975f572fc98006e36775fffcc
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Thu Jan 19 12:28:57 2023 -0600
Update to 0.6.3
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index 0664b29..eb12196 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/below-view-0.4.1.crate
/below-view-0.5.0.crate
+/below-view-0.6.3.crate
diff --git a/below-view-fix-metadata.diff b/below-view-fix-metadata.diff
index 6da5c3b..bb55ee3 100644
--- a/below-view-fix-metadata.diff
+++ b/below-view-fix-metadata.diff
@@ -1,19 +1,25 @@
---- below-view-0.5.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ below-view-0.5.0/Cargo.toml 2022-06-01T14:58:18.971132+00:00
-@@ -30,7 +30,7 @@
+--- below-view-0.6.3/Cargo.toml 1970-01-01T00:00:01+00:00
++++ below-view-0.6.3/Cargo.toml 2023-01-20T03:21:26.579710+00:00
+@@ -39,11 +39,11 @@
package = "below-common"
[dependencies.crossterm]
--version = "0.20.0"
-+version = "0.22.0"
+-version = "0.23.1"
++version = "0.25.0"
features = ["event-stream"]
[dependencies.cursive]
-@@ -74,6 +74,6 @@
+-version = "0.19.0"
++version = "0.20.0"
+ features = ["crossterm-backend"]
+ default-features = false
+
+@@ -89,7 +89,7 @@
package = "below-store"
[dependencies.toml]
-version = "=0.5.8"
+version = "0.5.8"
+
[dev-dependencies.tempdir]
version = "0.3"
diff --git a/rust-below-view.spec b/rust-below-view.spec
index 8cb7f32..d36ae00 100644
--- a/rust-below-view.spec
+++ b/rust-below-view.spec
@@ -1,24 +1,23 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate below-view
-Name: rust-%{crate}
-Version: 0.5.0
+Name: rust-below-view
+Version: 0.6.3
Release: %autorelease
Summary: View crate for below
-# Upstream license specification: Apache-2.0
-License: ASL 2.0
+License: Apache-2.0
URL: https://crates.io/crates/below-view
Source: %{crates_source}
-# Initial patched metadata
-# * bump crossterm from 0.20 to 0.22
-# * relax toml dependency from =0.5.8 to ^0.5.8
-Patch0: below-view-fix-metadata.diff
+# Manually created patch for downstream crate metadata changes
+# * bump crossterm from 0.23.1 to 0.25.0
+# * bump cursive from 0.19.0 to 0.20.0
+# * relax toml dependency from =0.5.8 to 0.5.8
-ExclusiveArch: %{rust_arches}
+Patch: below-view-fix-metadata.diff
BuildRequires: rust-packaging >= 21
@@ -67,7 +66,8 @@ use the "default" feature of the "%{crate}" crate.
%if %{with check}
%check
-%cargo_test
+# some overrides are failing; see https://github.com/facebookincubator/below/pull/8177
+%cargo_test -- -- --skip controllers::test::test_event_controller_override
%endif
%changelog
diff --git a/sources b/sources
index edb4c3b..5d683ca 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (below-view-0.5.0.crate) = 28b829444bc18be556c2805da80e84d4b7df7eb48c6ae96cfdc47501bc60fd1597f5e8e710a4b0b3af206c0ef48b1946122c6598aec4cfdd524099087dcb3b8e
+SHA512 (below-view-0.6.3.crate) = b0f634a7e5e2d5340a6ec3fa7a1df697941dc94cdf55feb7c599f4f89026aece2dcba0de7ebb35179f876c69ebc85f2218cf98228ce07196a017049042a9d5d5
8 months
Architecture specific change in rpms/rust-below-view.git
by githook-noreply@fedoraproject.org
The package rpms/rust-below-view.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-below-view.git/commit/?id=66....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit c316982e0da1f339ca6c6c18aac6a246c7b68cb5
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 21:44:18 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 6633cbbf5daa54d975f572fc98006e36775fffcc
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Thu Jan 19 12:28:57 2023 -0600
Update to 0.6.3
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index 0664b29..eb12196 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/below-view-0.4.1.crate
/below-view-0.5.0.crate
+/below-view-0.6.3.crate
diff --git a/below-view-fix-metadata.diff b/below-view-fix-metadata.diff
index 6da5c3b..bb55ee3 100644
--- a/below-view-fix-metadata.diff
+++ b/below-view-fix-metadata.diff
@@ -1,19 +1,25 @@
---- below-view-0.5.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ below-view-0.5.0/Cargo.toml 2022-06-01T14:58:18.971132+00:00
-@@ -30,7 +30,7 @@
+--- below-view-0.6.3/Cargo.toml 1970-01-01T00:00:01+00:00
++++ below-view-0.6.3/Cargo.toml 2023-01-20T03:21:26.579710+00:00
+@@ -39,11 +39,11 @@
package = "below-common"
[dependencies.crossterm]
--version = "0.20.0"
-+version = "0.22.0"
+-version = "0.23.1"
++version = "0.25.0"
features = ["event-stream"]
[dependencies.cursive]
-@@ -74,6 +74,6 @@
+-version = "0.19.0"
++version = "0.20.0"
+ features = ["crossterm-backend"]
+ default-features = false
+
+@@ -89,7 +89,7 @@
package = "below-store"
[dependencies.toml]
-version = "=0.5.8"
+version = "0.5.8"
+
[dev-dependencies.tempdir]
version = "0.3"
diff --git a/rust-below-view.spec b/rust-below-view.spec
index 8cb7f32..d36ae00 100644
--- a/rust-below-view.spec
+++ b/rust-below-view.spec
@@ -1,24 +1,23 @@
-# Generated by rust2rpm 21
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate below-view
-Name: rust-%{crate}
-Version: 0.5.0
+Name: rust-below-view
+Version: 0.6.3
Release: %autorelease
Summary: View crate for below
-# Upstream license specification: Apache-2.0
-License: ASL 2.0
+License: Apache-2.0
URL: https://crates.io/crates/below-view
Source: %{crates_source}
-# Initial patched metadata
-# * bump crossterm from 0.20 to 0.22
-# * relax toml dependency from =0.5.8 to ^0.5.8
-Patch0: below-view-fix-metadata.diff
+# Manually created patch for downstream crate metadata changes
+# * bump crossterm from 0.23.1 to 0.25.0
+# * bump cursive from 0.19.0 to 0.20.0
+# * relax toml dependency from =0.5.8 to 0.5.8
-ExclusiveArch: %{rust_arches}
+Patch: below-view-fix-metadata.diff
BuildRequires: rust-packaging >= 21
@@ -67,7 +66,8 @@ use the "default" feature of the "%{crate}" crate.
%if %{with check}
%check
-%cargo_test
+# some overrides are failing; see https://github.com/facebookincubator/below/pull/8177
+%cargo_test -- -- --skip controllers::test::test_event_controller_override
%endif
%changelog
diff --git a/sources b/sources
index edb4c3b..5d683ca 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (below-view-0.5.0.crate) = 28b829444bc18be556c2805da80e84d4b7df7eb48c6ae96cfdc47501bc60fd1597f5e8e710a4b0b3af206c0ef48b1946122c6598aec4cfdd524099087dcb3b8e
+SHA512 (below-view-0.6.3.crate) = b0f634a7e5e2d5340a6ec3fa7a1df697941dc94cdf55feb7c599f4f89026aece2dcba0de7ebb35179f876c69ebc85f2218cf98228ce07196a017049042a9d5d5
commit cc7a65e729fd484f306d4fcf9fa05ca195b70209
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 23 02:55:48 2022 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
8 months
Architecture specific change in rpms/rust-libbpf-rs.git
by githook-noreply@fedoraproject.org
The package rpms/rust-libbpf-rs.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-libbpf-rs.git/commit/?id=848....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit e054d2f73a1c887615c832c2580b1c2f1118ef12
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Fri Jan 27 12:46:47 2023 -0600
Use libbpf-sys with vendored libbpf, as the system libbpf is too old
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/libbpf-rs-fix-metadata.diff b/libbpf-rs-fix-metadata.diff
index 38a1d42..3d6a8f8 100644
--- a/libbpf-rs-fix-metadata.diff
+++ b/libbpf-rs-fix-metadata.diff
@@ -9,11 +9,3 @@
[dependencies.thiserror]
version = "1.0"
-@@ -61,6 +61,7 @@
- version = "0.5"
-
- [features]
-+default = ["novendor"]
- novendor = ["libbpf-sys/novendor"]
- static = ["libbpf-sys/static"]
- [badges.maintenance]
diff --git a/rust-libbpf-rs.spec b/rust-libbpf-rs.spec
index 5116ef3..129459d 100644
--- a/rust-libbpf-rs.spec
+++ b/rust-libbpf-rs.spec
@@ -13,7 +13,6 @@ License: LGPL-2.1 OR BSD-2-Clause
URL: https://crates.io/crates/libbpf-rs
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
-# - Turn on the novendor feature by default
# - bump strum_macros dependency to 0.24
Patch: libbpf-rs-fix-metadata.diff
commit 5fb8f67bcf14d19e63f5fc6a8d5c4bbb054881a3
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Fri Jan 27 12:44:50 2023 -0600
Remove unused patches
diff --git a/libbpf-rs-downgrade-libbpf-sys-040.patch b/libbpf-rs-downgrade-libbpf-sys-040.patch
deleted file mode 100644
index 0f00568..0000000
--- a/libbpf-rs-downgrade-libbpf-sys-040.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -ruN libbpf-rs-0.16.0/Cargo.toml libbpf-rs-0.16.0-downgrade-to-0.4.0/Cargo.toml
---- libbpf-rs-0.16.0/Cargo.toml 1969-12-31 16:00:01.000000000 -0800
-+++ libbpf-rs-0.16.0-downgrade-to-0.4.0/Cargo.toml 2022-02-15 16:15:59.255663607 -0800
-@@ -27,7 +27,7 @@
- version = "1.4"
-
- [dependencies.libbpf-sys]
--version = "0.6.0-1"
-+version = "0.4.0-2"
-
- [dependencies.nix]
- version = "0.22"
-diff -ruN libbpf-rs-0.16.0/src/object.rs libbpf-rs-0.16.0-downgrade-to-0.4.0/src/object.rs
---- libbpf-rs-0.16.0/src/object.rs 1973-11-29 13:33:09.000000000 -0800
-+++ libbpf-rs-0.16.0-downgrade-to-0.4.0/src/object.rs 2022-02-15 16:15:43.089602484 -0800
-@@ -53,9 +53,6 @@
- pin_root_path: ptr::null(),
- attach_prog_fd: 0,
- kconfig: ptr::null(),
-- btf_custom_path: ptr::null(),
-- __bindgen_padding_0: <[u8; 6]>::default(),
-- __bindgen_padding_1: <[u8; 4]>::default(),
- }
- }
-
-diff -ruN libbpf-rs-0.16.0/src/perf_buffer.rs libbpf-rs-0.16.0-downgrade-to-0.4.0/src/perf_buffer.rs
---- libbpf-rs-0.16.0/src/perf_buffer.rs 1973-11-29 13:33:09.000000000 -0800
-+++ libbpf-rs-0.16.0-downgrade-to-0.4.0/src/perf_buffer.rs 2022-02-15 16:20:53.001774261 -0800
-@@ -106,15 +106,14 @@
- lost_cb: self.lost_cb,
- }));
-
-+ let opts = libbpf_sys::perf_buffer_opts {
-+ sample_cb: c_sample_cb,
-+ lost_cb: c_lost_cb,
-+ ctx: callback_struct_ptr as *mut _,
-+ };
-+
- let ptr = unsafe {
-- libbpf_sys::perf_buffer__new(
-- self.map.fd(),
-- self.pages as libbpf_sys::size_t,
-- c_sample_cb,
-- c_lost_cb,
-- callback_struct_ptr as *mut _,
-- std::ptr::null(),
-- )
-+ libbpf_sys::perf_buffer__new(self.map.fd(), self.pages as libbpf_sys::size_t, &opts)
- };
- let err = unsafe { libbpf_sys::libbpf_get_error(ptr as *const _) };
- if err != 0 {
diff --git a/libbpf-rs-downgrade-libbpf-sys-050.patch b/libbpf-rs-downgrade-libbpf-sys-050.patch
deleted file mode 100644
index cf26193..0000000
--- a/libbpf-rs-downgrade-libbpf-sys-050.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff -ruN libbpf-rs-0.16.0/Cargo.toml libbpf-rs-0.16.0-downgrade-to-0.5.0/Cargo.toml
---- libbpf-rs-0.16.0/Cargo.toml 1969-12-31 16:00:01.000000000 -0800
-+++ libbpf-rs-0.16.0-downgrade-to-0.5.0/Cargo.toml 2022-02-15 15:44:14.990476446 -0800
-@@ -27,7 +27,7 @@
- version = "1.4"
-
- [dependencies.libbpf-sys]
--version = "0.6.0-1"
-+version = "0.5.0-2"
-
- [dependencies.nix]
- version = "0.22"
-diff -ruN libbpf-rs-0.16.0/src/perf_buffer.rs libbpf-rs-0.16.0-downgrade-to-0.5.0/src/perf_buffer.rs
---- libbpf-rs-0.16.0/src/perf_buffer.rs 1973-11-29 13:33:09.000000000 -0800
-+++ libbpf-rs-0.16.0-downgrade-to-0.5.0/src/perf_buffer.rs 2022-02-15 15:43:29.766306029 -0800
-@@ -106,15 +106,14 @@
- lost_cb: self.lost_cb,
- }));
-
-+ let opts = libbpf_sys::perf_buffer_opts {
-+ sample_cb: c_sample_cb,
-+ lost_cb: c_lost_cb,
-+ ctx: callback_struct_ptr as *mut _,
-+ };
-+
- let ptr = unsafe {
-- libbpf_sys::perf_buffer__new(
-- self.map.fd(),
-- self.pages as libbpf_sys::size_t,
-- c_sample_cb,
-- c_lost_cb,
-- callback_struct_ptr as *mut _,
-- std::ptr::null(),
-- )
-+ libbpf_sys::perf_buffer__new(self.map.fd(), self.pages as libbpf_sys::size_t, &opts)
- };
- let err = unsafe { libbpf_sys::libbpf_get_error(ptr as *const _) };
- if err != 0 {
commit ed99f1c707946dc89427f9c4b0f3e36a6c3b2c9a
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 23:42:19 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 84809eccf9d459514d6f2e12bf752c554244c1bb
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Thu Dec 8 21:10:25 2022 -0600
Update to 0.19.1
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
index 728c321..c048126 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/libbpf-rs-0.13.0.crate
/libbpf-rs-0.14.0.crate
/libbpf-rs-0.16.0.crate
+/libbpf-rs-0.19.1.crate
diff --git a/libbpf-rs-fix-metadata.diff b/libbpf-rs-fix-metadata.diff
index 37d5a8f..38a1d42 100644
--- a/libbpf-rs-fix-metadata.diff
+++ b/libbpf-rs-fix-metadata.diff
@@ -1,10 +1,19 @@
---- libbpf-rs-0.16.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ libbpf-rs-0.16.0/Cargo.toml 2022-02-15T19:34:00.245553+00:00
-@@ -59,6 +59,7 @@
+--- libbpf-rs-0.19.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ libbpf-rs-0.19.1/Cargo.toml 2022-12-09T03:20:15.155206+00:00
+@@ -38,7 +38,7 @@
+ version = "0.5"
+
+ [dependencies.strum_macros]
+-version = "0.23"
++version = "0.24"
+
+ [dependencies.thiserror]
+ version = "1.0"
+@@ -61,6 +61,7 @@
version = "0.5"
[features]
+default = ["novendor"]
novendor = ["libbpf-sys/novendor"]
+ static = ["libbpf-sys/static"]
[badges.maintenance]
- status = "actively-developed"
diff --git a/rust-libbpf-rs.spec b/rust-libbpf-rs.spec
index 5c23446..5116ef3 100644
--- a/rust-libbpf-rs.spec
+++ b/rust-libbpf-rs.spec
@@ -1,29 +1,23 @@
-# Generated by rust2rpm 20
+# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate libbpf-rs
-Name: rust-%{crate}
-Version: 0.16.0
+Name: rust-libbpf-rs
+Version: 0.19.1
Release: %autorelease
Summary: Safe, idiomatic, and opinionated wrapper around libbpf-sys
-# Upstream license specification: LGPL-2.1 OR BSD-2-Clause
-License: LGPLv2 or BSD
+License: LGPL-2.1 OR BSD-2-Clause
URL: https://crates.io/crates/libbpf-rs
Source: %{crates_source}
-# Turn on the novendor feature by default
-Patch0: libbpf-rs-fix-metadata.diff
-# Downgrade libbpf-sys to 0.4.0-2; this patch is meant for Fedora 35 and lower
-# where libbpf is still at 0.4.0
-Patch1: libbpf-rs-downgrade-libbpf-sys-040.patch
-# Downgrade libbpf-sys to 0.5.0-2 (for Fedora 36)
-Patch2: libbpf-rs-downgrade-libbpf-sys-050.patch
+# Manually created patch for downstream crate metadata changes
+# - Turn on the novendor feature by default
+# - bump strum_macros dependency to 0.24
+Patch: libbpf-rs-fix-metadata.diff
-ExclusiveArch: %{rust_arches}
-
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Safe, idiomatic, and opinionated wrapper around libbpf-sys.}
@@ -40,9 +34,11 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
-%license LICENSE LICENSE.BSD-2-Clause LICENSE.LPGL-2.1
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%license %{crate_instdir}/LICENSE.BSD-2-Clause
+%license %{crate_instdir}/LICENSE.LPGL-2.1
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -54,7 +50,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
%package -n %{name}+novendor-devel
Summary: %{summary}
@@ -66,20 +62,22 @@ This package contains library source intended for building other packages which
use the "novendor" feature of the "%{crate}" crate.
%files -n %{name}+novendor-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+static-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+static-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "static" feature of the "%{crate}" crate.
+
+%files -n %{name}+static-devel
+%ghost %{crate_instdir}/Cargo.toml
%prep
-%setup -q -n %{crate}-%{version_no_tilde}
-%patch0 -p1
-%if 0%{?fedora} < 36
-%patch1 -p1
-%else
-%if 0%{?fc36}
-%patch2 -p1
-%else
-sed -i -e 's/version = "0.6.0-1"/version = "0.6.1-2"/' Cargo.toml
-%endif
-%endif
+%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
@@ -95,6 +93,7 @@ sed -i -e 's/version = "0.6.0-1"/version = "0.6.1-2"/' Cargo.toml
%check
# most of these tests fail, RLIMIT_MEMLOCK does not work in mock
rm tests/test.rs
+rm tests/test_tc.rs
%cargo_test
%endif
diff --git a/sources b/sources
index 34bf409..22a9b46 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libbpf-rs-0.16.0.crate) = df3f928dbe0e9e7272ada339eec55080e6b32f01f9dc6552b59b02e2f0b46c4a23ae84ffca4e48e4d3d69325d4d0f1d4c3e0442e48922edf42baa482c4dfe102
+SHA512 (libbpf-rs-0.19.1.crate) = 44dd68ae101c5aa65bce4a887101fb5f448326fc3cfac645fff960724770a1a1bf7cbab0172467f4b0c3031c7d279385ea3e2c03ca8f85345ef0e55432a0f146
8 months