Remove shipped dlls.

This commit is contained in:
Kevin Fenzi 2020-12-31 13:35:45 -08:00
parent c81162a73f
commit 1fe6b7ce9a
3 changed files with 54 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/PyQt-builder-1.6.0.tar.gz

52
PyQt-builder.spec Normal file
View File

@ -0,0 +1,52 @@
%global pypi_name PyQt-builder
%global srcname PyQt-builder
Name: %{srcname}
Version: 1.6.0
Release: 2%{?dist}
Summary: The PEP 517 compliant PyQt build system
License: BSD
URL: https://www.riverbankcomputing.com/software/pyqt/
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
BuildRequires: sip5
Requires: sip5
%description
PyQt-builder is the PEP 517 compliant build system for PyQt and projects that
extend PyQt. It extends the sip build system and uses Qt's qmake to perform the
actual compilation and installation of extension modules.Projects that use
PyQt- builder provide an appropriate pyproject.toml file and an optional
project.py.
%prep
%autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
%py3_build
%install
%py3_install
# These dll files are from openssl and microsoft visiual studio
# While we can redistribute them, we don't have source and it's
# unlikely anyone will want to bundle a windows executable from linux.
rm -rf %{buildroot}/%{python3_sitelib}/pyqtbuild/bundle/dlls
%files
%{_bindir}/pyqt-bundle
%{python3_sitelib}/pyqtbuild
%{python3_sitelib}/PyQt_builder-%{version}-py%{python3_version}.egg-info
%changelog
* Tue Dec 29 2020 Kevin Fenzi <kevin@scrye.com> - 1.6.0-2
- Remove shipped dlls.
* Tue Dec 15 2020 Kevin Fenzi <kevin@scrye.com> - 1.6.0-1
- Initial package.

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (PyQt-builder-1.6.0.tar.gz) = de216c33ced5aaf2d03fc796ce880d8031319d1d2169b1aa1dcd9b8fe1043da1010ab7a1e67cdd3efdd3d017625b70f4458fd6228290e0f42ec83bd346b808bf