The package rpms/rb_libtorrent.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/rb_libtorrent.git/commit/?id=914c...
https://src.fedoraproject.org/cgit/rpms/rb_libtorrent.git/commit/?id=e370....
Change:
-ExcludeArch: %{ix86}
+ExcludeArch: %{ix86}
Thanks.
Full change:
============
commit 914c36fb32c0c348009b51e00b9abf3f613986a1
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sun May 8 06:27:23 2022 +0100
Fix i686 build
diff --git a/fix_i686_narrowing.patch b/fix_i686_narrowing.patch
new file mode 100644
index 0000000..d359250
--- /dev/null
+++ b/fix_i686_narrowing.patch
@@ -0,0 +1,57 @@
+From 6d1723cdd88d46c7a260a7e30da6829a4a40395d Mon Sep 17 00:00:00 2001
+From: arvidn <arvid(a)libtorrent.org>
+Date: Sat, 7 May 2022 12:27:41 +0200
+Subject: [PATCH 1/2] fix narrowing conversion in test_copy_file
+
+---
+ test/test_copy_file.cpp | 9 +++++----
+ 1 file changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/test/test_copy_file.cpp b/test/test_copy_file.cpp
+index 6b403a470e..bc81bcc133 100644
+--- a/test/test_copy_file.cpp
++++ b/test/test_copy_file.cpp
+@@ -116,15 +116,16 @@ bool fs_supports_sparse_files()
+ TEST_CHECK(fstatfs(test, &st) == 0);
+ ::close(test);
+ #ifdef TORRENT_LINUX
+- static long const ufs = 0x00011954;
+- static const std::set<long> sparse_filesystems{
++ using fsword_t = decltype(statfs::f_type);
++ static fsword_t const ufs = 0x00011954;
++ static const std::set<fsword_t> sparse_filesystems{
+ EXT4_SUPER_MAGIC, EXT3_SUPER_MAGIC, XFS_SUPER_MAGIC, BTRFS_SUPER_MAGIC
+ , ufs, REISERFS_SUPER_MAGIC
+ };
+- printf("filesystem: %ld\n", st.f_type);
++ printf("filesystem: %ld\n", long(st.f_type));
+ return sparse_filesystems.count(st.f_type);
+ #else
+- printf("filesystem: (%d) %s\n", st.f_type, st.f_fstypename);
++ printf("filesystem: (%d) %s\n", int(st.f_type), st.f_fstypename);
+ static const std::set<std::string> sparse_filesystems{
+ "ufs", "zfs", "ext4", "xfs", "apfs",
"btrfs"};
+ return sparse_filesystems.count(st.f_fstypename);
+
+From 4724202aae758be784ff6da40a4d6ec5a1e15471 Mon Sep 17 00:00:00 2001
+From: arvidn <arvid(a)libtorrent.org>
+Date: Sun, 8 May 2022 01:26:55 +0200
+Subject: [PATCH 2/2] fixup
+
+---
+ test/test_copy_file.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/test/test_copy_file.cpp b/test/test_copy_file.cpp
+index bc81bcc133..461665cf73 100644
+--- a/test/test_copy_file.cpp
++++ b/test/test_copy_file.cpp
+@@ -119,7 +119,7 @@ bool fs_supports_sparse_files()
+ using fsword_t = decltype(statfs::f_type);
+ static fsword_t const ufs = 0x00011954;
+ static const std::set<fsword_t> sparse_filesystems{
+- EXT4_SUPER_MAGIC, EXT3_SUPER_MAGIC, XFS_SUPER_MAGIC, BTRFS_SUPER_MAGIC
++ EXT4_SUPER_MAGIC, EXT3_SUPER_MAGIC, XFS_SUPER_MAGIC, fsword_t(BTRFS_SUPER_MAGIC)
+ , ufs, REISERFS_SUPER_MAGIC
+ };
+ printf("filesystem: %ld\n", long(st.f_type));
diff --git a/rb_libtorrent.spec b/rb_libtorrent.spec
index a81f71c..4e9290e 100644
--- a/rb_libtorrent.spec
+++ b/rb_libtorrent.spec
@@ -1,16 +1,17 @@
+%global git_url
https://github.com/arvidn/libtorrent
+
Name: rb_libtorrent
Version: 2.0.6
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A C++ BitTorrent library aiming to be the best alternative
License: BSD
URL:
https://www.libtorrent.org
-Source0:
https://github.com/arvidn/libtorrent/releases/download/v%{version}/libtor...
+Source0: %{git_url}/releases/download/v%{version}/libtorrent-rasterbar-%{version}.tar.gz
Source1: %{name}-README-renames.Fedora
Source2: %{name}-COPYING.Boost
Source3: %{name}-COPYING.zlib
-
-ExcludeArch: %{ix86}
+Patch0: %{git_url}/pull/6848.patch#/fix_i686_narrowing.patch
BuildRequires: asio-devel
BuildRequires: cmake
@@ -76,7 +77,7 @@ The %{name}-python3 package contains Python language bindings
Python applications.
%prep
-%setup -q -n "libtorrent-rasterbar-%{version}"
+%autosetup -p1 -n "libtorrent-rasterbar-%{version}"
## The RST files are the sources used to create the final HTML files; and are
## not needed.
@@ -178,6 +179,9 @@ install -p -m 0644 %{SOURCE1} ./README-renames.Fedora
%{python3_sitearch}/libtorrent.cpython-*.so
%changelog
+* Sat May 07 2022 Leigh Scott <leigh123linux(a)gmail.com> - 2.0.6-2
+- Fix i686 build
+
* Thu May 05 2022 Leigh Scott <leigh123linux(a)gmail.com> - 2.0.6-1
- Upgrade to 2.0.6
commit e37004bf743d6a6d210a7b87798bf279317e8be5
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu May 5 14:51:19 2022 +0100
Exclude failing test and i686 build
diff --git a/rb_libtorrent.spec b/rb_libtorrent.spec
index 7239bea..a81f71c 100644
--- a/rb_libtorrent.spec
+++ b/rb_libtorrent.spec
@@ -10,6 +10,8 @@ Source1: %{name}-README-renames.Fedora
Source2: %{name}-COPYING.Boost
Source3: %{name}-COPYING.zlib
+ExcludeArch: %{ix86}
+
BuildRequires: asio-devel
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -117,6 +119,7 @@ echo "set (CTEST_CUSTOM_TESTS_IGNORE
"test_flags"
"test_torrent"
"test_resume"
+ "test_create_torrent"
)" > CTestCustom.cmake
ctest
popd
commit d77ccfc1b1cbfcde83d11ec86ab2e94d235bf284
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu May 5 14:15:49 2022 +0100
Upgrade to 2.0.6
diff --git a/rb_libtorrent.spec b/rb_libtorrent.spec
index 55221e9..7239bea 100644
--- a/rb_libtorrent.spec
+++ b/rb_libtorrent.spec
@@ -1,6 +1,6 @@
Name: rb_libtorrent
-Version: 2.0.5
-Release: 3%{?dist}
+Version: 2.0.6
+Release: 1%{?dist}
Summary: A C++ BitTorrent library aiming to be the best alternative
License: BSD
@@ -175,6 +175,9 @@ install -p -m 0644 %{SOURCE1} ./README-renames.Fedora
%{python3_sitearch}/libtorrent.cpython-*.so
%changelog
+* Thu May 05 2022 Leigh Scott <leigh123linux(a)gmail.com> - 2.0.6-1
+- Upgrade to 2.0.6
+
* Wed May 04 2022 Thomas Rodgers <trodgers(a)redhat.com> - 2.0.5-3
- Rebuilt for Boost 1.78
diff --git a/sources b/sources
index eca7bd1..22677dd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libtorrent-rasterbar-2.0.5.tar.gz) =
be5b812135dada957e565085b5bdda06827c8427f78a4468ef263e1a1e33d3a0bbba7ac27235f0d17ae6087d54311281e3b1975eef81cda514acc8329862dc04
+SHA512 (libtorrent-rasterbar-2.0.6.tar.gz) =
4a5d710706040ef6193967dbb13998cb0ddebe7e95c3bf8aec0812876027c68c32b001fd3f07cd4ff1b819660a8d46ae8c7077e72caf92572288a51cdec7daea
commit 497344a282e293b5dcab7a6baa08e6823def3386
Author: Thomas Rodgers <trodgers(a)redhat.com>
Date: Wed May 4 11:41:32 2022 +0200
Rebuilt for Boost 1.78
diff --git a/rb_libtorrent.spec b/rb_libtorrent.spec
index 427dfa9..55221e9 100644
--- a/rb_libtorrent.spec
+++ b/rb_libtorrent.spec
@@ -1,6 +1,6 @@
Name: rb_libtorrent
Version: 2.0.5
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A C++ BitTorrent library aiming to be the best alternative
License: BSD
@@ -175,6 +175,9 @@ install -p -m 0644 %{SOURCE1} ./README-renames.Fedora
%{python3_sitearch}/libtorrent.cpython-*.so
%changelog
+* Wed May 04 2022 Thomas Rodgers <trodgers(a)redhat.com> - 2.0.5-3
+- Rebuilt for Boost 1.78
+
* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.0.5-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild