[packages/afflib] - updated to 3.7.22

qboosh qboosh at pld-linux.org
Wed May 20 20:22:13 CEST 2026


commit b285442f84ab436bbeb6be82843b20d971b0a288
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed May 20 20:22:15 2026 +0200

    - updated to 3.7.22

 afflib-cython.patch | 11 -----------
 afflib.spec         | 16 +++++++---------
 2 files changed, 7 insertions(+), 20 deletions(-)
---
diff --git a/afflib.spec b/afflib.spec
index d1db5c0..f95e00d 100644
--- a/afflib.spec
+++ b/afflib.spec
@@ -13,16 +13,15 @@
 Summary:	Library to support the Advanced Forensic Format
 Summary(pl.UTF-8):	Biblioteka do obsługi firmatu plików AFF (Advanced Forensic Format)
 Name:		afflib
-Version:	3.7.20
-Release:	5
+Version:	3.7.22
+Release:	1
 License:	BSD with advertising
 Group:		Libraries
 #Source0Download: https://github.com/sshock/AFFLIBv3/releases/
 Source0:	https://github.com/sshock/AFFLIBv3/archive/v%{version}/AFFLIBv3-%{version}.tar.gz
-# Source0-md5:	4e8e82bafa74c076fc5b2f73e582da7e
+# Source0-md5:	dd5afa29cda3fbd3f3a22c493ea6b2f4
 Patch0:		%{name}-no-libmd.patch
 Patch1:		%{name}-x32-x64.patch
-Patch2:		%{name}-cython.patch
 URL:		https://github.com/sshock/AFFLIBv3
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -117,7 +116,6 @@ metadanych. Wiązania nie są jeszcze kompletne.
 %setup -q -n AFFLIBv3-%{version}
 %patch -P0 -p1
 %patch -P1 -p1
-%patch -P2 -p1
 
 %if %{with system_lzma}
 	# prevent internal lzma to be built - testing
@@ -163,8 +161,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS BUGLIST.txt COPYING ChangeLog NEWS README doc/announce_2.2.txt
-%attr(755,root,root) %{_libdir}/libafflib.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libafflib.so.0
+%{_libdir}/libafflib.so.*.*.*
+%ghost %{_libdir}/libafflib.so.0
 
 %files -n afftools
 %defattr(644,root,root,755)
@@ -174,7 +172,7 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %doc doc/crypto_design.txt doc/crypto_doc.txt
-%attr(755,root,root) %{_libdir}/libafflib.so
+%{_libdir}/libafflib.so
 %{_includedir}/afflib
 %{_pkgconfigdir}/afflib.pc
 
@@ -188,6 +186,6 @@ rm -rf $RPM_BUILD_ROOT
 %files -n python3-afflib
 %defattr(644,root,root,755)
 %doc pyaff/README
-%attr(755,root,root) %{py3_sitedir}/pyaff.*.so
+%{py3_sitedir}/pyaff.cpython-*.so
 %{py3_sitedir}/PyAFF-0.1-py*.egg-info
 %endif
diff --git a/afflib-cython.patch b/afflib-cython.patch
deleted file mode 100644
index 884b281..0000000
--- a/afflib-cython.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- AFFLIBv3-3.7.20/pyaff/afflib.pxd.orig	2022-12-28 05:45:13.000000000 +0100
-+++ AFFLIBv3-3.7.20/pyaff/afflib.pxd	2025-03-21 21:45:10.413710846 +0100
-@@ -2,7 +2,7 @@ from libc.stdint cimport int64_t, uint32
- from posix.fcntl cimport O_RDONLY
- 
- cdef extern from "afflib/afflib.h":
--    struct AFFILE
-+    ctypedef struct AFFILE
- 
-     enum: AF_MAX_NAME_LEN
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/afflib.git/commitdiff/b285442f84ab436bbeb6be82843b20d971b0a288



More information about the pld-cvs-commit mailing list