Matrix-common builds locally now.

This commit is contained in:
Alex Manning 2022-01-18 23:12:31 +00:00
parent 08512d239d
commit e4d8704e48

View file

@ -1,19 +1,18 @@
# Created by pyp2rpm-3.3.7 # Created by pyp2rpm-3.3.7
%global pypi_name matrix-common %global pypi_name matrix_common
%global pypi_version 1.0.0
Name: python-%{pypi_name} Name: python-%{pypi_name}
Version: %{pypi_version} Version: 1.0.0
Release: 1%{?dist} Release: 1%{?dist}
Summary: Common utilities for Synapse, Sydent and Sygnal Summary: Common utilities for Synapse, Sydent and Sygnal
License: None License: None
URL: https://github.com/matrix-org/matrix-python-common URL: https://github.com/matrix-org/matrix-python-common
Source0: %{pypi_name}-%{pypi_version}.tar.gz Source0: %{pypi_source}
BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3dist(setuptools) BuildRequires: python3dist(wheel)
%description %description
matrix-python-commonCommon utilities for Synapse, Sydent and Sygnal. matrix-python-commonCommon utilities for Synapse, Sydent and Sygnal.
@ -38,21 +37,21 @@ steps for releasing will...
%prep %prep
%autosetup -n %{pypi_name}-%{pypi_version} %autosetup -n %{pypi_name}-%{version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info %generate_buildrequires
%pyproject_buildrequires
%build %build
%py3_build %pyproject_wheel
%install %install
%py3_install %pyproject_install
%pyproject_save_files matrix_common
%files -n python3-%{pypi_name} %files -n python3-%{pypi_name} -f %{pyproject_files}
%license LICENSE %license LICENSE
%doc README.md %doc README.md
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info
%changelog %changelog
* Tue Jan 18 2022 Alex Manning <mail@alex-m.co.uk> - 1.0.0-1 * Tue Jan 18 2022 Alex Manning <mail@alex-m.co.uk> - 1.0.0-1