Compare commits

...
Sign in to create a new pull request.

8 commits

Author SHA1 Message Date
Fedora Release Engineering
1b99e1f7a7 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-16 03:30:16 +00:00
Fedora Release Engineering
30fd8272e0 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 16:49:00 +00:00
Python Maint
e30604e5f1 Rebuilt for Python 3.14 2025-06-02 20:49:08 +02:00
Fedora Release Engineering
cfcc4c3a11 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 10:41:33 +00:00
Miroslav Suchý
92ff06e140 convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-08-28 07:47:49 +02:00
Fedora Release Engineering
98d09d805b Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 16:41:56 +00:00
Michal Ambroz
082153f449 - sync with upstream, fix build with git snapshot 2024-06-14 12:51:00 +02:00
Python Maint
c6ad0d4062 Rebuilt for Python 3.13 2024-06-07 09:50:27 +02:00
3 changed files with 20 additions and 14 deletions

View file

@ -1,9 +1,8 @@
%global commit0 01210f488410a23838c54fcc22297cf08ac7de66
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
Name: afflib
Version: 3.7.20
Release: %autorelease
# Automatically converted from old format: BSD with advertising - review is highly recommended.
License: LicenseRef-Callaway-BSD-with-advertising
Summary: Library to support the Advanced Forensic Format
# Build also the python2 package
@ -11,26 +10,33 @@ Summary: Library to support the Advanced Forensic Format
# Build also the python3 package
%global with_python3 1
%global gituser sshock
%global gitname AFFLIBv3
%global gitdate 20240324
%global commit 95bf6cb9cf344ed6dccb8eb12bc159a17e616adb
%global shortcommit %(c=%{commit}; echo ${c:0:7})
License: BSD with advertising
URL: https://github.com/sshock/AFFLIBv3
#Source0: %%{url}/archive/v%%{version}/%%{name}-%%{version}.tar.gz
Source0: %{url}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
VCS: https://github.com/sshock/AFFLIBv3
#Source0: %%{vcs}/archive/v%%{version}/%%{name}-%%{version}.tar.gz
Source0: %{vcs}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz#/%{name}-%{version}-%{shortcommit}.tar.gz
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: make
BuildRequires: curl-devel
BuildRequires: expat-devel
# GPLv2 FOSS incompatible with BSD with advertising
##BuildRequires: fuse-devel
BuildRequires: ncurses-devel
BuildRequires: openssl-devel
BuildRequires: zlib-devel
# GPLv2 FOSS incompatible with BSD with advertising
##BuildRequires: fuse-devel
# GPLv2 FOSS incompatible with BSD with advertising
##BuildRequires: readline-devel
#BuildRequires: libedit-devel - good replacement for readline - not supported for now
BuildRequires: zlib-devel
BuildRequires: make
#BuildRequires: libedit-devel - good replacement for readline - not supported for now
%if 0%{?with_python2}
BuildRequires: python2
@ -112,7 +118,7 @@ basic metadata accessor functions. The binding is not currently complete.
%prep
%autosetup -p1 -n AFFLIBv3-%{commit0}
%autosetup -p1 -n AFFLIBv3-%{commit}
# prevent internal lzma to be built - testing
#rm -rf lzma443
@ -140,7 +146,7 @@ rm $(grep -rl '/\* Generated by Cython')
%make_build
cd pyaff
%global py_setup_args build_ext --include-dirs %{_builddir}/AFFLIBv3-%{version}/include --library-dirs %{_builddir}/AFFLIBv3-%{version}/lib/.libs
%global py_setup_args build_ext --include-dirs %{_builddir}/AFFLIBv3-%{commit}/include --library-dirs %{_builddir}/AFFLIBv3-%{commit}/lib/.libs
%if 0%{?with_python2}
%py2_build
%endif

View file

@ -1 +1 @@
SHA512 (afflib-01210f4.tar.gz) = de5932871e57e8702016011431540429d3820d868e0d810a3a4a35e50148708b350dfd4268855ee2eb71504cbab811c960339b6f68e90ed89401a86866efe4e4
SHA512 (afflib-3.7.20-95bf6cb.tar.gz) = c0054a56396ccf25f434c3dcd1d26ab95ed284b9d8efeb936fc6d7e209a20b85e2a23e0b7b9df02a458a666b52b69f3a370b0fbf997e0c00b0f9cf4a078dd7fb