|
|
2cef3e5 |
%global pypi_name pyjokes
|
|
|
2cef3e5 |
%global with_tests 0
|
|
|
2cef3e5 |
%global global_desc One line jokes for programmers (jokes as a service)
|
|
|
2cef3e5 |
|
|
|
2cef3e5 |
Name: %{pypi_name}
|
|
|
2cef3e5 |
Version: 0.5.0
|
|
|
4317c5c |
Release: 21%{?dist}
|
|
|
2cef3e5 |
Summary: %{global_desc}
|
|
|
2cef3e5 |
|
|
|
2cef3e5 |
License: BSD
|
|
|
2cef3e5 |
URL: http://pyjok.es/
|
|
|
2cef3e5 |
Source0: https://github.com/%{pypi_name}/%{pypi_name}/archive/v%{version}.tar.gz
|
|
|
2cef3e5 |
|
|
|
2cef3e5 |
BuildArch: noarch
|
|
|
2cef3e5 |
BuildRequires: python3-devel
|
|
|
52cf5d2 |
BuildRequires: python3-setuptools
|
|
|
2cef3e5 |
%if 0%{?with_tests}
|
|
|
2cef3e5 |
BuildRequires: python3-pytest
|
|
|
2cef3e5 |
%endif
|
|
|
2cef3e5 |
|
|
|
2cef3e5 |
|
|
|
2cef3e5 |
%description
|
|
|
2cef3e5 |
%{global_desc}.
|
|
|
2cef3e5 |
|
|
|
2cef3e5 |
%package -n python3-%{pypi_name}
|
|
|
26cfb0e |
Summary: %{global_desc}. This package includes a commandline interface.
|
|
|
2cef3e5 |
|
|
|
2cef3e5 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
2cef3e5 |
|
|
|
2cef3e5 |
%description -n python3-%{pypi_name}
|
|
|
2cef3e5 |
%{global_desc}.
|
|
|
2cef3e5 |
|
|
|
2cef3e5 |
%prep
|
|
|
2cef3e5 |
%setup -q -n %{pypi_name}-%{version}
|
|
|
2cef3e5 |
|
|
|
2cef3e5 |
%build
|
|
|
2cef3e5 |
%py3_build
|
|
|
2cef3e5 |
|
|
|
2cef3e5 |
%install
|
|
|
2cef3e5 |
%py3_install
|
|
|
2cef3e5 |
|
|
|
2cef3e5 |
%check
|
|
|
2cef3e5 |
%if %{with_tests}
|
|
|
2cef3e5 |
%{__python3} setup.py test
|
|
|
2cef3e5 |
%endif
|
|
|
2cef3e5 |
|
|
|
2cef3e5 |
%files -n python3-%{pypi_name}
|
|
|
2cef3e5 |
%license LICENCE.txt
|
|
|
2cef3e5 |
%doc docs/*
|
|
|
2cef3e5 |
# For noarch packages: sitelib
|
|
|
2cef3e5 |
%{_bindir}/pyjoke*
|
|
|
2cef3e5 |
%{python3_sitelib}/pyjokes-*
|
|
|
12331c7 |
%{python3_sitelib}/pyjokes/
|
|
|
2cef3e5 |
|
|
|
2cef3e5 |
%changelog
|
|
|
4317c5c |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-21
|
|
|
4317c5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
4317c5c |
|
|
|
a00e666 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-20
|
|
|
a00e666 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
a00e666 |
|
|
|
6a8fc5d |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.5.0-19
|
|
|
6a8fc5d |
- Rebuilt for Python 3.10
|
|
|
6a8fc5d |
|
|
|
89d9c38 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-18
|
|
|
89d9c38 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
89d9c38 |
|
|
|
b625525 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-17
|
|
|
b625525 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b625525 |
|
|
|
ca2094f |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-16
|
|
|
ca2094f |
- Rebuilt for Python 3.9
|
|
|
ca2094f |
|
|
|
deb4ea5 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-15
|
|
|
deb4ea5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
deb4ea5 |
|
|
|
2cfa949 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-14
|
|
|
2cfa949 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
2cfa949 |
|
|
|
ee0aa3c |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-13
|
|
|
ee0aa3c |
- Rebuilt for Python 3.8
|
|
|
ee0aa3c |
|
|
|
a019953 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-12
|
|
|
a019953 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
a019953 |
|
|
|
27d9f2b |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-11
|
|
|
27d9f2b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
27d9f2b |
|
|
|
cb02e65 |
* Tue Dec 11 2018 Paul Whalen <pwhalen@fedoraproject.org> - 0.5.0-10
|
|
|
cb02e65 |
- Python 2 Package Removal
|
|
|
cb02e65 |
|
|
|
2cd9a5a |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-9
|
|
|
2cd9a5a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
2cd9a5a |
|
|
|
58d6fdc |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-8
|
|
|
58d6fdc |
- Rebuilt for Python 3.7
|
|
|
58d6fdc |
|
|
|
d3c90b2 |
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-7
|
|
|
d3c90b2 |
- Escape macros in %%changelog
|
|
|
d3c90b2 |
|
|
|
2c77955 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-6
|
|
|
2c77955 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
2c77955 |
|
|
|
12331c7 |
* Thu Jan 04 2018 Lumír Balhar <lbalhar@redhat.com> - 0.5.0-5
|
|
|
12331c7 |
- Fix directory ownership
|
|
|
12331c7 |
|
|
|
9e28790 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-4
|
|
|
9e28790 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
9e28790 |
|
|
|
26cfb0e |
* Wed May 10 2017 Paul Whalen <pwhalen@redhat.com> - 0.5.0-3
|
|
|
26cfb0e |
- Fix python2-pyjokes requires both Python 2 and Python 3(BZ#1448514)
|
|
|
26cfb0e |
|
|
|
2cef3e5 |
* Fri Mar 03 2017 Paul Whalen <pwhalen@redhat.com> - 0.5.0-2
|
|
|
d3c90b2 |
- Add %%python_provide macro.
|
|
|
d3c90b2 |
- Consistently use %%pypi_name macro.
|
|
|
2cef3e5 |
- Add global decription macro.
|
|
|
2cef3e5 |
|
|
|
2cef3e5 |
* Fri Feb 24 2017 Paul Whalen <pwhalen@redhat.com> 0.5.0-1
|
|
|
2cef3e5 |
- Initial packaging.
|