c0ea18c
Name:               python-jira
c0ea18c
Version:            3.1.1
c0ea18c
Release:            1%{?dist}
c0ea18c
Summary:            Python library for interacting with JIRA via REST APIs
00241aa
00241aa
License:            BSD
c0ea18c
URL:                https://pypi.io/project/jira
c0ea18c
Source0:            %{pypi_source jira}
00241aa
c0ea18c
BuildArch:      noarch
Iryna Shcherbina 2f9cc2b
Iryna Shcherbina 2f9cc2b
BuildRequires:      python3-devel
Iryna Shcherbina 2f9cc2b
c0ea18c
%global _description %{expand:
c0ea18c
Python library for interacting with JIRA via REST APIs
c0ea18c
}
c0ea18c
%description %_description
Iryna Shcherbina 2f9cc2b
c0ea18c
%package -n python3-jira
c0ea18c
Summary:        %{summary}
Iryna Shcherbina 2f9cc2b
c0ea18c
%description -n python3-jira %_description
00241aa
Iryna Shcherbina 2f9cc2b
00241aa
%prep
c0ea18c
%autosetup -p1 -n jira-%{version}
00241aa
Iryna Shcherbina 2f9cc2b
# Remove shebang in the non-executable files
c0ea18c
sed -i -e '/^#!\//, 1d' jira/{client,config,jirashell}.py
c0ea18c
c0ea18c
c0ea18c
%generate_buildrequires
c0ea18c
%pyproject_buildrequires -r
Iryna Shcherbina 2f9cc2b
Iryna Shcherbina 2f9cc2b
00241aa
%build
c0ea18c
%pyproject_wheel
00241aa
00241aa
Iryna Shcherbina 2f9cc2b
%install
c0ea18c
%pyproject_install
c0ea18c
%pyproject_save_files jira
00241aa
c0ea18c
#%%check
c0ea18c
# no useful tests to run from upstream; also the packaging is a bit
c0ea18c
# broken.  See https://github.com/pycontribs/jira/discussions/1263
00241aa
c0ea18c
%files -n python3-jira -f %{pyproject_files}
Iryna Shcherbina 2f9cc2b
%doc PKG-INFO
Iryna Shcherbina 2f9cc2b
%license LICENSE
3cf7955
%{_bindir}/jirashell
00241aa
00241aa
00241aa
%changelog
c0ea18c
* Mon Dec 13 2021 Alois Mahdal <netvor@vornet.cz> - 2.0.0-13
c0ea18c
- Rewrote spec for PyPI and rebased to 3.1.1
c0ea18c
1bf5bab
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-13
1bf5bab
- Second attempt - Rebuilt for
1bf5bab
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
1bf5bab
d3a06f4
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.0-12
d3a06f4
- Rebuilt for Python 3.10
d3a06f4
f816643
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-11
f816643
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
f816643
6c66de0
* Fri Nov 13 2020 Matt Prahl <mprahl@redhat.com> - 2.0.0-10
6c66de0
- Add support for Python 3.8
6c66de0
799c277
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-9
799c277
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
799c277
0d3cff7
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-8
0d3cff7
- Rebuilt for Python 3.9
0d3cff7
78393b0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-7
78393b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
78393b0
5348e05
* Wed Nov 13 2019 Steve Traylen <steve.traylen@cern.ch> - 2.0.0-6
5348e05
- Add new BR of pbr.
5348e05
32b0a51
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-5
32b0a51
- Rebuilt for Python 3.8
32b0a51
b010969
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
b010969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b010969
87ab2f2
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-3
87ab2f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
87ab2f2
2f3e790
* Wed Oct 31 2018 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-2
2f3e790
- Subpackage python2-jira has been removed
2f3e790
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
2f3e790
3cf7955
* Tue Jul 17 2018 Iryna Shcherbina <shcherbina.iryna@gmail.com> - 2.0.0-1
3cf7955
- Update to 2.0.0
3cf7955
25157ce
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.15-4
25157ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
25157ce
5350d12
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.15-3
5350d12
- Rebuilt for Python 3.7
5350d12
641554d
* Fri Jun 08 2018 Ralph Bean <rbean@redhat.com> - 1.0.15-2
641554d
- Add missing deps.  https://bugzilla.redhat.com/show_bug.cgi?id=1589006
641554d
7960b66
* Fri May 25 2018 Ralph Bean <rbean@redhat.com> - 1.0.15-1
7960b66
- new version
7960b66
8ae7b56
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-4
8ae7b56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8ae7b56
de7f6ce
* Fri Jan 19 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.7-3
de7f6ce
- Update Python 2 dependency declarations to new packaging standards
de7f6ce
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
de7f6ce
717b62a
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-2
717b62a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
717b62a
Iryna Shcherbina 2f9cc2b
* Mon Nov 21 2016 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.7-1
Iryna Shcherbina 2f9cc2b
- Update to 1.0.7 version
Iryna Shcherbina 2f9cc2b
- Provide Python 3 subpackage
Iryna Shcherbina 2f9cc2b
4b6fcc7
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.50-2
4b6fcc7
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
4b6fcc7
f4790ed
* Tue May 10 2016 Ralph Bean <rbean@redhat.com> - 0.50-1
f4790ed
- new version
f4790ed
4ebf613
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-8
4ebf613
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4ebf613
95f829b
* Mon Nov 30 2015 Ralph Bean <rbean@redhat.com> - 0.13-7
95f829b
- Fix upstream url for https://bugzilla.redhat.com/1285760
95f829b
0355970
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-6
0355970
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0355970
87226c9
* Tue Apr 21 2015 Ralph Bean <rbean@redhat.com> - 0.13-5
87226c9
- Change dep from the ipython meta package to just python-ipython-console.
87226c9
- Move the /tools/ module into the jira namespace to avoid potential conflict.
87226c9
1728780
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-4
1728780
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1728780
247b717
* Fri Nov 22 2013 Ralph Bean <rbean@redhat.com> - 0.13-3
247b717
- Patch out mime type detection as per review feedback.
247b717
00241aa
* Fri Nov 01 2013 Ralph Bean <rbean@redhat.com> - 0.13-2
00241aa
- Modernize python2 rpm macros.
00241aa
00241aa
* Thu Oct 31 2013 Ralph Bean <rbean@redhat.com> - 0.13-1
00241aa
- Initial package for Fedora