Architecture specific change in rpms/rust-tracing-attributes.git
by githook-noreply@fedoraproject.org
The package rpms/rust-tracing-attributes.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-tracing-attributes.git/commi....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit a683e40d953ddf134616b2c037b7bcce80a6480c
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Apr 26 23:35:32 2023 +0200
Update to version 0.1.24; Fixes RHBZ#2189307
diff --git a/.gitignore b/.gitignore
index 4f88ba3..04c39d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
/tracing-attributes-0.1.21.crate
/tracing-attributes-0.1.22.crate
/tracing-attributes-0.1.23.crate
+/tracing-attributes-0.1.24.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 8c6295f..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-tracing-attributes
-
-The rust-tracing-attributes package
diff --git a/rust-tracing-attributes.spec b/rust-tracing-attributes.spec
index a4864cd..0c9016a 100644
--- a/rust-tracing-attributes.spec
+++ b/rust-tracing-attributes.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 24
# * resolve dependency loop with tracing
%bcond_with check
%global debug_package %{nil}
@@ -6,7 +6,7 @@
%global crate tracing-attributes
Name: rust-tracing-attributes
-Version: 0.1.23
+Version: 0.1.24
Release: %autorelease
Summary: Procedural macro attributes for automatically instrumenting functions
@@ -14,8 +14,6 @@ License: MIT
URL: https://crates.io/crates/tracing-attributes
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-
BuildRequires: rust-packaging >= 21
%global _description %{expand:
diff --git a/sources b/sources
index eb573fb..e51adb5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tracing-attributes-0.1.23.crate) = 55e92b4e0410805f8cf9eb8ee50cabcf08d1f6c6b4b38c5a51c70f59d06c82096af1f3b9b7dd4267945cf631fa8d99f78ae9b3d0760f9c7ed4d6da6e5e6ff3cb
+SHA512 (tracing-attributes-0.1.24.crate) = 925bb3840ccb093dea2625802e5ee3a5f4bc3eafe2a8715670b1f14d2f4a01eff0c50f11368507247bcade02748eee8585975d156f5d2c932231c6e2ed89c0f5
commit 48ff7463314f0d33c746cf53d5a561a74ee935b7
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jan 21 01:57:10 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1 year
Architecture specific change in rpms/rust-home.git
by githook-noreply@fedoraproject.org
The package rpms/rust-home.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-home.git/commit/?id=675b1c29....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 675b1c29be5eed85466d3c7cc11647a9ee64edb5
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Apr 26 23:37:58 2023 +0200
Update to version 0.5.5; Fixes RHBZ#2189643
diff --git a/.gitignore b/.gitignore
index c6c95f2..d7b54d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/home-0.5.1.crate
/home-0.5.3.crate
/home-0.5.4.crate
+/home-0.5.5.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index c314414..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-home
-
-The rust-home package
\ No newline at end of file
diff --git a/home-fix-metadata-auto.diff b/home-fix-metadata-auto.diff
index e222f8a..4f5fc90 100644
--- a/home-fix-metadata-auto.diff
+++ b/home-fix-metadata-auto.diff
@@ -1,13 +1,12 @@
---- home-0.5.4/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ home-0.5.4/Cargo.toml 1970-01-01T00:00:01+00:00
-@@ -27,10 +27,3 @@
- license = "MIT OR Apache-2.0"
- repository = "https://github.com/brson/home"
+--- home-0.5.5/Cargo.toml 1970-01-01T00:00:01+00:00
++++ home-0.5.5/Cargo.toml 2023-04-26T21:36:34.423434+00:00
+@@ -28,9 +28,3 @@
+ repository = "https://github.com/rust-lang/cargo"
+ resolver = "2"
--[target."cfg(windows)".dependencies.winapi]
--version = "0.3"
+-[target."cfg(windows)".dependencies.windows-sys]
+-version = "0.48.0"
-features = [
-- "shlobj",
-- "std",
-- "winerror",
+- "Win32_Foundation",
+- "Win32_UI_Shell",
-]
diff --git a/rust-home.spec b/rust-home.spec
index 785413e..7a92869 100644
--- a/rust-home.spec
+++ b/rust-home.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate home
Name: rust-home
-Version: 0.5.4
+Version: 0.5.5
Release: %autorelease
Summary: Shared definitions of home directories
@@ -15,8 +15,6 @@ Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: home-fix-metadata-auto.diff
-ExclusiveArch: %{rust_arches}
-
BuildRequires: rust-packaging >= 21
%global _description %{expand:
diff --git a/sources b/sources
index 2482e4c..2a135db 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (home-0.5.4.crate) = 2494111301bd1281c89dc77f4f78d3bc6e3a04d1969938cf4584d465c01af12ad85022832b4a99a5c0ce6adc31a83c00820df2d513a09bf5c0d4fe44c53812a4
+SHA512 (home-0.5.5.crate) = 4ba97149d8f70e9b6eefc930292c7e62fab6ad03d5e4e6bf93d40209d3a65e40932c6f3d14ca579ed19ba33195977c60fc52b3d3788629fc760f41ce90fa1e58
commit 4f5317f916c2e228830f0ad3ee6892e2030e93af
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 20 23:21:10 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
1 year
Architecture specific change in rpms/rust-tracing-attributes.git
by githook-noreply@fedoraproject.org
The package rpms/rust-tracing-attributes.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-tracing-attributes.git/commi....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit a683e40d953ddf134616b2c037b7bcce80a6480c
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Apr 26 23:35:32 2023 +0200
Update to version 0.1.24; Fixes RHBZ#2189307
diff --git a/.gitignore b/.gitignore
index 4f88ba3..04c39d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@
/tracing-attributes-0.1.21.crate
/tracing-attributes-0.1.22.crate
/tracing-attributes-0.1.23.crate
+/tracing-attributes-0.1.24.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 8c6295f..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-tracing-attributes
-
-The rust-tracing-attributes package
diff --git a/rust-tracing-attributes.spec b/rust-tracing-attributes.spec
index a4864cd..0c9016a 100644
--- a/rust-tracing-attributes.spec
+++ b/rust-tracing-attributes.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 24
# * resolve dependency loop with tracing
%bcond_with check
%global debug_package %{nil}
@@ -6,7 +6,7 @@
%global crate tracing-attributes
Name: rust-tracing-attributes
-Version: 0.1.23
+Version: 0.1.24
Release: %autorelease
Summary: Procedural macro attributes for automatically instrumenting functions
@@ -14,8 +14,6 @@ License: MIT
URL: https://crates.io/crates/tracing-attributes
Source: %{crates_source}
-ExclusiveArch: %{rust_arches}
-
BuildRequires: rust-packaging >= 21
%global _description %{expand:
diff --git a/sources b/sources
index eb573fb..e51adb5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tracing-attributes-0.1.23.crate) = 55e92b4e0410805f8cf9eb8ee50cabcf08d1f6c6b4b38c5a51c70f59d06c82096af1f3b9b7dd4267945cf631fa8d99f78ae9b3d0760f9c7ed4d6da6e5e6ff3cb
+SHA512 (tracing-attributes-0.1.24.crate) = 925bb3840ccb093dea2625802e5ee3a5f4bc3eafe2a8715670b1f14d2f4a01eff0c50f11368507247bcade02748eee8585975d156f5d2c932231c6e2ed89c0f5
1 year
Architecture specific change in rpms/rust-home.git
by githook-noreply@fedoraproject.org
The package rpms/rust-home.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-home.git/commit/?id=675b1c29....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 675b1c29be5eed85466d3c7cc11647a9ee64edb5
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Wed Apr 26 23:37:58 2023 +0200
Update to version 0.5.5; Fixes RHBZ#2189643
diff --git a/.gitignore b/.gitignore
index c6c95f2..d7b54d8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/home-0.5.1.crate
/home-0.5.3.crate
/home-0.5.4.crate
+/home-0.5.5.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index c314414..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-home
-
-The rust-home package
\ No newline at end of file
diff --git a/home-fix-metadata-auto.diff b/home-fix-metadata-auto.diff
index e222f8a..4f5fc90 100644
--- a/home-fix-metadata-auto.diff
+++ b/home-fix-metadata-auto.diff
@@ -1,13 +1,12 @@
---- home-0.5.4/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ home-0.5.4/Cargo.toml 1970-01-01T00:00:01+00:00
-@@ -27,10 +27,3 @@
- license = "MIT OR Apache-2.0"
- repository = "https://github.com/brson/home"
+--- home-0.5.5/Cargo.toml 1970-01-01T00:00:01+00:00
++++ home-0.5.5/Cargo.toml 2023-04-26T21:36:34.423434+00:00
+@@ -28,9 +28,3 @@
+ repository = "https://github.com/rust-lang/cargo"
+ resolver = "2"
--[target."cfg(windows)".dependencies.winapi]
--version = "0.3"
+-[target."cfg(windows)".dependencies.windows-sys]
+-version = "0.48.0"
-features = [
-- "shlobj",
-- "std",
-- "winerror",
+- "Win32_Foundation",
+- "Win32_UI_Shell",
-]
diff --git a/rust-home.spec b/rust-home.spec
index 785413e..7a92869 100644
--- a/rust-home.spec
+++ b/rust-home.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate home
Name: rust-home
-Version: 0.5.4
+Version: 0.5.5
Release: %autorelease
Summary: Shared definitions of home directories
@@ -15,8 +15,6 @@ Source: %{crates_source}
# Automatically generated patch to strip foreign dependencies
Patch: home-fix-metadata-auto.diff
-ExclusiveArch: %{rust_arches}
-
BuildRequires: rust-packaging >= 21
%global _description %{expand:
diff --git a/sources b/sources
index 2482e4c..2a135db 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (home-0.5.4.crate) = 2494111301bd1281c89dc77f4f78d3bc6e3a04d1969938cf4584d465c01af12ad85022832b4a99a5c0ce6adc31a83c00820df2d513a09bf5c0d4fe44c53812a4
+SHA512 (home-0.5.5.crate) = 4ba97149d8f70e9b6eefc930292c7e62fab6ad03d5e4e6bf93d40209d3a65e40932c6f3d14ca579ed19ba33195977c60fc52b3d3788629fc760f41ce90fa1e58
1 year
Architecture specific change in rpms/x86-simd-sort.git
by githook-noreply@fedoraproject.org
The package rpms/x86-simd-sort.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/x86-simd-sort.git/commit/?id=a3bc....
Change:
+ExclusiveArch: x86_64
Thanks.
Full change:
============
commit f128345e7b68f8471dff64e2e13953db19024979
Author: Ali Erdinc Koroglu <aekoroglu(a)linux.intel.com>
Date: Wed Apr 26 12:51:38 2023 +0300
dependency fix
diff --git a/x86-simd-sort.spec b/x86-simd-sort.spec
index e6de165..c02886e 100644
--- a/x86-simd-sort.spec
+++ b/x86-simd-sort.spec
@@ -32,7 +32,6 @@ its performance relative to std::sort.
Summary: Development files for %{name}
BuildArch: noarch
Provides: %{name}-static = %{version}-%{release}
-Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
commit a3bcf23924d65c3a483f84761d0d78f586a517ff
Author: Ali Erdinc Koroglu <aekoroglu(a)linux.intel.com>
Date: Wed Apr 26 10:34:31 2023 +0300
1st release
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..47c6237
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/x86-simd-sort-*.tar.gz
diff --git a/1735e86cda95a469357a19ab8984ad8530372e75.patch b/1735e86cda95a469357a19ab8984ad8530372e75.patch
new file mode 100644
index 0000000..ced8705
--- /dev/null
+++ b/1735e86cda95a469357a19ab8984ad8530372e75.patch
@@ -0,0 +1,45 @@
+From 8b64740e323b12dfd7b410d152fde94d6d1b120b Mon Sep 17 00:00:00 2001
+From: Benson Muite <bkmgit(a)users.noreply.github.com>
+Date: Sun, 19 Mar 2023 12:55:27 +0300
+Subject: [PATCH 1/2] Need meson file in utils
+
+---
+ utils/meson.build | 7 +++++++
+ 1 file changed, 7 insertions(+)
+ create mode 100644 utils/meson.build
+
+diff --git a/utils/meson.build b/utils/meson.build
+new file mode 100644
+index 0000000..5772e98
+--- /dev/null
++++ b/utils/meson.build
+@@ -0,0 +1,7 @@
++libcpuinfo = []
++
++libcpuinfo += static_library('cpuinfo',
++ files('cpuinfo.cpp'),
++ include_directories : [src],
++ cpp_args : ['-O3'],
++)
+
+From a4f58dc6d076544e25ce88141d957dd2af3961df Mon Sep 17 00:00:00 2001
+From: Benson Muite <bkmgit(a)users.noreply.github.com>
+Date: Mon, 20 Mar 2023 10:17:36 +0300
+Subject: [PATCH 2/2] src not needed
+
+Co-authored-by: Raghuveer Devulapalli <raghuveer.devulapalli(a)intel.com>
+---
+ utils/meson.build | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/utils/meson.build b/utils/meson.build
+index 5772e98..5f34453 100644
+--- a/utils/meson.build
++++ b/utils/meson.build
+@@ -2,6 +2,5 @@ libcpuinfo = []
+
+ libcpuinfo += static_library('cpuinfo',
+ files('cpuinfo.cpp'),
+- include_directories : [src],
+ cpp_args : ['-O3'],
+ )
diff --git a/meson-build.patch b/meson-build.patch
new file mode 100644
index 0000000..7cfa1fe
--- /dev/null
+++ b/meson-build.patch
@@ -0,0 +1,63 @@
+--- a/meson.build 2023-03-17 16:52:07.106254624 +0200
++++ b/meson.build 2023-03-17 17:00:23.484367054 +0200
+@@ -3,12 +3,12 @@
+ license : 'BSD 3-clause')
+ cc = meson.get_compiler('c')
+ cpp = meson.get_compiler('cpp')
+-src = include_directories('./src')
+-bench = include_directories('./benchmarks')
+-utils = include_directories('./utils')
+-tests = include_directories('./tests')
++src = include_directories('src')
++utils = include_directories('utils')
++tests = include_directories('tests')
+ gtest_dep = dependency('gtest', fallback : ['gtest', 'gtest_dep'])
+-subdir('./tests')
++subdir('src')
++subdir('tests')
+
+ testexe = executable('testexe', 'tests/main.cpp',
+ dependencies : gtest_dep,
+@@ -17,16 +17,18 @@
+ ]
+ )
+
+-benchexe = executable('benchexe', 'benchmarks/main.cpp',
+- include_directories : [
+- src,
+- utils,
+- bench,
+- ],
+- cpp_args : [
+- '-O3',
+- '-march=icelake-client',
+- ],
+- dependencies : [],
+- link_whole : [],
+- )
++test('test', testexe)
++
++#
++# x86-simd-sort.pc generation
++#
++datadir = get_option('datadir')
++pkgconfig_dir = join_paths(get_option('prefix'), datadir, 'pkgconfig')
++
++pkgconfig = import('pkgconfig')
++pkgconfig.generate(name : meson.project_name(),
++ description : 'x86-simd-sort headers',
++ version : meson.project_version(),
++ subdirs : 'x86-simd-sort',
++ install_dir : pkgconfig_dir,
++ variables : 'datadir=@0@'.format(join_paths('${prefix}', datadir)))
+--- /dev/null
++++ b/src/meson.build
+@@ -0,0 +1,8 @@
++x86_simd_sort_headers = [
++ 'avx512-16bit-qsort.hpp',
++ 'avx512-32bit-qsort.hpp',
++ 'avx512-64bit-qsort.hpp',
++ 'avx512-common-qsort.h',
++]
++
++install_headers(x86_simd_sort_headers)
diff --git a/sources b/sources
new file mode 100644
index 0000000..2221b22
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (x86-simd-sort-1.0.tar.gz) = d7c3c0bfc3eae53df248b0c690fcbecdbd96a04dbea165f783511c1d4ae0f1f1c74375422b9d893fa9ccbeb52a87b35de36dfc9bf312d777d9ae62adce9b429d
diff --git a/x86-simd-sort.spec b/x86-simd-sort.spec
new file mode 100644
index 0000000..e6de165
--- /dev/null
+++ b/x86-simd-sort.spec
@@ -0,0 +1,62 @@
+%global debug_package %{nil}
+
+Name: x86-simd-sort
+Version: 1.0
+Release: %autorelease
+Summary: C++ header file library for high performance SIMD based sorting algorithms
+
+License: BSD-3-Clause
+URL: https://github.com/intel/x86-simd-sort
+Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+
+Patch0: meson-build.patch
+# https://github.com/intel/x86-simd-sort/commit/1735e86cda95a469357a19ab898...
+Patch1: 1735e86cda95a469357a19ab8984ad8530372e75.patch
+
+# C++ header file library for x86 processors.
+ExclusiveArch: x86_64
+
+BuildRequires: gcc-c++
+BuildRequires: gtest-devel
+BuildRequires: meson
+
+%description
+C++ header file library for SIMD based 16-bit, 32-bit and 64-bit data type
+sorting on x86 processors. Source header files are available in src directory.
+We currently only have AVX-512 based implementation of quicksort. This
+repository also includes a test suite which can be built and run to test the
+sorting algorithms for correctness. It also has benchmarking code to compare
+its performance relative to std::sort.
+
+%package devel
+Summary: Development files for %{name}
+BuildArch: noarch
+Provides: %{name}-static = %{version}-%{release}
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+applications that use %{name}.
+
+%prep
+%autosetup -p1
+
+%build
+%meson
+%meson_build
+
+%install
+%meson_install
+
+%check
+%meson_test -v
+
+%files devel
+%license LICENSE.md
+%doc README.md
+%{_includedir}/*.h
+%{_includedir}/*.hpp
+%{_datadir}/pkgconfig/%{name}.pc
+
+%changelog
+%autochangelog
1 year
Architecture specific change in rpms/x86-simd-sort.git
by githook-noreply@fedoraproject.org
The package rpms/x86-simd-sort.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/x86-simd-sort.git/commit/?id=a3bc....
Change:
+ExclusiveArch: x86_64
Thanks.
Full change:
============
commit f128345e7b68f8471dff64e2e13953db19024979
Author: Ali Erdinc Koroglu <aekoroglu(a)linux.intel.com>
Date: Wed Apr 26 12:51:38 2023 +0300
dependency fix
diff --git a/x86-simd-sort.spec b/x86-simd-sort.spec
index e6de165..c02886e 100644
--- a/x86-simd-sort.spec
+++ b/x86-simd-sort.spec
@@ -32,7 +32,6 @@ its performance relative to std::sort.
Summary: Development files for %{name}
BuildArch: noarch
Provides: %{name}-static = %{version}-%{release}
-Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
commit a3bcf23924d65c3a483f84761d0d78f586a517ff
Author: Ali Erdinc Koroglu <aekoroglu(a)linux.intel.com>
Date: Wed Apr 26 10:34:31 2023 +0300
1st release
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..47c6237
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/x86-simd-sort-*.tar.gz
diff --git a/1735e86cda95a469357a19ab8984ad8530372e75.patch b/1735e86cda95a469357a19ab8984ad8530372e75.patch
new file mode 100644
index 0000000..ced8705
--- /dev/null
+++ b/1735e86cda95a469357a19ab8984ad8530372e75.patch
@@ -0,0 +1,45 @@
+From 8b64740e323b12dfd7b410d152fde94d6d1b120b Mon Sep 17 00:00:00 2001
+From: Benson Muite <bkmgit(a)users.noreply.github.com>
+Date: Sun, 19 Mar 2023 12:55:27 +0300
+Subject: [PATCH 1/2] Need meson file in utils
+
+---
+ utils/meson.build | 7 +++++++
+ 1 file changed, 7 insertions(+)
+ create mode 100644 utils/meson.build
+
+diff --git a/utils/meson.build b/utils/meson.build
+new file mode 100644
+index 0000000..5772e98
+--- /dev/null
++++ b/utils/meson.build
+@@ -0,0 +1,7 @@
++libcpuinfo = []
++
++libcpuinfo += static_library('cpuinfo',
++ files('cpuinfo.cpp'),
++ include_directories : [src],
++ cpp_args : ['-O3'],
++)
+
+From a4f58dc6d076544e25ce88141d957dd2af3961df Mon Sep 17 00:00:00 2001
+From: Benson Muite <bkmgit(a)users.noreply.github.com>
+Date: Mon, 20 Mar 2023 10:17:36 +0300
+Subject: [PATCH 2/2] src not needed
+
+Co-authored-by: Raghuveer Devulapalli <raghuveer.devulapalli(a)intel.com>
+---
+ utils/meson.build | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/utils/meson.build b/utils/meson.build
+index 5772e98..5f34453 100644
+--- a/utils/meson.build
++++ b/utils/meson.build
+@@ -2,6 +2,5 @@ libcpuinfo = []
+
+ libcpuinfo += static_library('cpuinfo',
+ files('cpuinfo.cpp'),
+- include_directories : [src],
+ cpp_args : ['-O3'],
+ )
diff --git a/meson-build.patch b/meson-build.patch
new file mode 100644
index 0000000..7cfa1fe
--- /dev/null
+++ b/meson-build.patch
@@ -0,0 +1,63 @@
+--- a/meson.build 2023-03-17 16:52:07.106254624 +0200
++++ b/meson.build 2023-03-17 17:00:23.484367054 +0200
+@@ -3,12 +3,12 @@
+ license : 'BSD 3-clause')
+ cc = meson.get_compiler('c')
+ cpp = meson.get_compiler('cpp')
+-src = include_directories('./src')
+-bench = include_directories('./benchmarks')
+-utils = include_directories('./utils')
+-tests = include_directories('./tests')
++src = include_directories('src')
++utils = include_directories('utils')
++tests = include_directories('tests')
+ gtest_dep = dependency('gtest', fallback : ['gtest', 'gtest_dep'])
+-subdir('./tests')
++subdir('src')
++subdir('tests')
+
+ testexe = executable('testexe', 'tests/main.cpp',
+ dependencies : gtest_dep,
+@@ -17,16 +17,18 @@
+ ]
+ )
+
+-benchexe = executable('benchexe', 'benchmarks/main.cpp',
+- include_directories : [
+- src,
+- utils,
+- bench,
+- ],
+- cpp_args : [
+- '-O3',
+- '-march=icelake-client',
+- ],
+- dependencies : [],
+- link_whole : [],
+- )
++test('test', testexe)
++
++#
++# x86-simd-sort.pc generation
++#
++datadir = get_option('datadir')
++pkgconfig_dir = join_paths(get_option('prefix'), datadir, 'pkgconfig')
++
++pkgconfig = import('pkgconfig')
++pkgconfig.generate(name : meson.project_name(),
++ description : 'x86-simd-sort headers',
++ version : meson.project_version(),
++ subdirs : 'x86-simd-sort',
++ install_dir : pkgconfig_dir,
++ variables : 'datadir=@0@'.format(join_paths('${prefix}', datadir)))
+--- /dev/null
++++ b/src/meson.build
+@@ -0,0 +1,8 @@
++x86_simd_sort_headers = [
++ 'avx512-16bit-qsort.hpp',
++ 'avx512-32bit-qsort.hpp',
++ 'avx512-64bit-qsort.hpp',
++ 'avx512-common-qsort.h',
++]
++
++install_headers(x86_simd_sort_headers)
diff --git a/sources b/sources
new file mode 100644
index 0000000..2221b22
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (x86-simd-sort-1.0.tar.gz) = d7c3c0bfc3eae53df248b0c690fcbecdbd96a04dbea165f783511c1d4ae0f1f1c74375422b9d893fa9ccbeb52a87b35de36dfc9bf312d777d9ae62adce9b429d
diff --git a/x86-simd-sort.spec b/x86-simd-sort.spec
new file mode 100644
index 0000000..e6de165
--- /dev/null
+++ b/x86-simd-sort.spec
@@ -0,0 +1,62 @@
+%global debug_package %{nil}
+
+Name: x86-simd-sort
+Version: 1.0
+Release: %autorelease
+Summary: C++ header file library for high performance SIMD based sorting algorithms
+
+License: BSD-3-Clause
+URL: https://github.com/intel/x86-simd-sort
+Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+
+Patch0: meson-build.patch
+# https://github.com/intel/x86-simd-sort/commit/1735e86cda95a469357a19ab898...
+Patch1: 1735e86cda95a469357a19ab8984ad8530372e75.patch
+
+# C++ header file library for x86 processors.
+ExclusiveArch: x86_64
+
+BuildRequires: gcc-c++
+BuildRequires: gtest-devel
+BuildRequires: meson
+
+%description
+C++ header file library for SIMD based 16-bit, 32-bit and 64-bit data type
+sorting on x86 processors. Source header files are available in src directory.
+We currently only have AVX-512 based implementation of quicksort. This
+repository also includes a test suite which can be built and run to test the
+sorting algorithms for correctness. It also has benchmarking code to compare
+its performance relative to std::sort.
+
+%package devel
+Summary: Development files for %{name}
+BuildArch: noarch
+Provides: %{name}-static = %{version}-%{release}
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+applications that use %{name}.
+
+%prep
+%autosetup -p1
+
+%build
+%meson
+%meson_build
+
+%install
+%meson_install
+
+%check
+%meson_test -v
+
+%files devel
+%license LICENSE.md
+%doc README.md
+%{_includedir}/*.h
+%{_includedir}/*.hpp
+%{_datadir}/pkgconfig/%{name}.pc
+
+%changelog
+%autochangelog
1 year
Architecture specific change in rpms/x86-simd-sort.git
by githook-noreply@fedoraproject.org
The package rpms/x86-simd-sort.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/x86-simd-sort.git/commit/?id=a3bc....
Change:
+ExclusiveArch: x86_64
Thanks.
Full change:
============
commit f128345e7b68f8471dff64e2e13953db19024979
Author: Ali Erdinc Koroglu <aekoroglu(a)linux.intel.com>
Date: Wed Apr 26 12:51:38 2023 +0300
dependency fix
diff --git a/x86-simd-sort.spec b/x86-simd-sort.spec
index e6de165..c02886e 100644
--- a/x86-simd-sort.spec
+++ b/x86-simd-sort.spec
@@ -32,7 +32,6 @@ its performance relative to std::sort.
Summary: Development files for %{name}
BuildArch: noarch
Provides: %{name}-static = %{version}-%{release}
-Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
commit a3bcf23924d65c3a483f84761d0d78f586a517ff
Author: Ali Erdinc Koroglu <aekoroglu(a)linux.intel.com>
Date: Wed Apr 26 10:34:31 2023 +0300
1st release
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..47c6237
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/x86-simd-sort-*.tar.gz
diff --git a/1735e86cda95a469357a19ab8984ad8530372e75.patch b/1735e86cda95a469357a19ab8984ad8530372e75.patch
new file mode 100644
index 0000000..ced8705
--- /dev/null
+++ b/1735e86cda95a469357a19ab8984ad8530372e75.patch
@@ -0,0 +1,45 @@
+From 8b64740e323b12dfd7b410d152fde94d6d1b120b Mon Sep 17 00:00:00 2001
+From: Benson Muite <bkmgit(a)users.noreply.github.com>
+Date: Sun, 19 Mar 2023 12:55:27 +0300
+Subject: [PATCH 1/2] Need meson file in utils
+
+---
+ utils/meson.build | 7 +++++++
+ 1 file changed, 7 insertions(+)
+ create mode 100644 utils/meson.build
+
+diff --git a/utils/meson.build b/utils/meson.build
+new file mode 100644
+index 0000000..5772e98
+--- /dev/null
++++ b/utils/meson.build
+@@ -0,0 +1,7 @@
++libcpuinfo = []
++
++libcpuinfo += static_library('cpuinfo',
++ files('cpuinfo.cpp'),
++ include_directories : [src],
++ cpp_args : ['-O3'],
++)
+
+From a4f58dc6d076544e25ce88141d957dd2af3961df Mon Sep 17 00:00:00 2001
+From: Benson Muite <bkmgit(a)users.noreply.github.com>
+Date: Mon, 20 Mar 2023 10:17:36 +0300
+Subject: [PATCH 2/2] src not needed
+
+Co-authored-by: Raghuveer Devulapalli <raghuveer.devulapalli(a)intel.com>
+---
+ utils/meson.build | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/utils/meson.build b/utils/meson.build
+index 5772e98..5f34453 100644
+--- a/utils/meson.build
++++ b/utils/meson.build
+@@ -2,6 +2,5 @@ libcpuinfo = []
+
+ libcpuinfo += static_library('cpuinfo',
+ files('cpuinfo.cpp'),
+- include_directories : [src],
+ cpp_args : ['-O3'],
+ )
diff --git a/meson-build.patch b/meson-build.patch
new file mode 100644
index 0000000..7cfa1fe
--- /dev/null
+++ b/meson-build.patch
@@ -0,0 +1,63 @@
+--- a/meson.build 2023-03-17 16:52:07.106254624 +0200
++++ b/meson.build 2023-03-17 17:00:23.484367054 +0200
+@@ -3,12 +3,12 @@
+ license : 'BSD 3-clause')
+ cc = meson.get_compiler('c')
+ cpp = meson.get_compiler('cpp')
+-src = include_directories('./src')
+-bench = include_directories('./benchmarks')
+-utils = include_directories('./utils')
+-tests = include_directories('./tests')
++src = include_directories('src')
++utils = include_directories('utils')
++tests = include_directories('tests')
+ gtest_dep = dependency('gtest', fallback : ['gtest', 'gtest_dep'])
+-subdir('./tests')
++subdir('src')
++subdir('tests')
+
+ testexe = executable('testexe', 'tests/main.cpp',
+ dependencies : gtest_dep,
+@@ -17,16 +17,18 @@
+ ]
+ )
+
+-benchexe = executable('benchexe', 'benchmarks/main.cpp',
+- include_directories : [
+- src,
+- utils,
+- bench,
+- ],
+- cpp_args : [
+- '-O3',
+- '-march=icelake-client',
+- ],
+- dependencies : [],
+- link_whole : [],
+- )
++test('test', testexe)
++
++#
++# x86-simd-sort.pc generation
++#
++datadir = get_option('datadir')
++pkgconfig_dir = join_paths(get_option('prefix'), datadir, 'pkgconfig')
++
++pkgconfig = import('pkgconfig')
++pkgconfig.generate(name : meson.project_name(),
++ description : 'x86-simd-sort headers',
++ version : meson.project_version(),
++ subdirs : 'x86-simd-sort',
++ install_dir : pkgconfig_dir,
++ variables : 'datadir=@0@'.format(join_paths('${prefix}', datadir)))
+--- /dev/null
++++ b/src/meson.build
+@@ -0,0 +1,8 @@
++x86_simd_sort_headers = [
++ 'avx512-16bit-qsort.hpp',
++ 'avx512-32bit-qsort.hpp',
++ 'avx512-64bit-qsort.hpp',
++ 'avx512-common-qsort.h',
++]
++
++install_headers(x86_simd_sort_headers)
diff --git a/sources b/sources
new file mode 100644
index 0000000..2221b22
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (x86-simd-sort-1.0.tar.gz) = d7c3c0bfc3eae53df248b0c690fcbecdbd96a04dbea165f783511c1d4ae0f1f1c74375422b9d893fa9ccbeb52a87b35de36dfc9bf312d777d9ae62adce9b429d
diff --git a/x86-simd-sort.spec b/x86-simd-sort.spec
new file mode 100644
index 0000000..e6de165
--- /dev/null
+++ b/x86-simd-sort.spec
@@ -0,0 +1,62 @@
+%global debug_package %{nil}
+
+Name: x86-simd-sort
+Version: 1.0
+Release: %autorelease
+Summary: C++ header file library for high performance SIMD based sorting algorithms
+
+License: BSD-3-Clause
+URL: https://github.com/intel/x86-simd-sort
+Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+
+Patch0: meson-build.patch
+# https://github.com/intel/x86-simd-sort/commit/1735e86cda95a469357a19ab898...
+Patch1: 1735e86cda95a469357a19ab8984ad8530372e75.patch
+
+# C++ header file library for x86 processors.
+ExclusiveArch: x86_64
+
+BuildRequires: gcc-c++
+BuildRequires: gtest-devel
+BuildRequires: meson
+
+%description
+C++ header file library for SIMD based 16-bit, 32-bit and 64-bit data type
+sorting on x86 processors. Source header files are available in src directory.
+We currently only have AVX-512 based implementation of quicksort. This
+repository also includes a test suite which can be built and run to test the
+sorting algorithms for correctness. It also has benchmarking code to compare
+its performance relative to std::sort.
+
+%package devel
+Summary: Development files for %{name}
+BuildArch: noarch
+Provides: %{name}-static = %{version}-%{release}
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+applications that use %{name}.
+
+%prep
+%autosetup -p1
+
+%build
+%meson
+%meson_build
+
+%install
+%meson_install
+
+%check
+%meson_test -v
+
+%files devel
+%license LICENSE.md
+%doc README.md
+%{_includedir}/*.h
+%{_includedir}/*.hpp
+%{_datadir}/pkgconfig/%{name}.pc
+
+%changelog
+%autochangelog
1 year
Architecture specific change in rpms/python-awscrt.git
by githook-noreply@fedoraproject.org
The package rpms/python-awscrt.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/python-awscrt.git/commit/?id=a5ed....
Change:
+ExcludeArch: s390x
Thanks.
Full change:
============
commit a5edb034c9900e0ab0eed251712621d6255f64c0
Author: Nikola Forró <nforro(a)redhat.com>
Date: Wed Apr 26 14:55:24 2023 +0200
New upstream release 0.16.16
diff --git a/.gitignore b/.gitignore
index 48f7351..123b838 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/awscrt-0.16.13.tar.gz
+/awscrt-0.16.16.tar.gz
diff --git a/python-awscrt.spec b/python-awscrt.spec
index febf40a..d57806e 100644
--- a/python-awscrt.spec
+++ b/python-awscrt.spec
@@ -3,8 +3,8 @@ Python bindings for the AWS Common Runtime}
Name: python-awscrt
-Version: 0.16.13
-Release: 2%{?dist}
+Version: 0.16.16
+Release: 1%{?dist}
Summary: Python bindings for the AWS Common Runtime
# All files are licensed under Apache-2.0, except:
@@ -16,9 +16,6 @@ URL: https://github.com/awslabs/aws-crt-python
Source0: %{pypi_source awscrt}
-# https://github.com/awslabs/aws-crt-python/pull/456
-Patch0: use-system-libcrypto.patch
-
# one test requires internet connection, skip it
Patch1: skip-test-requiring-network.patch
@@ -32,7 +29,7 @@ BuildRequires: openssl-devel
BuildRequires: python%{python3_pkgversion}-websockets
# https://bugzilla.redhat.com/show_bug.cgi?id=2180988
-ExcludeArch: s390x
+ExcludeArch: s390x
%description
@@ -79,6 +76,9 @@ PYTHONPATH="%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}" %{py
%changelog
+* Wed Apr 26 2023 Nikola Forró <nforro(a)redhat.com> - 0.16.16-1
+- New upstream release 0.16.16
+
* Wed Mar 22 2023 Nikola Forró <nforro(a)redhat.com> - 0.16.13-2
- Workaround a crash on %%ix86
diff --git a/sources b/sources
index aa34de0..d90d42b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (awscrt-0.16.13.tar.gz) = 4f5d3309c2e12f64b74b264a24a3e341f9b6e03579ca0b8631ca065577b863381bc85491d7619f820ba3196961289c2ef82f5cd3cedde1e5247600de24afcdfe
+SHA512 (awscrt-0.16.16.tar.gz) = 5c94d6a33efc6000361283dc59d49a09bf7943c317fb5ef29bea3d7bc265420ae147510417fe7c0901fe71f3e5baf6235044b994a6cc03278a332c34df2b6e91
diff --git a/use-system-libcrypto.patch b/use-system-libcrypto.patch
deleted file mode 100644
index 1ede7d5..0000000
--- a/use-system-libcrypto.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-diff --git a/crt/CMakeLists.txt b/crt/CMakeLists.txt
-index a2aa142..2484781 100644
---- a/crt/CMakeLists.txt
-+++ b/crt/CMakeLists.txt
-@@ -29,10 +29,14 @@ include(CTest)
- # On Unix we use S2N for TLS and AWS-LC crypto.
- # (On Windows and Apple we use the default OS libraries)
- if(UNIX AND NOT APPLE)
-- set(DISABLE_GO ON CACHE BOOL "Build without using Go, we don't want the extra dependency")
-- set(DISABLE_PERL ON CACHE BOOL "Build without using Perl, we don't want the extra dependency")
-- set(BUILD_LIBSSL OFF CACHE BOOL "Don't need libssl, only need libcrypto")
-- add_subdirectory(aws-lc)
-+ option(USE_OPENSSL "Set this if you want to use your system's OpenSSL compatible libcrypto" OFF)
-+
-+ if(NOT USE_OPENSSL)
-+ set(DISABLE_GO ON CACHE BOOL "Build without using Go, we don't want the extra dependency")
-+ set(DISABLE_PERL ON CACHE BOOL "Build without using Perl, we don't want the extra dependency")
-+ set(BUILD_LIBSSL OFF CACHE BOOL "Don't need libssl, only need libcrypto")
-+ add_subdirectory(aws-lc)
-+ endif()
-
- set(UNSAFE_TREAT_WARNINGS_AS_ERRORS OFF CACHE BOOL "")
- add_subdirectory(s2n)
-diff --git a/setup.py b/setup.py
-index e85948c..d7c6291 100644
---- a/setup.py
-+++ b/setup.py
-@@ -121,6 +121,10 @@ def get_cmake_path():
- raise Exception("CMake must be installed to build from source.")
-
-
-+def using_system_libcrypto():
-+ return os.getenv('AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO') == '1'
-+
-+
- class AwsLib:
- def __init__(self, name, extra_cmake_args=[], libname=None):
- self.name = name
-@@ -132,8 +136,9 @@ class AwsLib:
- # They're built along with the extension.
- AWS_LIBS = []
- if sys.platform != 'darwin' and sys.platform != 'win32':
-- # aws-lc produces libcrypto.a
-- AWS_LIBS.append(AwsLib('aws-lc', libname='crypto'))
-+ if not using_system_libcrypto():
-+ # aws-lc produces libcrypto.a
-+ AWS_LIBS.append(AwsLib('aws-lc', libname='crypto'))
- AWS_LIBS.append(AwsLib('s2n'))
- AWS_LIBS.append(AwsLib('aws-c-common'))
- AWS_LIBS.append(AwsLib('aws-c-sdkutils'))
-@@ -182,6 +187,9 @@ class awscrt_build_ext(setuptools.command.build_ext.build_ext):
- f'-DCMAKE_BUILD_TYPE={build_type}',
- ])
-
-+ if using_system_libcrypto():
-+ cmake_args.append('-DUSE_OPENSSL=ON')
-+
- if sys.platform == 'darwin':
- # build lib with same MACOSX_DEPLOYMENT_TARGET that python will ultimately
- # use to link everything together, otherwise there will be linker warnings.
-@@ -298,13 +306,13 @@ def awscrt_ext():
- extra_link_args += ['-framework', 'Security']
-
- else: # unix
-- # linker will prefer shared libraries over static if it can find both.
-- # force linker to choose static variant by using using "-l:libcrypto.a" syntax instead of just "-lcrypto".
-- libraries = [':lib{}.a'.format(x) for x in libraries]
- # OpenBSD doesn't have librt; functions are found in libc instead.
- if not sys.platform.startswith('openbsd'):
- libraries += ['rt']
-
-+ if using_system_libcrypto():
-+ libraries += ['crypto']
-+
- # hide the symbols from libcrypto.a
- # this prevents weird crashes if an application also ends up using
- # libcrypto.so from the system's OpenSSL installation.
1 year
Architecture specific change in rpms/python-awscrt.git
by githook-noreply@fedoraproject.org
The package rpms/python-awscrt.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/python-awscrt.git/commit/?id=a5ed....
Change:
+ExcludeArch: s390x
Thanks.
Full change:
============
commit a5edb034c9900e0ab0eed251712621d6255f64c0
Author: Nikola Forró <nforro(a)redhat.com>
Date: Wed Apr 26 14:55:24 2023 +0200
New upstream release 0.16.16
diff --git a/.gitignore b/.gitignore
index 48f7351..123b838 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/awscrt-0.16.13.tar.gz
+/awscrt-0.16.16.tar.gz
diff --git a/python-awscrt.spec b/python-awscrt.spec
index febf40a..d57806e 100644
--- a/python-awscrt.spec
+++ b/python-awscrt.spec
@@ -3,8 +3,8 @@ Python bindings for the AWS Common Runtime}
Name: python-awscrt
-Version: 0.16.13
-Release: 2%{?dist}
+Version: 0.16.16
+Release: 1%{?dist}
Summary: Python bindings for the AWS Common Runtime
# All files are licensed under Apache-2.0, except:
@@ -16,9 +16,6 @@ URL: https://github.com/awslabs/aws-crt-python
Source0: %{pypi_source awscrt}
-# https://github.com/awslabs/aws-crt-python/pull/456
-Patch0: use-system-libcrypto.patch
-
# one test requires internet connection, skip it
Patch1: skip-test-requiring-network.patch
@@ -32,7 +29,7 @@ BuildRequires: openssl-devel
BuildRequires: python%{python3_pkgversion}-websockets
# https://bugzilla.redhat.com/show_bug.cgi?id=2180988
-ExcludeArch: s390x
+ExcludeArch: s390x
%description
@@ -79,6 +76,9 @@ PYTHONPATH="%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}" %{py
%changelog
+* Wed Apr 26 2023 Nikola Forró <nforro(a)redhat.com> - 0.16.16-1
+- New upstream release 0.16.16
+
* Wed Mar 22 2023 Nikola Forró <nforro(a)redhat.com> - 0.16.13-2
- Workaround a crash on %%ix86
diff --git a/sources b/sources
index aa34de0..d90d42b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (awscrt-0.16.13.tar.gz) = 4f5d3309c2e12f64b74b264a24a3e341f9b6e03579ca0b8631ca065577b863381bc85491d7619f820ba3196961289c2ef82f5cd3cedde1e5247600de24afcdfe
+SHA512 (awscrt-0.16.16.tar.gz) = 5c94d6a33efc6000361283dc59d49a09bf7943c317fb5ef29bea3d7bc265420ae147510417fe7c0901fe71f3e5baf6235044b994a6cc03278a332c34df2b6e91
diff --git a/use-system-libcrypto.patch b/use-system-libcrypto.patch
deleted file mode 100644
index 1ede7d5..0000000
--- a/use-system-libcrypto.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-diff --git a/crt/CMakeLists.txt b/crt/CMakeLists.txt
-index a2aa142..2484781 100644
---- a/crt/CMakeLists.txt
-+++ b/crt/CMakeLists.txt
-@@ -29,10 +29,14 @@ include(CTest)
- # On Unix we use S2N for TLS and AWS-LC crypto.
- # (On Windows and Apple we use the default OS libraries)
- if(UNIX AND NOT APPLE)
-- set(DISABLE_GO ON CACHE BOOL "Build without using Go, we don't want the extra dependency")
-- set(DISABLE_PERL ON CACHE BOOL "Build without using Perl, we don't want the extra dependency")
-- set(BUILD_LIBSSL OFF CACHE BOOL "Don't need libssl, only need libcrypto")
-- add_subdirectory(aws-lc)
-+ option(USE_OPENSSL "Set this if you want to use your system's OpenSSL compatible libcrypto" OFF)
-+
-+ if(NOT USE_OPENSSL)
-+ set(DISABLE_GO ON CACHE BOOL "Build without using Go, we don't want the extra dependency")
-+ set(DISABLE_PERL ON CACHE BOOL "Build without using Perl, we don't want the extra dependency")
-+ set(BUILD_LIBSSL OFF CACHE BOOL "Don't need libssl, only need libcrypto")
-+ add_subdirectory(aws-lc)
-+ endif()
-
- set(UNSAFE_TREAT_WARNINGS_AS_ERRORS OFF CACHE BOOL "")
- add_subdirectory(s2n)
-diff --git a/setup.py b/setup.py
-index e85948c..d7c6291 100644
---- a/setup.py
-+++ b/setup.py
-@@ -121,6 +121,10 @@ def get_cmake_path():
- raise Exception("CMake must be installed to build from source.")
-
-
-+def using_system_libcrypto():
-+ return os.getenv('AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO') == '1'
-+
-+
- class AwsLib:
- def __init__(self, name, extra_cmake_args=[], libname=None):
- self.name = name
-@@ -132,8 +136,9 @@ class AwsLib:
- # They're built along with the extension.
- AWS_LIBS = []
- if sys.platform != 'darwin' and sys.platform != 'win32':
-- # aws-lc produces libcrypto.a
-- AWS_LIBS.append(AwsLib('aws-lc', libname='crypto'))
-+ if not using_system_libcrypto():
-+ # aws-lc produces libcrypto.a
-+ AWS_LIBS.append(AwsLib('aws-lc', libname='crypto'))
- AWS_LIBS.append(AwsLib('s2n'))
- AWS_LIBS.append(AwsLib('aws-c-common'))
- AWS_LIBS.append(AwsLib('aws-c-sdkutils'))
-@@ -182,6 +187,9 @@ class awscrt_build_ext(setuptools.command.build_ext.build_ext):
- f'-DCMAKE_BUILD_TYPE={build_type}',
- ])
-
-+ if using_system_libcrypto():
-+ cmake_args.append('-DUSE_OPENSSL=ON')
-+
- if sys.platform == 'darwin':
- # build lib with same MACOSX_DEPLOYMENT_TARGET that python will ultimately
- # use to link everything together, otherwise there will be linker warnings.
-@@ -298,13 +306,13 @@ def awscrt_ext():
- extra_link_args += ['-framework', 'Security']
-
- else: # unix
-- # linker will prefer shared libraries over static if it can find both.
-- # force linker to choose static variant by using using "-l:libcrypto.a" syntax instead of just "-lcrypto".
-- libraries = [':lib{}.a'.format(x) for x in libraries]
- # OpenBSD doesn't have librt; functions are found in libc instead.
- if not sys.platform.startswith('openbsd'):
- libraries += ['rt']
-
-+ if using_system_libcrypto():
-+ libraries += ['crypto']
-+
- # hide the symbols from libcrypto.a
- # this prevents weird crashes if an application also ends up using
- # libcrypto.so from the system's OpenSSL installation.
1 year
Architecture specific change in rpms/python-awscrt.git
by githook-noreply@fedoraproject.org
The package rpms/python-awscrt.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/python-awscrt.git/commit/?id=a5ed....
Change:
+ExcludeArch: s390x
Thanks.
Full change:
============
commit a5edb034c9900e0ab0eed251712621d6255f64c0
Author: Nikola Forró <nforro(a)redhat.com>
Date: Wed Apr 26 14:55:24 2023 +0200
New upstream release 0.16.16
diff --git a/.gitignore b/.gitignore
index 48f7351..123b838 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/awscrt-0.16.13.tar.gz
+/awscrt-0.16.16.tar.gz
diff --git a/python-awscrt.spec b/python-awscrt.spec
index febf40a..d57806e 100644
--- a/python-awscrt.spec
+++ b/python-awscrt.spec
@@ -3,8 +3,8 @@ Python bindings for the AWS Common Runtime}
Name: python-awscrt
-Version: 0.16.13
-Release: 2%{?dist}
+Version: 0.16.16
+Release: 1%{?dist}
Summary: Python bindings for the AWS Common Runtime
# All files are licensed under Apache-2.0, except:
@@ -16,9 +16,6 @@ URL: https://github.com/awslabs/aws-crt-python
Source0: %{pypi_source awscrt}
-# https://github.com/awslabs/aws-crt-python/pull/456
-Patch0: use-system-libcrypto.patch
-
# one test requires internet connection, skip it
Patch1: skip-test-requiring-network.patch
@@ -32,7 +29,7 @@ BuildRequires: openssl-devel
BuildRequires: python%{python3_pkgversion}-websockets
# https://bugzilla.redhat.com/show_bug.cgi?id=2180988
-ExcludeArch: s390x
+ExcludeArch: s390x
%description
@@ -79,6 +76,9 @@ PYTHONPATH="%{buildroot}%{python3_sitearch}:%{buildroot}%{python3_sitelib}" %{py
%changelog
+* Wed Apr 26 2023 Nikola Forró <nforro(a)redhat.com> - 0.16.16-1
+- New upstream release 0.16.16
+
* Wed Mar 22 2023 Nikola Forró <nforro(a)redhat.com> - 0.16.13-2
- Workaround a crash on %%ix86
diff --git a/sources b/sources
index aa34de0..d90d42b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (awscrt-0.16.13.tar.gz) = 4f5d3309c2e12f64b74b264a24a3e341f9b6e03579ca0b8631ca065577b863381bc85491d7619f820ba3196961289c2ef82f5cd3cedde1e5247600de24afcdfe
+SHA512 (awscrt-0.16.16.tar.gz) = 5c94d6a33efc6000361283dc59d49a09bf7943c317fb5ef29bea3d7bc265420ae147510417fe7c0901fe71f3e5baf6235044b994a6cc03278a332c34df2b6e91
diff --git a/use-system-libcrypto.patch b/use-system-libcrypto.patch
deleted file mode 100644
index 1ede7d5..0000000
--- a/use-system-libcrypto.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-diff --git a/crt/CMakeLists.txt b/crt/CMakeLists.txt
-index a2aa142..2484781 100644
---- a/crt/CMakeLists.txt
-+++ b/crt/CMakeLists.txt
-@@ -29,10 +29,14 @@ include(CTest)
- # On Unix we use S2N for TLS and AWS-LC crypto.
- # (On Windows and Apple we use the default OS libraries)
- if(UNIX AND NOT APPLE)
-- set(DISABLE_GO ON CACHE BOOL "Build without using Go, we don't want the extra dependency")
-- set(DISABLE_PERL ON CACHE BOOL "Build without using Perl, we don't want the extra dependency")
-- set(BUILD_LIBSSL OFF CACHE BOOL "Don't need libssl, only need libcrypto")
-- add_subdirectory(aws-lc)
-+ option(USE_OPENSSL "Set this if you want to use your system's OpenSSL compatible libcrypto" OFF)
-+
-+ if(NOT USE_OPENSSL)
-+ set(DISABLE_GO ON CACHE BOOL "Build without using Go, we don't want the extra dependency")
-+ set(DISABLE_PERL ON CACHE BOOL "Build without using Perl, we don't want the extra dependency")
-+ set(BUILD_LIBSSL OFF CACHE BOOL "Don't need libssl, only need libcrypto")
-+ add_subdirectory(aws-lc)
-+ endif()
-
- set(UNSAFE_TREAT_WARNINGS_AS_ERRORS OFF CACHE BOOL "")
- add_subdirectory(s2n)
-diff --git a/setup.py b/setup.py
-index e85948c..d7c6291 100644
---- a/setup.py
-+++ b/setup.py
-@@ -121,6 +121,10 @@ def get_cmake_path():
- raise Exception("CMake must be installed to build from source.")
-
-
-+def using_system_libcrypto():
-+ return os.getenv('AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO') == '1'
-+
-+
- class AwsLib:
- def __init__(self, name, extra_cmake_args=[], libname=None):
- self.name = name
-@@ -132,8 +136,9 @@ class AwsLib:
- # They're built along with the extension.
- AWS_LIBS = []
- if sys.platform != 'darwin' and sys.platform != 'win32':
-- # aws-lc produces libcrypto.a
-- AWS_LIBS.append(AwsLib('aws-lc', libname='crypto'))
-+ if not using_system_libcrypto():
-+ # aws-lc produces libcrypto.a
-+ AWS_LIBS.append(AwsLib('aws-lc', libname='crypto'))
- AWS_LIBS.append(AwsLib('s2n'))
- AWS_LIBS.append(AwsLib('aws-c-common'))
- AWS_LIBS.append(AwsLib('aws-c-sdkutils'))
-@@ -182,6 +187,9 @@ class awscrt_build_ext(setuptools.command.build_ext.build_ext):
- f'-DCMAKE_BUILD_TYPE={build_type}',
- ])
-
-+ if using_system_libcrypto():
-+ cmake_args.append('-DUSE_OPENSSL=ON')
-+
- if sys.platform == 'darwin':
- # build lib with same MACOSX_DEPLOYMENT_TARGET that python will ultimately
- # use to link everything together, otherwise there will be linker warnings.
-@@ -298,13 +306,13 @@ def awscrt_ext():
- extra_link_args += ['-framework', 'Security']
-
- else: # unix
-- # linker will prefer shared libraries over static if it can find both.
-- # force linker to choose static variant by using using "-l:libcrypto.a" syntax instead of just "-lcrypto".
-- libraries = [':lib{}.a'.format(x) for x in libraries]
- # OpenBSD doesn't have librt; functions are found in libc instead.
- if not sys.platform.startswith('openbsd'):
- libraries += ['rt']
-
-+ if using_system_libcrypto():
-+ libraries += ['crypto']
-+
- # hide the symbols from libcrypto.a
- # this prevents weird crashes if an application also ends up using
- # libcrypto.so from the system's OpenSSL installation.
1 year