0168143
%global pypi_name packitos
0168143
%global real_name packit
0168143
0168143
Name:           %{real_name}
Packit Service ba1164c
Version:        0.28.0
4575fdb
Release:        1%{?dist}
0168143
Summary:        A tool for integrating upstream projects with Fedora operating system
0168143
0168143
License:        MIT
Packit Service a09aaa7
URL:            https://github.com/packit/packit
9b69a23
Source0:        %pypi_source
0168143
BuildArch:      noarch
0168143
BuildRequires:  python3-devel
1ff200d
BuildRequires:  python3-click-man
1ff200d
BuildRequires:  python3-GitPython
1ff200d
BuildRequires:  python3-gnupg
1ff200d
BuildRequires:  python3-ogr
1ff200d
BuildRequires:  python3-packaging
1ff200d
BuildRequires:  python3-pyyaml
1ff200d
BuildRequires:  python3-tabulate
Packit Service 7a4937b
BuildRequires:  python3-cccolutils
4793427
BuildRequires:  python3-copr
3a9ee2d
BuildRequires:  python3-koji
3441cf2
BuildRequires:  python3-lazy-object-proxy
4793427
BuildRequires:  python3-marshmallow
4793427
BuildRequires:  python3-marshmallow-enum
1ff200d
BuildRequires:  rebase-helper
0168143
BuildRequires:  python3dist(setuptools)
0168143
BuildRequires:  python3dist(setuptools-scm)
0168143
BuildRequires:  python3dist(setuptools-scm-git-archive)
Packit Service 7e22e02
BuildRequires:  python3-bodhi-client
f952bba
# new-sources
0168143
Requires:       fedpkg
f952bba
# bumpspec
f952bba
Requires:       rpmdevtools
0168143
Requires:       python3-%{real_name} = %{version}-%{release}
0168143
0168143
%description
0168143
This project provides tooling and automation to integrate upstream open source
0168143
projects into Fedora operating system.
0168143
0168143
%package -n     python3-%{real_name}
0168143
Summary:        %{summary}
4793427
# See setup.cfg for details
4793427
Requires:       python3-koji
0168143
%{?python_provide:%python_provide python3-%{real_name}}
0168143
0168143
%description -n python3-%{real_name}
0168143
Python library for Packit,
0168143
check out packit package for the executable.
0168143
0168143
0168143
%prep
0168143
%autosetup -n %{pypi_name}-%{version}
0168143
# Remove bundled egg-info
0168143
rm -rf %{pypi_name}.egg-info
0168143
0168143
%build
0168143
%py3_build
0168143
0168143
%install
0168143
%py3_install
1ff200d
python3 setup.py --command-packages=click_man.commands man_pages --target %{buildroot}%{_mandir}/man1
4793427
4793427
install -d -m 755 %{buildroot}%{_datadir}/bash-completion/completions
4575fdb
cp files/bash-completion/packit %{buildroot}%{_datadir}/bash-completion/completions/packit
0168143
0168143
%files
0168143
%license LICENSE
0168143
%{_bindir}/packit
1ff200d
%{_mandir}/man1/packit*.1*
4793427
%dir %{_datadir}/bash-completion/completions
4793427
%{_datadir}/bash-completion/completions/%{real_name}
Packit Service c690820
%{_bindir}/_packitpatch
0168143
0168143
%files -n python3-%{real_name}
0168143
%license LICENSE
0168143
%doc README.md
0168143
%{python3_sitelib}/*
0168143
0168143
%changelog
Packit Service ba1164c
* Wed Mar 31 2021 Packit Service <user-cont-team+packit-service@redhat.com> - 0.28.0-1
Packit Service ba1164c
- Remove the no-op `--dry-run` option.
Packit Service ba1164c
- Handle `centos-stream` targets as `centos-stream-8`, in order to help with the name change in Copr.
Packit Service ba1164c
- `fmf_url` and `fmf_ref` can be used in a job's `metadata` to specify an external repository and reference to be used to test the package.
Packit Service ba1164c
- Introduce a `fedora-latest` alias for the latest _branched_ version of Fedora Linux.
Packit Service ba1164c
- Add a top-level option `-c, --config` to specify a custom path for the package configuration (aka `packit.yaml`).
Packit Service ba1164c
- Source-git: enable using CentOS Stream 9 dist-git as a source.
Packit Service ba1164c
- Source-git: rename the subdirectory to store downstream packaging files from `fedora` to the more general `.distro`.
Packit Service ba1164c
- Source-git: fix creating source-git repositories when Git is configured to call the default branch something other then `master`.
Packit Service ba1164c
Packit Service ba1164c
Packit Service f4519f4
* Thu Mar 18 2021 Packit Service <user-cont-team+packit-service@redhat.com> - 0.27.0-1
Packit Service ba1164c
- (Source-git) Several improvements of history linearization.
Packit Service ba1164c
- (Source-git) Detect identical patches in propose-downstream.
Packit Service ba1164c
- (Source-git) Patches in a spec file are added after the first empty line below the last Patch/Source.
Packit Service ba1164c
- Fetch all sources defined in packit.yaml.
Packit Service f4519f4
- New option to sync only specfile from downstream.
Packit Service f4519f4
Packit Service 721be9f
* Thu Mar 04 2021 Packit Service <user-cont-team+packit-service@redhat.com> - 0.26.0-1
Packit Service ba1164c
- Fix construction of the Koji tag for epel branches when running `packit create-update`. ([#1122](https://github.com/packit/packit/pull/1122))
Packit Service ba1164c
- `create-update` now also shows a message about Bodhi requiring the password. ([#1127](https://github.com/packit/packit/pull/1127))
Packit Service ba1164c
- `packit init` correctly picks up sources from CentOS and fetches specfile from CentOS dist-git. ([#1106](https://github.com/packit/packit/pull/1106))
Packit Service ba1164c
- Fix translating of the target aliases by treating the highest pending version in Bodhi as `rawhide`. ([#1114](https://github.com/packit/packit/pull/1114))
Packit Service ba1164c
- The format of Packit logs is unified for all log levels. ([#1119](https://github.com/packit/packit/pull/1119))
Packit Service ba1164c
- There is a new configuration option `sources` which enables to define sources to override their URLs in specfile.
Packit Service 721be9f
  You can read more about this in [our documentation](https://packit.dev/docs/configuration/#sources). ([#1131](https://github.com/packit/packit/pull/1131))
Packit Service 721be9f
4575fdb
* Fri Feb 12 2021 Matej Mužila <mmuzila@redhat.com> - 0.25.0-1
Packit Service 721be9f
- `propose-update` command now respects requested dist-git branches. ([#1094](https://github.com/packit/packit/pull/1094))
Packit Service 721be9f
- Improve the way how patches are added to spec file. ([#1100](https://github.com/packit/packit/pull/1100))
Packit Service 721be9f
- `--koji-target` option of the `build` command now accepts aliases. ([#1052](https://github.com/packit/packit/pull/1052))
Packit Service 721be9f
- `propose-downstream` on source-git repositories now always uses `--local-content`. ([#1093](https://github.com/packit/packit/pull/1093))
Packit Service 721be9f
- Don't behave as if `ref` would be always a branch. ([#1089](https://github.com/packit/packit/pull/1089))
Packit Service 721be9f
- Detect a name of the default branch of a repository instead of assuming it to be called `master`. ([#1074](https://github.com/packit/packit/pull/1074))
4575fdb
4575fdb
d2bb796
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.0-2
d2bb796
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d2bb796
Packit Service ff44780
* Thu Jan 21 2021 Packit Service <user-cont-team+packit-service@redhat.com> - 0.24.0-1
Packit Service ff44780
# 0.24.0
Packit Service ff44780
Packit Service ff44780
- No user-facing changes done in this release.
Packit Service ff44780
Packit Service ff44780
Packit Service 6b99350
* Thu Jan 07 2021 Packit Service <user-cont-team+packit-service@redhat.com> - 0.23.0-1
Packit Service 6b99350
# 0.23.0
Packit Service 6b99350
Packit Service 6b99350
- The `propose-update` has been renamed to `propose-downstream`; `propose-update` is now deprecated
Packit Service 6b99350
  to unify the naming between CLI and service. ([@jpopelka](https://github.com/jpopelka), [#1065](https://github.com/packit-service/packit/pull/1065))
Packit Service 6b99350
- Our README has been cleaned and simplified. ([@ChainYo](https://github.com/ChainYo), [#1058](https://github.com/packit-service/packit/pull/1058))
Packit Service 6b99350
- The :champagne: comment with the installation instructions has been disabled by default. ([@mfocko](https://github.com/mfocko), [#1057](https://github.com/packit-service/packit/pull/1057))
Packit Service 6b99350
  - More information can be found in [our documentation](https://packit.dev/docs/configuration/#notifications).
Packit Service 6b99350
- Packit is being prepared to be released in EPEL 8 so it can be consumed in RHEL and CentOS Stream. ([@nforro](https://github.com/nforro), [#1055](https://github.com/packit-service/packit/pull/1055))
Packit Service 6b99350
Packit Service 6b99350
Packit Service c690820
* Thu Dec 10 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 0.22.0-1
Packit Service c690820
# 0.22.0
Packit Service c690820
Packit Service c690820
- `packit init` introduces the `--upstream-url` option. When specified,
Packit Service c690820
  `init` also sets up a source-git repository next to creating a configuration file.
Packit Service c690820
- Don't rewrite macros when setting release and version in spec file.
Packit Service c690820
- Fix generation of Copr settings URL for groups.
Packit Service c690820
- Improve processing of the version when proposing a Fedora update.
Packit Service c690820
Packit Service c690820
Packit Service 2c4645c
* Wed Nov 25 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 0.21.0-1
Packit Service 2c4645c
- pre-commit autoupdate (Jiri Popelka)
Packit Service 2c4645c
- 0.21.0 release (Release bot)
Packit Service 2c4645c
- parsing git remote URL: inform what's happening... (Tomas Tomecek)
Packit Service 2c4645c
- Revert "Allow recursive search for specfile in repository" (Matej Focko)
Packit Service 2c4645c
- Regenerate test_data for recursive (Matej Focko)
Packit Service 2c4645c
- Allow recursive search for specfile in repository (Matej Focko)
Packit Service 2c4645c
- cli.copr-build: replace / with - (Tomas Tomecek)
Packit Service 2c4645c
- copr, log CoprException.result when creating repo fails (Tomas Tomecek)
Packit Service 2c4645c
- Delete recipe-tests.yaml (Jiri Popelka)
Packit Service 2c4645c
- Add build to default jobs (lbarcziova)
Packit Service 2c4645c
- Add test case for Upstream._fix_spec_source() (Nikola Forró)
Packit Service 2c4645c
- Fix SpecFile.get_source() (Nikola Forró)
Packit Service 2c4645c
Packit Service 7e22e02
* Fri Nov 13 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 0.20.0-1
Packit Service 7e22e02
- new upstream release: 0.20.0
Packit Service 7e22e02
Packit Service e670468
* Thu Oct 29 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 0.19.0-1
Packit Service e670468
- new upstream release: 0.19.0
Packit Service e670468
Packit Service 91094ac
* Thu Oct 15 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 0.18.0-1
Packit Service 91094ac
- new upstream release: 0.18.0
Packit Service 91094ac
Packit Service 8083d05
* Thu Oct 01 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 0.17.0-1
Packit Service 8083d05
- new upstream release: 0.17.0
Packit Service 8083d05
Packit Service ff09a80
* Thu Sep 03 2020 rebase-helper <rebase-helper@localhost.local> - 0.16.0-1
Packit Service ff09a80
- new upstream release: 0.16.0
Packit Service ff09a80
Packit Service a09aaa7
* Thu Aug 20 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 0.15.0-1
Packit Service a09aaa7
- new upstream release: 0.15.0
Packit Service a09aaa7
4ab5ab0
* Tue Jul 28 2020 Jiri Popelka <jpopelka@redhat.com> - 0.14.0-1
4ab5ab0
- new upstream release: 0.14.0
4ab5ab0
15ce56e
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-2
15ce56e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
15ce56e
5d7f01d
* Thu Jul 16 2020 Hunor Csomortáni <csomh@redhat.com> - 0.13.1-1
5d7f01d
- new upstream release: 0.13.1
5d7f01d
Packit Service 50daa5c
* Thu Jul 09 2020 Packit Service <user-cont-team+packit-service@redhat.com> - 0.13.0-1
Packit Service 50daa5c
- new upstream release: 0.13.0
Packit Service 50daa5c
8b3867e
* Wed Jun 24 2020 lbarcziova <lbarczio@redhat.com> - 0.12.0-1
8b3867e
- new upstream release: 0.12.0
8b3867e
1a4a27e
* Thu Jun 11 2020 Jan Sakalos <sakalosj@gmail.com> - 0.11.1-1
1a4a27e
- new upstream release: 0.11.1
1a4a27e
56caa0c
* Thu May 28 2020 Miro Hrončok <mhroncok@redhat.com> - 0.11.0-2
56caa0c
- Rebuilt for Python 3.9
56caa0c
9c73293
* Thu May 28 2020 Tomas Tomecek <ttomecek@redhat.com> - 0.11.0-1
9c73293
- new upstream release: 0.11.0
9c73293
d8ca679
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.1-2
d8ca679
- Rebuilt for Python 3.9
d8ca679
cd4e3f7
* Thu Apr 16 2020 Jiri Popelka <jpopelka@redhat.com> - 0.10.1-1
cd4e3f7
- new upstream release: 0.10.1
cd4e3f7
4793427
* Tue Apr 14 2020 Jiri Popelka <jpopelka@redhat.com> - 0.10.0-1
4793427
- new upstream release: 0.10.0
4793427
0afd127
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-2
0afd127
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0afd127
e980b70
* Mon Oct 21 2019 Frantisek Lachman <flachman@redhat.com> - 0.7.1-1
e980b70
- new upstream release: 0.7.1
e980b70
3441cf2
* Fri Oct 04 2019 Frantisek Lachman <flachman@redhat.com> - 0.7.0-1
3441cf2
- new upstream release: 0.7.0
3441cf2
c20d3c2
* Thu Sep 12 2019 Jiri Popelka <jpopelka@redhat.com> - 0.6.1-1
c20d3c2
- new upstream release: 0.6.1
c20d3c2
3a9ee2d
* Tue Sep 10 2019 Tomas Tomecek <ttomecek@redhat.com> - 0.6.0-1
3a9ee2d
- new upstream release: 0.6.0
3a9ee2d
9b69a23
* Mon Aug 26 2019 Tomas Tomecek <ttomecek@redhat.com> - 0.5.1-1
9b69a23
- new upstream release: 0.5.1
9b69a23
5ee7660
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-2
5ee7660
- Rebuilt for Python 3.8
5ee7660
Packit Service 7a4937b
* Fri Aug 02 2019 Packit Service - 0.5.0-1
Packit Service 7a4937b
- new upstream release: 0.5.0
Packit Service 7a4937b
086feb4
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.2-2
086feb4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
086feb4
bcfd162
* Fri Jun 28 2019 Jiri Popelka <jpopelka@redhat.com> - 0.4.2-1
bcfd162
- New upstream release
bcfd162
1ff200d
* Sat May 18 2019 Jiri Popelka <jpopelka@redhat.com> - 0.4.1-1
1ff200d
- Patch release
1ff200d
1ff200d
* Wed May 15 2019 Jiri Popelka <jpopelka@redhat.com> - 0.4.0-1
1ff200d
- New upstream release: 0.4.0
1ff200d
- Build man pages since F30
1ff200d
1ff200d
* Thu Apr 11 2019 Jiri Popelka <jpopelka@redhat.com> - 0.3.0-2
1ff200d
- click-man needs more BuildRequires
1ff200d
1ff200d
* Wed Apr 10 2019 Tomas Tomecek <ttomecek@redhat.com> - 0.3.0-1
1ff200d
- New upstream release: 0.3.0
1ff200d
1ff200d
* Fri Mar 29 2019 Jiri Popelka <jpopelka@redhat.com> - 0.2.0-2
1ff200d
- man pages
1ff200d
f952bba
* Tue Mar 19 2019 Tomas Tomecek <ttomecek@redhat.com> - 0.2.0-1
f952bba
- New upstream release 0.2.0
f952bba
ab1a447
* Thu Mar 14 2019 Frantisek Lachman <flachman@redhat.com> - 0.1.0-1
ab1a447
- New upstream release 0.1.0
ab1a447
0168143
* Mon Mar 04 2019 Frantisek Lachman <flachman@redhat.com> - 0.0.1-1
0168143
- Initial package.