%global srcname copr-tito-quickdoc Name: hellocopr Version: 1.0.7 Release: 1%{?dist} License: GPLv3 Summary: A trivial python 3 program for demonstrating RPM packaging Url: https://pagure.io/%{srcname} Source0: https://releases.pagure.org/forks/mphojele/copr-tito-quickdoc/%{name}-%{version}.tar.gz BuildArch: noarch %if 0%{?el6} BuildRequires: python34-devel BuildRequires: python34-setuptools %else BuildRequires: python3-devel BuildRequires: python3-setuptools %endif %description Hellocopr is a very simple demonstration program that does nothing but display some text on the command line. It is used as an example for automatic RPM packaging using tito and Fedora's Copr user repository. #-- 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 Jun 11 2025 M.K. Jele 1.0.7-1 - adapt tito.props for foreign sources (ce@lcts.de) - set source URL (ce@lcts.de) - add source tarball for hellocopr-1.0.1 (ce@lcts.de) - remove source stuff (ce@lcts.de) - fix version (ce@lcts.de)