%global srcname copr-tito-quickdoc Name: hellocopr Version: 1.0.2 Release: 1%{?dist} License: GPLv3 Summary: bl abla bnla Url: https://pagure.io/%{srcname} Source0: %{name}-%{version}.tar.gz BuildArch: noarch %if 0%{?el6} BuildRequires: python34-devel BuildRequires: python34-setuptools %else BuildRequires: python3-devel BuildRequires: python3-setuptools %endif %description Also not a description, silly. #-- PREP, BUILD & INSTALL -----------------------------------------------------# %prep %autosetup %build %py3_build %install %py3_install #-- FILES ---------------------------------------------------------------------# %files %doc README.md %license LICENSE %{_bindir}/hellocopr %{python3_sitelib}/%{name}-*.egg-info/ %{python3_sitelib}/%{name}/ #-- CHANGELOG -----------------------------------------------------------------# %changelog * Wed Jul 22 2020 Christopher Engelhard 1.0.2-1 - use __version__ in program - let tito manage source version - extract version from __init__.py * Wed Jul 22 2020 Christopher Engelhard 1.0.1-1 - use __version__ in program - let tito manage source version - extract version from __init__.py * Wed Jul 22 2020 Christopher Engelhard 1.0.0-1 - new package built with tito * Tue Jul 21 2020 Christopher Engelhard 1.0.0-0.1 - test package release