Recythonize the sources
This commit is contained in:
parent
ca127d8f4a
commit
0ca60a9ec8
1 changed files with 9 additions and 2 deletions
11
afflib.spec
11
afflib.spec
|
|
@ -1,6 +1,6 @@
|
||||||
Name: afflib
|
Name: afflib
|
||||||
Version: 3.7.18
|
Version: 3.7.18
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Library to support the Advanced Forensic Format
|
Summary: Library to support the Advanced Forensic Format
|
||||||
|
|
||||||
# Build also the python2 package
|
# Build also the python2 package
|
||||||
|
|
@ -23,7 +23,6 @@ BuildRequires: expat-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: libtermcap-devel
|
BuildRequires: libtermcap-devel
|
||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: python2-devel
|
|
||||||
# GPLv2 FOSS incompatible with BSD with advertising
|
# GPLv2 FOSS incompatible with BSD with advertising
|
||||||
##BuildRequires: readline-devel
|
##BuildRequires: readline-devel
|
||||||
#BuildRequires: libedit-devel - good replacement for readline - not supported for now
|
#BuildRequires: libedit-devel - good replacement for readline - not supported for now
|
||||||
|
|
@ -33,6 +32,7 @@ BuildRequires: zlib-devel
|
||||||
BuildRequires: python2
|
BuildRequires: python2
|
||||||
BuildRequires: python2-devel
|
BuildRequires: python2-devel
|
||||||
BuildRequires: python2-setuptools
|
BuildRequires: python2-setuptools
|
||||||
|
BuildRequires: python2-Cython
|
||||||
%endif # if with_python2
|
%endif # if with_python2
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -40,6 +40,7 @@ BuildRequires: python2-setuptools
|
||||||
BuildRequires: python%{python3_pkgversion}
|
BuildRequires: python%{python3_pkgversion}
|
||||||
BuildRequires: python%{python3_pkgversion}-devel
|
BuildRequires: python%{python3_pkgversion}-devel
|
||||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||||
|
BuildRequires: python%{python3_pkgversion}-Cython
|
||||||
%endif # if with_python3
|
%endif # if with_python3
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -128,6 +129,9 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
# clean unused-direct-shlib-dependencies
|
# clean unused-direct-shlib-dependencies
|
||||||
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
||||||
|
|
||||||
|
# Remove the cythonized files in order to regenerate them during build.
|
||||||
|
rm $(grep -rl '/\* Generated by Cython')
|
||||||
|
|
||||||
%make_build
|
%make_build
|
||||||
cd pyaff
|
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-%{version}/include --library-dirs %{_builddir}/AFFLIBv3-%{version}/lib/.libs
|
||||||
|
|
@ -193,6 +197,9 @@ cd pyaff
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jun 01 2019 Charalampos Stratakis <cstratak@redhat.com> - 3.7.18-4
|
||||||
|
- Recythonize the sources
|
||||||
|
|
||||||
* Thu Apr 11 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.18-3
|
* Thu Apr 11 2019 Miro Hrončok <mhroncok@redhat.com> - 3.7.18-3
|
||||||
- remove python2-pyaff from Fedora
|
- remove python2-pyaff from Fedora
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue