Group :: Development/Python3
RPM: python3-module-icalendar
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname icalendar
Name: python3-module-%oname
Version: 4.0.3
Release: alt2
Summary: iCalendar parser/generator
License: GPLv2.1
Group: Development/Python3
Url: https://pypi.org/project/icalendar/
BuildArch: noarch
Source: %oname-%version.tar.gz
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-sphinx
%description
iCalendar is a parser/generator of iCalendar files
(RFC 2445) for use with Python.
%prep
%setup -n %oname-%version
%build
%python3_build -b build3
PYTHONPATH=../src %make -C docs html BUILDDIR=build3 SPHINXBUILD=py3_sphinx-build
%install
rm -f build && ln -sf build3 build
%python3_install
%files
%doc docs/build3/html *.rst
%_bindir/*
%python3_sitelibdir_noarch/%oname
%python3_sitelibdir_noarch/%oname-*
%changelog
…
Todas as alterações você pod ver aqui
Name: python3-module-%oname
Version: 4.0.3
Release: alt2
Summary: iCalendar parser/generator
License: GPLv2.1
Group: Development/Python3
Url: https://pypi.org/project/icalendar/
BuildArch: noarch
Source: %oname-%version.tar.gz
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-sphinx
%description
iCalendar is a parser/generator of iCalendar files
(RFC 2445) for use with Python.
%prep
%setup -n %oname-%version
%build
%python3_build -b build3
PYTHONPATH=../src %make -C docs html BUILDDIR=build3 SPHINXBUILD=py3_sphinx-build
%install
rm -f build && ln -sf build3 build
%python3_install
%files
%doc docs/build3/html *.rst
%_bindir/*
%python3_sitelibdir_noarch/%oname
%python3_sitelibdir_noarch/%oname-*
%changelog
…
Todas as alterações você pod ver aqui