344 lines
11 KiB
RPMSpec
344 lines
11 KiB
RPMSpec
%global pypi_name packitos
|
|
%global real_name packit
|
|
|
|
Name: %{real_name}
|
|
Version: 0.63.1
|
|
Release: 1%{?dist}
|
|
Summary: A tool for integrating upstream projects with Fedora operating system
|
|
|
|
License: MIT
|
|
URL: https://github.com/packit/packit
|
|
Source0: %pypi_source
|
|
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-specfile
|
|
BuildRequires: python3-tabulate
|
|
BuildRequires: python3-cccolutils
|
|
BuildRequires: python3-copr
|
|
BuildRequires: python3-koji
|
|
BuildRequires: python3-rpkg
|
|
BuildRequires: python3-lazy-object-proxy
|
|
BuildRequires: python3-marshmallow
|
|
BuildRequires: python3-marshmallow-enum
|
|
BuildRequires: python3-requests
|
|
BuildRequires: python3-requests-kerberos
|
|
BuildRequires: python3dist(setuptools)
|
|
BuildRequires: python3dist(setuptools-scm)
|
|
BuildRequires: python3dist(setuptools-scm-git-archive)
|
|
BuildRequires: python3-bodhi-client
|
|
BuildRequires: python3-cachetools
|
|
BuildRequires: python3-fedora
|
|
%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 %{pypi_name}-%{version}
|
|
# 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
|
|
* Sat Nov 12 2022 Packit <hello@packit.dev> - 0.63.1-1
|
|
- Packit now correctly finds SRPM when rpmbuild reports warnings when it parses the spec file. (#1772)
|
|
- When packit.yaml is present in the repo but is empty, Packit now produces a better error message instead of an internal Python exception. (#1769)
|
|
|
|
* Fri Nov 04 2022 Packit <hello@packit.dev> - 0.63.0-1
|
|
- Fixed an issue due to which the repository was never searched for a specfile if 'specfile_path' was not specified, and 'specfile_path' was always set to '<repo_name>.spec'. (#1758)
|
|
- Packit is now able to generate automatic Bodhi update notes including a changelog diff since the latest stable build of a package. (#1747)
|
|
|
|
* Thu Oct 27 2022 Packit <hello@packit.dev> - 0.62.0-1
|
|
- Fixed an issue with version and release being updated even if `--no-bump` flag was specified. Also fixed an issue when `None` appeared in release instead of a number. (#1753)
|
|
|
|
* Fri Oct 21 2022 Packit <hello@packit.dev> - 0.61.0-1
|
|
- Packit can now correctly authenticate with Bodhi 6 and therefore create Bodhi updates. 🚀 (#1746)
|
|
- Packit now requires Python 3.9 or later. (#1745)
|
|
|
|
* Fri Oct 07 2022 Packit <hello@packit.dev> - 0.60.0-1
|
|
- Propose downstream job now pushes changes even when it's not creating a new pull request. This allows updating already existing pull requests. (#1725)
|
|
|
|
* Fri Sep 16 2022 Packit Team <hello@packit.dev> - 0.59.1-1
|
|
- New upstream release 0.59.1
|
|
|
|
* Thu Aug 25 2022 Nikola Forró <nforro@redhat.com> - 0.59.0-1
|
|
- New upstream release 0.59.0
|
|
|
|
* Thu Aug 18 2022 Laura Barcziova <lbarczio@redhat.com> - 0.58.0-1
|
|
- New upstream release 0.58.0
|
|
|
|
* Thu Aug 04 2022 Frantisek Lachman <flachman@redhat.com> - 0.57.0-1
|
|
- New upstream release 0.57.0
|
|
|
|
* Thu Jul 28 2022 Matej Focko <mfocko@redhat.com> - 0.56.0-1
|
|
- New upstream release 0.56.0
|
|
|
|
* Thu Jul 14 2022 František Nečas <fnecas@redhat.com> - 0.55.0-1
|
|
- New upstream release 0.55.0
|
|
|
|
* Wed Jun 29 2022 Tomas Tomecek <ttomecek@redhat.com> - 0.54.0-1
|
|
- New upstream release 0.54.0
|
|
|
|
* Wed Jun 22 2022 Nikola Forró <nforro@redhat.com> - 0.53.0-1
|
|
- New upstream release 0.53.0
|
|
|
|
* Wed Jun 08 2022 Maja Massarini <mmassari@redhat.com> - 0.52.1-1
|
|
- New upstream release 0.52.1
|
|
|
|
* Thu May 26 2022 Laura Barcziova <lbarczio@redhat.com> - 0.52.0-1
|
|
- New upstream release 0.52.0
|
|
|
|
* Thu May 12 2022 Tomas Tomecek <ttomecek@redhat.com> - 0.51.0-1
|
|
- New upstream release 0.51.0
|
|
|
|
* Thu May 05 2022 Matej Focko <mfocko@redhat.com> - 0.50.0-1
|
|
- New upstream release 0.50.0
|
|
|
|
* Tue Apr 12 2022 Jiri Popelka <jpopelka@redhat.com> - 0.49.0-1
|
|
- new upstream release 0.49.0
|
|
|
|
* Wed Mar 30 2022 Maja Massarini <mmassari@redhat.com> - 0.48.0-1
|
|
- new upstream release 0.48.0
|
|
|
|
* Wed Mar 16 2022 Frantisek Lachman <flachman@redhat.com> - 0.47.1-1
|
|
- new upstream release 0.47.1
|
|
|
|
* Tue Mar 8 2022 Jiří Kyjovský <jkyjovsk@redhat.com> - 0.47.0-1
|
|
- new upstream release 0.47.0
|
|
|
|
* Wed Feb 16 2022 Tomas Tomecek <ttomecek@redhat.com> - 0.46.0-1
|
|
- new upstream release 0.46.0
|
|
|
|
* Fri Feb 04 2022 Matej Focko <mfocko@redhat.com> - 0.45.0-1
|
|
- new upstream release 0.45.0
|
|
|
|
* Thu Jan 20 2022 Hunor Csomortáni <csomh@redhat.com> - 0.44.0-1
|
|
- new upstream release 0.44.0
|
|
|
|
* Wed Dec 08 2021 Tomas Tomecek <ttomecek@redhat.com> - 0.43.0-1
|
|
- 0.43.0 upstream release
|
|
|
|
* Wed Nov 24 2021 Laura Barcziova <lbarczio@redhat.com> - 0.42.0-1
|
|
- new upstream release 0.42.0
|
|
|
|
* Thu Nov 11 2021 Hunor Csomortáni <csomh@redhat.com> - 0.41.0-1
|
|
- new upstream release 0.41.0
|
|
|
|
* Tue Oct 26 2021 Frantisek Lachman <flachman@redhat.com> - 0.40.0-1
|
|
- new upstream release 0.40.0
|
|
|
|
* Thu Oct 14 2021 Jiri Kyjovsky <jkyjovsk@redhat.com> - 0.39.0-1
|
|
- new upstream release 0.39.0
|
|
|
|
* Thu Sep 30 2021 Hunor Csomortáni <csomh@redhat.com> - 0.38.0-1
|
|
- new upstream release 0.38.0
|
|
|
|
* Fri Sep 17 2021 Matej Focko <mfocko@redhat.com> - 0.37.0-1
|
|
- new upstream release 0.37.0
|
|
|
|
* Wed Sep 01 2021 Jiri Popelka <jpopelka@redhat.com> - 0.36.0-1
|
|
- new upstream release 0.36.0
|
|
|
|
* Thu Aug 05 2021 Tomas Tomecek <ttomecek@redhat.com> - 0.35.0-1
|
|
- new upstream release 0.35.0
|
|
|
|
* Thu Jul 08 2021 Laura Barcziova <lbarczio@redhat.com> - 0.34.0-1
|
|
- new upstream release 0.34.0
|
|
|
|
* Thu Jun 24 2021 Ben Crocker <bcrocker@redhat.com> - 0.33.1-1
|
|
- new upstream release 0.33.1
|
|
|
|
* Wed Jun 09 2021 Matej Mužila <mmuzila@redhat.com> - 0.32.0-1
|
|
- new upstream release 0.32.0
|
|
|
|
* Thu May 27 2021 Frantisek Lachman <flachman@redhat.com> - 0.31.0-1
|
|
- new upstream release 0.31.0
|
|
|
|
* Fri May 14 2021 Matej Focko <mfocko@redhat.com> - 0.30.1-1
|
|
- new upstream release 0.30.1
|
|
|
|
* Fri May 14 2021 Matej Focko <mfocko@redhat.com> - 0.30.0-1
|
|
- new upstream release 0.30.0
|
|
|
|
* Thu Apr 29 2021 Jiri Popelka <jpopelka@redhat.com> - 0.29.0-1
|
|
- new upstream release 0.29.0
|
|
|
|
* Wed Mar 31 2021 Hunor Csomortáni <csomh@redhat.com> - 0.28.0-1
|
|
- new upstream release 0.28.0
|
|
|
|
* Wed Mar 17 2021 Jiri Popelka <jpopelka@redhat.com> - 0.27.0-1
|
|
- new upstream release 0.27.0
|
|
|
|
* Wed Mar 03 2021 Laura Barcziova <lbarczio@redhat.com> - 0.26.0-1
|
|
- new upstream release 0.26.0
|
|
|
|
* Fri Feb 12 11:11:00 CET 2021 Matej Mužila <mmuzila@redhat.com> - 0.25.0-1
|
|
- new upstream release 0.25.0
|
|
|
|
* Thu Jan 21 10:30:44 CET 2021 Jan Ščotka <jscotka@redhat.com> - 0.24.0-1
|
|
- new upstream release 0.24.0
|
|
|
|
* Thu Jan 7 11:14:24 CET 2021 Frantisek Lachman <flachman@redhat.com> - 0.23.0-1
|
|
- new upstream release 0.23.0
|
|
|
|
* Thu Dec 10 2020 Laura Barcziova <lbarczio@redhat.com> - 0.22.0-1
|
|
- new upstream release 0.22.0
|
|
|
|
* Wed Nov 25 2020 Jiri Popelka <jpopelka@redhat.com> - 0.21.0-1
|
|
- new upstream release 0.21.0
|
|
|
|
* Thu Oct 29 10:42:02 CET 2020 Matej Focko <mfocko@redhat.com> - 0.19.0-1
|
|
- new upstream release 0.19.0
|
|
|
|
* Thu Oct 15 2020 Jiri Popelka <jpopelka@redhat.com> - 0.18.0-1
|
|
- new upstream release 0.18.0
|
|
|
|
* Tue Sep 29 2020 Dominika Hodovska <dhodovsk@redhat.com> - 0.17.0-1
|
|
- new upstream release 0.17.0
|
|
|
|
* Wed Sep 02 2020 Matej Focko <mfocko@redhat.com> - 0.16.0-1
|
|
- new upstream release 0.16.0
|
|
|
|
* Wed Aug 19 2020 Laura Barcziova <lbarczio@redhat.com> - 0.15.0-1
|
|
- new upstream release 0.15.0
|
|
|
|
* Tue Jul 28 2020 Jiri Popelka <jpopelka@redhat.com> - 0.14.0-1
|
|
- new upstream release 0.14.0
|
|
|
|
* Tue Jul 14 2020 Hunor Csomortáni <csomh@redhat.com> - 0.13.1-1
|
|
- new upstream release 0.13.1
|
|
|
|
* Thu Jul 09 2020 Hunor Csomortáni <csomh@redhat.com> - 0.13.0-1
|
|
- new upstream release 0.13.0
|
|
|
|
* Tue Jun 23 2020 Laura Barcziova <lbarczio@redhat.com> - 0.12.0-1
|
|
- new upstream release 0.12.0
|
|
|
|
* Thu Jun 11 2020 Jan Sakalos <sakalosj@gmail.com> - 0.11.1-1
|
|
- new upstream release: 0.11.1
|
|
|
|
* Thu May 28 2020 Tomas Tomecek <ttomecek@redhat.com> - 0.11.0-1
|
|
- new upstream release: 0.11.0
|
|
|
|
* Thu Apr 30 2020 Jan Sakalos <sakalosj@gmail.com> - 0.10.2-1
|
|
- new upstream release 0.10.2
|
|
|
|
* Thu Apr 16 2020 Jiri Popelka <jpopelka@redhat.com> - 0.10.1-1
|
|
- new upstream release 0.10.1
|
|
|
|
* Fri Apr 10 2020 Jiri Popelka <jpopelka@redhat.com> - 0.10.0-1
|
|
- new upstream release 0.10.0
|
|
|
|
* Wed Mar 25 2020 Jiri Popelka <jpopelka@redhat.com> - 0.9.0-1
|
|
- new upstream release 0.9.0
|
|
|
|
* Mon Jan 20 2020 Jiri Popelka <jpopelka@redhat.com> - 0.8.1-1
|
|
- new upstream release 0.8.1
|
|
|
|
* Fri Oct 18 2019 Frantisek Lachman <flachman@redhat.com> - 0.7.1-1
|
|
- new upstream release 0.7.1
|
|
|
|
* Fri Oct 04 2019 Frantisek Lachman <flachman@redhat.com> - 0.7.0-1
|
|
- new upstream release 0.7.0
|
|
|
|
* Thu Sep 12 2019 Jiri Popelka <jpopelka@redhat.com> - 0.6.1-1
|
|
- new upstream release: 0.6.1
|
|
|
|
* Tue Sep 10 2019 Tomas Tomecek <ttomecek@redhat.com> - 0.6.0-1
|
|
- new upstream release: 0.6.0
|
|
|
|
* Fri Aug 23 2019 Tomas Tomecek <ttomecek@redhat.com> - 0.5.1-1
|
|
- new upstream release: 0.5.1
|
|
|
|
* Fri Aug 02 2019 Tomas Tomecek <ttomecek@redhat.com> - 0.5.0-1
|
|
- new upstream release: 0.5.0
|
|
|
|
* Fri Jun 28 2019 Jiri Popelka <jpopelka@redhat.com> - 0.4.2-1
|
|
- New upstream release
|
|
|
|
* Sat May 18 2019 Jiri Popelka <jpopelka@redhat.com> - 0.4.1-1
|
|
- Patch release
|
|
|
|
* Wed May 15 2019 Jiri Popelka <jpopelka@redhat.com> - 0.4.0-1
|
|
- New upstream release: 0.4.0
|
|
- Build man pages since F30
|
|
|
|
* Thu Apr 11 2019 Jiri Popelka <jpopelka@redhat.com> - 0.3.0-2
|
|
- click-man needs more BuildRequires
|
|
|
|
* Wed Apr 10 2019 Tomas Tomecek <ttomecek@redhat.com> - 0.3.0-1
|
|
- New upstream release: 0.3.0
|
|
|
|
* Fri Mar 29 2019 Jiri Popelka <jpopelka@redhat.com> - 0.2.0-2
|
|
- man pages
|
|
|
|
* Tue Mar 19 2019 Tomas Tomecek <ttomecek@redhat.com> - 0.2.0-1
|
|
- New upstream release 0.2.0
|
|
|
|
* Thu Mar 14 2019 Frantisek Lachman <flachman@redhat.com> - 0.1.0-1
|
|
- New upstream release 0.1.0
|
|
|
|
* Mon Mar 04 2019 Frantisek Lachman <flachman@redhat.com> - 0.0.1-1
|
|
- Initial package.
|