Blame python-pyvex.spec

60bb6f4
%global srcname pyvex
60bb6f4
ef2f28e
# Has arch-specific dependencies, so cannot build as noarch.
ef2f28e
ExcludeArch: ppc64le
60bb6f4
%global debug_package %{nil}
60bb6f4
60bb6f4
Name:           python-%{srcname}
c0fc823
Version:        8.20.7.6
e29d541
Release:        2%{?dist}
60bb6f4
Summary:        A Python interface to libVEX and the VEX intermediate representation
60bb6f4
60bb6f4
# Core is BSD, but code in pyvex_c is GPL because it links statically
60bb6f4
# against VEX. The files e4c_lite.h, host_generic_maddf.c, and
60bb6f4
# host_generic_maddf.h are LGPL.
60bb6f4
License:        BSD and GPLv3+ and LGPLv3
60bb6f4
URL:            https://github.com/angr/pyvex
60bb6f4
Source0:        %{pypi_source}
60bb6f4
Source1:        PACKAGE-LICENSING
60bb6f4
Source2:        LICENSE-other
60bb6f4
60bb6f4
BuildRequires:  python3-devel
60bb6f4
BuildRequires:  python3-setuptools
60bb6f4
BuildRequires:  python3-cffi
60bb6f4
BuildRequires:  gcc
60bb6f4
60bb6f4
%description
60bb6f4
A Python interface to libVEX and the VEX intermediate representation
60bb6f4
60bb6f4
%package -n python3-%{srcname}
60bb6f4
Summary:        %{summary}
60bb6f4
%{?python_provide:%python_provide python3-%{srcname}}
60bb6f4
60bb6f4
%description -n python3-%{srcname}
60bb6f4
A Python interface to libVEX and the VEX intermediate representation
60bb6f4
60bb6f4
%prep
60bb6f4
rm -f %{srcname}.egg-info/
60bb6f4
%autosetup -n %{srcname}-%{version} -p1
60bb6f4
60bb6f4
%build
60bb6f4
%py3_build
60bb6f4
60bb6f4
%install
60bb6f4
%py3_install
60bb6f4
mv pyvex_c/LICENSE LICENSE-pyvex_c
60bb6f4
cp %{SOURCE1} .
60bb6f4
cp %{SOURCE2} .
60bb6f4
60bb6f4
%files -n python3-%{srcname}
60bb6f4
%doc README.md
60bb6f4
%license PACKAGE-LICENSING
60bb6f4
%license LICENSE
60bb6f4
%license LICENSE-pyvex_c
60bb6f4
%license LICENSE-other
60bb6f4
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
60bb6f4
%{python3_sitelib}/pyvex/
60bb6f4
60bb6f4
%changelog
e29d541
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.20.7.6-2
e29d541
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e29d541
c0fc823
* Fri Jul 24 2020 W. Michael Petullo <mike@flyn.org> - 8.20.7.6-1
c0fc823
- New upstream version
c0fc823
7bc91db
* Tue Jun 23 2020 W. Michael Petullo <mike@flyn.org> - 8.20.6.8-1
7bc91db
- New upstream version
7bc91db
2a6141f
* Fri Jun 05 2020 W. Michael Petullo <mike@flyn.org> - 8.20.6.1-1
2a6141f
- New upstream version
2a6141f
- Remove unstreamed patch
2a6141f
ef2f28e
* Sat May 30 2020 W. Michael Petullo <mike@flyn.org> - 8.20.5.27-2
ef2f28e
- Does not build on ppc64le; mark as such
ef2f28e
60bb6f4
* Fri May 29 2020 W. Michael Petullo <mike@flyn.org> - 8.20.5.27-1
60bb6f4
- New upstream version
60bb6f4
- Indicate multiple licenses
60bb6f4
- Use macro for Source0
60bb6f4
- Force build of egg
60bb6f4
- Remove unstreamed patch
60bb6f4
- Add GCC 10 patch
60bb6f4
60bb6f4
* Thu May 28 2020 W. Michael Petullo <mike@flyn.org> - 8.20.1.7-2
60bb6f4
- Add python3-cffi and gcc to BuildRequires
60bb6f4
- Patch to avoid evil spaces issue
60bb6f4
60bb6f4
* Mon May 25 2020 W. Michael Petullo <mike@flyn.org> - 8.20.1.7-1
60bb6f4
- Initial package