2020-08-04 10:09:15 +00:00
|
|
|
Name: python-zope-event
|
|
|
|
Version: 4.2.0
|
|
|
|
Release: 0%{?dist}
|
|
|
|
Summary: Zope Event Publication
|
|
|
|
License: ZPLv2.1
|
|
|
|
URL: https://pypi.python.org/pypi/zope.event/
|
|
|
|
Source0: %{pypi_source zope.event}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains .pth files.
|
|
|
|
Building this tests that .pth files are not listed when +auto is not used
|
|
|
|
with %%pyproject_save_files.
|
|
|
|
|
|
|
|
%package -n python3-zope-event
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
%description -n python3-zope-event
|
|
|
|
...
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n zope.event-%{version}
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%pyproject_buildrequires
|
|
|
|
|
|
|
|
%build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
%install
|
|
|
|
%pyproject_install
|
|
|
|
%pyproject_save_files zope +auto
|
|
|
|
|
2020-09-29 11:05:38 +00:00
|
|
|
%check
|
|
|
|
# Internal check that the RECORD and REQUESTED files are
|
|
|
|
# always removed in %%pyproject_wheel
|
2020-09-30 12:36:07 +00:00
|
|
|
test ! $(find %{buildroot}%{python3_sitelib}/ | grep -E "\.dist-info/RECORD$")
|
|
|
|
test ! $(find %{buildroot}%{python3_sitelib}/ | grep -E "\.dist-info/REQUESTED$")
|
2020-09-29 11:05:38 +00:00
|
|
|
|
2020-08-04 10:09:15 +00:00
|
|
|
%files -n python3-zope-event -f %{pyproject_files}
|
|
|
|
%doc README.rst
|
|
|
|
%license LICENSE.txt
|
|
|
|
|