|
|
22283c3 |
%global srcname metar
|
|
|
22283c3 |
%global summary Coded METAR and SPECI weather reports parser for Python
|
|
|
22283c3 |
|
|
|
57cb4d8 |
Name: python-%{srcname}
|
|
|
969bea2 |
Version: 1.10.0
|
|
|
969bea2 |
Release: 1%{?dist}
|
|
|
22283c3 |
Summary: %{summary}
|
|
|
22283c3 |
|
|
|
4ee34a8 |
# This software uses the BSD-Source-Code license
|
|
|
4ee34a8 |
# (but without the second condition on use of names of contributors)
|
|
|
4ee34a8 |
License: BSD-Source-Code
|
|
|
437e731 |
URL: https://github.com/python-metar/python-metar
|
|
|
437e731 |
# note that development was moved to a new github account
|
|
|
437e731 |
# the old account was: http://github.com/tomp/python-metar
|
|
|
437e731 |
# see also this discussion on the 2 project names:
|
|
|
437e731 |
# https://github.com/python-metar/python-metar/issues/58
|
|
|
57cb4d8 |
Source: https://files.pythonhosted.org/packages/source/m/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
4acbd33 |
|
|
|
5bd5f3e |
BuildArch: noarch
|
|
|
5bd5f3e |
|
|
|
09a0f1f |
BuildRequires: python3-setuptools
|
|
|
4704bb7 |
BuildRequires: python3-devel python3-pytest
|
|
|
22283c3 |
|
|
|
22283c3 |
%global _description \
|
|
|
22283c3 |
Python-metar is a python package for interpreting METAR and SPECI coded \
|
|
|
57cb4d8 |
weather reports. METAR (Meteorological Aerodrome Report) and SPECI (Specials) \
|
|
|
57cb4d8 |
are reports containing airport weather information encoded in ASCII \
|
|
|
57cb4d8 |
following standards set by WMO (World Meteorological Organization) \
|
|
|
57cb4d8 |
and ICAO (International Civil Aviation Organization).
|
|
|
22283c3 |
|
|
|
22283c3 |
%description %_description
|
|
|
22283c3 |
|
|
|
22283c3 |
%package -n python3-%{srcname}
|
|
|
22283c3 |
Summary: %{summary}
|
|
|
22283c3 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
22283c3 |
|
|
|
22283c3 |
%description -n python3-%{srcname} %_description
|
|
|
5bd5f3e |
|
|
|
5bd5f3e |
%prep
|
|
|
437e731 |
%autosetup -n %{srcname}-%{version} -p1
|
|
|
22283c3 |
|
|
|
5bd5f3e |
%build
|
|
|
437e731 |
|
|
|
22283c3 |
%py3_build
|
|
|
5bd5f3e |
|
|
|
5bd5f3e |
%install
|
|
|
4704bb7 |
|
|
|
22283c3 |
%py3_install
|
|
|
5bd5f3e |
|
|
|
4704bb7 |
# note: sample file is not present anymore in pypi version
|
|
|
4acbd33 |
# remove executable permissions from sample.py to
|
|
|
4acbd33 |
# prevent dependencies being pulled in from this file
|
|
|
437e731 |
#chmod 644 sample.py
|
|
|
5bd5f3e |
|
|
|
437e731 |
%check
|
|
|
437e731 |
|
|
|
4704bb7 |
# these variants dont work, even if the first one
|
|
|
4704bb7 |
# works just fine when doing a manual install. Dont know why.
|
|
|
4704bb7 |
#%%{__python3} setup.py test
|
|
|
4704bb7 |
#PYTHONPATH="%%{buildroot}%%{python3_sitelib}" %%{__python3} setup.py test
|
|
|
437e731 |
|
|
|
4704bb7 |
# this works fine
|
|
|
4704bb7 |
PYTHONPATH="%{buildroot}%{python3_sitelib}" %{_bindir}/pytest-3
|
|
|
437e731 |
|
|
|
5bd5f3e |
|
|
|
22283c3 |
%files -n python3-%{srcname}
|
|
|
4704bb7 |
|
|
|
4704bb7 |
%doc LICENSE README.md PKG-INFO CHANGELOG.md
|
|
|
22283c3 |
# sample.py
|
|
|
4704bb7 |
|
|
|
25066c1 |
%{python3_sitelib}/%{srcname}
|
|
|
25066c1 |
%{python3_sitelib}/%{srcname}*egg-info
|
|
|
5bd5f3e |
|
|
|
22283c3 |
%changelog
|
|
|
969bea2 |
* Sat May 20 2023 Jos de Kloe <josdekloe@gmail.com> 1.10.0-1
|
|
|
969bea2 |
- new upstream version 1.10.0
|
|
|
969bea2 |
|
|
|
3c34c7d |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-4
|
|
|
3c34c7d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
3c34c7d |
|
|
|
4ee34a8 |
* Wed Dec 28 2022 Jos de Kloe <josdekloe@gmail.com> 1.9.0-3
|
|
|
4ee34a8 |
- SPDX migration: change BSD to BSD-Source-Code
|
|
|
4ee34a8 |
|
|
|
2ef3cac |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-2
|
|
|
2ef3cac |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
2ef3cac |
|
|
|
d6b88cf |
* Sun Jul 03 2022 Jos de Kloe <josdekloe@gmail.com> 1.9.0-1
|
|
|
d6b88cf |
- new upstream version 1.9.0
|
|
|
d6b88cf |
|
|
|
ae099c1 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.8.0-6
|
|
|
ae099c1 |
- Rebuilt for Python 3.11
|
|
|
ae099c1 |
|
|
|
b110d0a |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-5
|
|
|
b110d0a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
b110d0a |
|
|
|
ad7c01f |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-4
|
|
|
ad7c01f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
ad7c01f |
|
|
|
c9edcec |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.8.0-3
|
|
|
c9edcec |
- Rebuilt for Python 3.10
|
|
|
c9edcec |
|
|
|
5f445cf |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
|
|
|
5f445cf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
5f445cf |
|
|
|
25066c1 |
* Sun Jan 10 2021 Jos de Kloe <josdekloe@gmail.com> 1.8.0-1
|
|
|
d6b88cf |
- new upstream version 1.8.0
|
|
|
25066c1 |
|
|
|
b45c79c |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-7
|
|
|
b45c79c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b45c79c |
|
|
|
c980a36 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.7.0-6
|
|
|
c980a36 |
- Rebuilt for Python 3.9
|
|
|
c980a36 |
|
|
|
7a6a403 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-5
|
|
|
7a6a403 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
7a6a403 |
|
|
|
729a39c |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.7.0-4
|
|
|
729a39c |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
729a39c |
|
|
|
c1aa7aa |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.7.0-3
|
|
|
c1aa7aa |
- Rebuilt for Python 3.8
|
|
|
c1aa7aa |
|
|
|
b9690fd |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-2
|
|
|
b9690fd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
b9690fd |
|
|
|
4704bb7 |
|
|
|
4704bb7 |
* Thu Mar 07 2019 Jos de Kloe <josdekloe@gmail.com> 1.7.0-1
|
|
|
4704bb7 |
- new upstream version and remove python2
|
|
|
4704bb7 |
|
|
|
ff90408 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
|
|
|
ff90408 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
ff90408 |
|
|
|
437e731 |
* Thu Sep 20 2018 Jos de Kloe <josdekloe@gmail.com> 1.6.0-1
|
|
|
437e731 |
- new upstream version and disable python2 sub-package for f30+
|
|
|
437e731 |
|
|
|
03f9f27 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-6
|
|
|
03f9f27 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
03f9f27 |
|
|
|
8705ec7 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.5.0-5
|
|
|
8705ec7 |
- Rebuilt for Python 3.7
|
|
|
8705ec7 |
|
|
|
69eaeb0 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4
|
|
|
69eaeb0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
69eaeb0 |
|
|
|
57cb4d8 |
* Thu Aug 03 2017 Jos de Kloe <josdekloe@gmail.com> 1.5.0-3
|
|
|
57cb4d8 |
- undo spec file name change since this seems not allowed
|
|
|
57cb4d8 |
|
|
|
e231480 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
|
|
e231480 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
e231480 |
|
|
|
22283c3 |
* Sat Jul 01 2017 Jos de Kloe <josdekloe@gmail.com> 1.5.0-1
|
|
|
22283c3 |
- new upstream version and adapt to generate python2 and python3 versions
|
|
|
ed4d537 |
|
|
|
a6abc16 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-4
|
|
|
a6abc16 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
a6abc16 |
|
|
|
77481f4 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-3
|
|
|
77481f4 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
77481f4 |
|
|
|
4acbd33 |
* Thu Oct 08 2015 Jos de Kloe <josdekloe@gmail.com> 1.4.0-1
|
|
|
4acbd33 |
- Update to new upstream version and simplified spec file
|
|
|
ef9fecd |
- Add check section and run provided tests
|
|
|
4acbd33 |
|
|
|
8ea1f00 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-14
|
|
|
8ea1f00 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
8ea1f00 |
|
|
|
4521521 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-13
|
|
|
4521521 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
4521521 |
|
|
|
bc54afe |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-12
|
|
|
bc54afe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
bc54afe |
|
|
|
4977b39 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-11
|
|
|
4977b39 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
4977b39 |
|
|
|
66dfe12 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-10
|
|
|
66dfe12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
66dfe12 |
|
|
|
bf25904 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-9
|
|
|
bf25904 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
bf25904 |
|
|
|
0cf17f7 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-8
|
|
|
0cf17f7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
0cf17f7 |
|
|
|
ac83e6c |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.3.0-7
|
|
|
ac83e6c |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
ac83e6c |
|
|
|
e8f07e7 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-6
|
|
|
e8f07e7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
e8f07e7 |
|
|
|
3f0e7ad |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-5
|
|
|
3f0e7ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
3f0e7ad |
|
|
|
cbeda1a |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.0-4
|
|
|
cbeda1a |
- Rebuild for Python 2.6
|
|
|
cbeda1a |
|
|
|
c6baa4a |
* Thu Apr 24 2008 Matthias Saou <http://freshrpms.net/> 1.3.0-3
|
|
|
c6baa4a |
- Include everything under sitelib, to include egg files if present (F-9+).
|
|
|
c6baa4a |
|
|
|
5bd5f3e |
* Tue Mar 27 2007 Matthias Saou <http://freshrpms.net/> 1.3.0-2
|
|
|
5bd5f3e |
- Include nobang patch.
|
|
|
5bd5f3e |
|
|
|
5bd5f3e |
* Fri Feb 9 2007 Matthias Saou <http://freshrpms.net/> 1.3.0-1
|
|
|
5bd5f3e |
- Initial RPM release.
|
|
|
5bd5f3e |
|