dhodovsk / rpms / packit

Forked from rpms/packit 2 years ago
Clone

Blame packit.spec

0168143
%global pypi_name packitos
0168143
%global real_name packit
0168143
0168143
Name:           %{real_name}
e980b70
Version:        0.7.1
9b69a23
Release:        1%{?dist}
0168143
Summary:        A tool for integrating upstream projects with Fedora operating system
0168143
0168143
License:        MIT
0168143
URL:            https://github.com/packit-service/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-fedmsg
1ff200d
BuildRequires:  python3-jsonschema
1ff200d
BuildRequires:  python3-ogr
1ff200d
BuildRequires:  python3-packaging
1ff200d
BuildRequires:  python3-pyyaml
1ff200d
BuildRequires:  python3-tabulate
Packit Service 7a4937b
BuildRequires:  python3-cccolutils
3a9ee2d
BuildRequires:  python3-koji
3441cf2
BuildRequires:  python3-lazy-object-proxy
1ff200d
BuildRequires:  rebase-helper
0168143
BuildRequires:  python3dist(setuptools)
0168143
BuildRequires:  python3dist(setuptools-scm)
0168143
BuildRequires:  python3dist(setuptools-scm-git-archive)
f952bba
# new-sources
0168143
Requires:       fedpkg
f952bba
# bumpspec
f952bba
Requires:       rpmdevtools
3a9ee2d
# doesn't have the python3dist provide
3a9ee2d
Requires:       python3-koji
f952bba
Requires:       python3-bodhi-client
0168143
Requires:       python3-%{real_name} = %{version}-%{release}
0168143
0168143
%?python_enable_dependency_generator
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}
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
%if 0%{?fedora} >= 30
1ff200d
python3 setup.py --command-packages=click_man.commands man_pages --target %{buildroot}%{_mandir}/man1
1ff200d
%endif
0168143
0168143
%files
0168143
%license LICENSE
0168143
%{_bindir}/packit
1ff200d
%if 0%{?fedora} >= 30
1ff200d
%{_mandir}/man1/packit*.1*
1ff200d
%endif
0168143
0168143
%files -n python3-%{real_name}
0168143
%license LICENSE
0168143
%doc README.md
0168143
%{python3_sitelib}/*
0168143
0168143
%changelog
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.