%global pypi_name packitos %global real_name packit Name: %{real_name} Version: 0.52.2.dev18+g3d014da Release: 1.20220620133951305906.main.18.g3d014da%{?dist} Summary: A tool for integrating upstream projects with Fedora operating system License: MIT URL: https://github.com/packit/packit Source0: packitos-0.52.2.dev18+g3d014da.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-click-man BuildRequires: python3-GitPython BuildRequires: python3-gnupg BuildRequires: python3-ogr BuildRequires: python3-packaging BuildRequires: python3-pyyaml BuildRequires: python3-tabulate BuildRequires: python3-cccolutils BuildRequires: python3-copr BuildRequires: python3-koji BuildRequires: python3-lazy-object-proxy BuildRequires: python3-marshmallow BuildRequires: python3-marshmallow-enum BuildRequires: rebase-helper BuildRequires: python3dist(setuptools) BuildRequires: python3dist(setuptools-scm) BuildRequires: python3dist(setuptools-scm-git-archive) BuildRequires: python3-bodhi-client < 6.0 BuildRequires: python3-cachetools %if 0%{?rhel} # epel-8 requires typing-extensions due to old python version BuildRequires: python3-typing-extensions %endif Requires: python3-%{real_name} = %{version}-%{release} %description This project provides tooling and automation to integrate upstream open source projects into Fedora operating system. %package -n python3-%{real_name} Summary: %{summary} # new-sources Requires: fedpkg Requires: git # kinit Requires: krb5-workstation # rpmbuild Requires: rpm-build # bumpspec Requires: rpmdevtools # Copying files between repositories Requires: rsync %if 0%{?rhel} # rhbz#1968618 still not fixed for epel-8 Requires: python3-koji %endif %{?python_provide:%python_provide python3-%{real_name}} %description -n python3-%{real_name} Python library for Packit, check out packit package for the executable. %prep %autosetup -n packitos-0.52.2.dev18+g3d014da # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %if 0%{?rhel} # rhbz#1968618 still not fixed for epel-8 sed -i -e 's|koji|# koji|' setup.cfg %endif %build %py3_build %install %py3_install python3 setup.py --command-packages=click_man.commands man_pages --target %{buildroot}%{_mandir}/man1 install -d -m 755 %{buildroot}%{_datadir}/bash-completion/completions cp files/bash-completion/packit %{buildroot}%{_datadir}/bash-completion/completions/packit %files %license LICENSE %{_bindir}/packit %{_mandir}/man1/packit*.1* %dir %{_datadir}/bash-completion/completions %{_datadir}/bash-completion/completions/%{real_name} %{_bindir}/_packitpatch %files -n python3-%{real_name} %license LICENSE %doc README.md %{python3_sitelib}/* %changelog * Mon Jun 20 2022 Packit - 0.52.2.dev18+g3d014da-1.20220620133951305906.main.18.g3d014da - Pin Bodhi to < 6.0 (Hunor Csomortáni) - Require typing-extensions only when Python < 3.8 (Hunor Csomortáni) - Make Literal import work for EPEL8 (František Nečas) - Return existing PR from sync_release (František Nečas) - allow having custom archives in root while spec in subdir (Tomas Tomecek) - Apply suggestion from @psss in packit/packit-service#1507 (Rodolfo Olivieri) - Add extra parameters to the JobConfig (Rodolfo Olivieri) - [pre-commit.ci] pre-commit autoupdate (pre-commit-ci[bot]) - Add packit to allowed_pr_authors for Koji builds (Laura Barcziova) - Use Koji instead of Bodhi to get the tag latest build (Maja Massarini) * Wed Jun 08 2022 Maja Massarini - 0.52.1-1 - New upstream release 0.52.1 * Thu May 26 2022 Laura Barcziova - 0.52.0-1 - New upstream release 0.52.0 * Thu May 12 2022 Tomas Tomecek - 0.51.0-1 - New upstream release 0.51.0 * Thu May 05 2022 Matej Focko - 0.50.0-1 - New upstream release 0.50.0 * Tue Apr 12 2022 Jiri Popelka - 0.49.0-1 - new upstream release 0.49.0 * Wed Mar 30 2022 Maja Massarini - 0.48.0-1 - new upstream release 0.48.0 * Wed Mar 16 2022 Frantisek Lachman - 0.47.1-1 - new upstream release 0.47.1 * Tue Mar 8 2022 Jiří Kyjovský - 0.47.0-1 - new upstream release 0.47.0 * Wed Feb 16 2022 Tomas Tomecek - 0.46.0-1 - new upstream release 0.46.0 * Fri Feb 04 2022 Matej Focko - 0.45.0-1 - new upstream release 0.45.0 * Thu Jan 20 2022 Hunor Csomortáni - 0.44.0-1 - new upstream release 0.44.0 * Wed Dec 08 2021 Tomas Tomecek - 0.43.0-1 - 0.43.0 upstream release * Wed Nov 24 2021 Laura Barcziova - 0.42.0-1 - new upstream release 0.42.0 * Thu Nov 11 2021 Hunor Csomortáni - 0.41.0-1 - new upstream release 0.41.0 * Tue Oct 26 2021 Frantisek Lachman - 0.40.0-1 - new upstream release 0.40.0 * Thu Oct 14 2021 Jiri Kyjovsky - 0.39.0-1 - new upstream release 0.39.0 * Thu Sep 30 2021 Hunor Csomortáni - 0.38.0-1 - new upstream release 0.38.0 * Fri Sep 17 2021 Matej Focko - 0.37.0-1 - new upstream release 0.37.0 * Wed Sep 01 2021 Jiri Popelka - 0.36.0-1 - new upstream release 0.36.0 * Thu Aug 05 2021 Tomas Tomecek - 0.35.0-1 - new upstream release 0.35.0 * Thu Jul 08 2021 Laura Barcziova - 0.34.0-1 - new upstream release 0.34.0 * Thu Jun 24 2021 Ben Crocker - 0.33.1-1 - new upstream release 0.33.1 * Wed Jun 09 2021 Matej Mužila - 0.32.0-1 - new upstream release 0.32.0 * Thu May 27 2021 Frantisek Lachman - 0.31.0-1 - new upstream release 0.31.0 * Fri May 14 2021 Matej Focko - 0.30.1-1 - new upstream release 0.30.1 * Fri May 14 2021 Matej Focko - 0.30.0-1 - new upstream release 0.30.0 * Thu Apr 29 2021 Jiri Popelka - 0.29.0-1 - new upstream release 0.29.0 * Wed Mar 31 2021 Hunor Csomortáni - 0.28.0-1 - new upstream release 0.28.0 * Wed Mar 17 2021 Jiri Popelka - 0.27.0-1 - new upstream release 0.27.0 * Wed Mar 03 2021 Laura Barcziova - 0.26.0-1 - new upstream release 0.26.0 * Fri Feb 12 11:11:00 CET 2021 Matej Mužila - 0.25.0-1 - new upstream release 0.25.0 * Thu Jan 21 10:30:44 CET 2021 Jan Ščotka - 0.24.0-1 - new upstream release 0.24.0 * Thu Jan 7 11:14:24 CET 2021 Frantisek Lachman - 0.23.0-1 - new upstream release 0.23.0 * Thu Dec 10 2020 Laura Barcziova - 0.22.0-1 - new upstream release 0.22.0 * Wed Nov 25 2020 Jiri Popelka - 0.21.0-1 - new upstream release 0.21.0 * Thu Oct 29 10:42:02 CET 2020 Matej Focko - 0.19.0-1 - new upstream release 0.19.0 * Thu Oct 15 2020 Jiri Popelka - 0.18.0-1 - new upstream release 0.18.0 * Tue Sep 29 2020 Dominika Hodovska - 0.17.0-1 - new upstream release 0.17.0 * Wed Sep 02 2020 Matej Focko - 0.16.0-1 - new upstream release 0.16.0 * Wed Aug 19 2020 Laura Barcziova - 0.15.0-1 - new upstream release 0.15.0 * Tue Jul 28 2020 Jiri Popelka - 0.14.0-1 - new upstream release 0.14.0 * Tue Jul 14 2020 Hunor Csomortáni - 0.13.1-1 - new upstream release 0.13.1 * Thu Jul 09 2020 Hunor Csomortáni - 0.13.0-1 - new upstream release 0.13.0 * Tue Jun 23 2020 Laura Barcziova - 0.12.0-1 - new upstream release 0.12.0 * Thu Jun 11 2020 Jan Sakalos - 0.11.1-1 - new upstream release: 0.11.1 * Thu May 28 2020 Tomas Tomecek - 0.11.0-1 - new upstream release: 0.11.0 * Thu Apr 30 2020 Jan Sakalos - 0.10.2-1 - new upstream release 0.10.2 * Thu Apr 16 2020 Jiri Popelka - 0.10.1-1 - new upstream release 0.10.1 * Fri Apr 10 2020 Jiri Popelka - 0.10.0-1 - new upstream release 0.10.0 * Wed Mar 25 2020 Jiri Popelka - 0.9.0-1 - new upstream release 0.9.0 * Mon Jan 20 2020 Jiri Popelka - 0.8.1-1 - new upstream release 0.8.1 * Fri Oct 18 2019 Frantisek Lachman - 0.7.1-1 - new upstream release 0.7.1 * Fri Oct 04 2019 Frantisek Lachman - 0.7.0-1 - new upstream release 0.7.0 * Thu Sep 12 2019 Jiri Popelka - 0.6.1-1 - new upstream release: 0.6.1 * Tue Sep 10 2019 Tomas Tomecek - 0.6.0-1 - new upstream release: 0.6.0 * Fri Aug 23 2019 Tomas Tomecek - 0.5.1-1 - new upstream release: 0.5.1 * Fri Aug 02 2019 Tomas Tomecek - 0.5.0-1 - new upstream release: 0.5.0 * Fri Jun 28 2019 Jiri Popelka - 0.4.2-1 - New upstream release * Sat May 18 2019 Jiri Popelka - 0.4.1-1 - Patch release * Wed May 15 2019 Jiri Popelka - 0.4.0-1 - New upstream release: 0.4.0 - Build man pages since F30 * Thu Apr 11 2019 Jiri Popelka - 0.3.0-2 - click-man needs more BuildRequires * Wed Apr 10 2019 Tomas Tomecek - 0.3.0-1 - New upstream release: 0.3.0 * Fri Mar 29 2019 Jiri Popelka - 0.2.0-2 - man pages * Tue Mar 19 2019 Tomas Tomecek - 0.2.0-1 - New upstream release 0.2.0 * Thu Mar 14 2019 Frantisek Lachman - 0.1.0-1 - New upstream release 0.1.0 * Mon Mar 04 2019 Frantisek Lachman - 0.0.1-1 - Initial package.