diff --git a/Logbook-1.0.0.tar.gz b/Logbook-1.0.0.tar.gz deleted file mode 100644 index da5c7f0..0000000 --- a/Logbook-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:87da2515a6b3db866283cb9d4e5a6ec44e52a1d556ebb2ea3b6e7e704b5f1872 -size 178113 diff --git a/Logbook-1.1.0.tar.gz b/Logbook-1.1.0.tar.gz new file mode 100644 index 0000000..6046d6c --- /dev/null +++ b/Logbook-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e37a18f4f8244b02a1c44cfd2a3bab9513e6e22b67986ab6a91d52b87f0940b +size 186683 diff --git a/python-Logbook.changes b/python-Logbook.changes index ce0154f..89ba967 100644 --- a/python-Logbook.changes +++ b/python-Logbook.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Sep 8 18:57:09 UTC 2017 - toddrme2178@gmail.com + +- Implement single-spec version +- Update to Version 1.1.0 + * Added a handler for Riemann (thanks Šarūnas Navickas) + * Added a handler for Slack (thanks @jonathanng) + * Colorizing mixin can now force coloring on or off (thanks @ayalash) +- Update to Version 1.0.1 + * Fix PushOver handler cropping (thanks Sébastien Celles) + ------------------------------------------------------------------- Fri Jan 6 20:55:50 UTC 2017 - boris@steki.net diff --git a/python-Logbook.spec b/python-Logbook.spec index 5e4b3ae..570be37 100644 --- a/python-Logbook.spec +++ b/python-Logbook.spec @@ -16,39 +16,68 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +# Tests require a network connection +%bcond_with test Name: python-Logbook -Version: 1.0.0 +Version: 1.1.0 Release: 0 Summary: A logging replacement for Python License: BSD-3-Clause Group: Development/Languages/Python -Url: https://pypi.org/project/Logbook/ -Source: https://pypi.io/packages/34/e8/6419c217bbf464fe8a902418120cccaf476201bd03b50958db24d6e90f65/Logbook-1.0.0.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +Url: https://github.com/getlogbook/logbook +Source: https://files.pythonhosted.org/packages/source/L/Logbook/Logbook-%{version}.tar.gz +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: %{python_module Cython} +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +%if %{with test} +BuildRequires: %{python_module Jinja2} +BuildRequires: %{python_module SQLAlchemy} +BuildRequires: %{python_module execnet >= 1.0.9} +BuildRequires: %{python_module gevent} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pyzmq} +BuildRequires: %{python_module redis} +BuildRequires: python-mock %endif +Recommends: python-Jinja2 +Recommends: python-SQLAlchemy +Recommends: python-execnet >= 1.0.9 +Recommends: python-gevent +Recommends: python-redis +Recommends: python-pyzmq + +%python_subpackages %description -An awesome logging implementation that is fun to use. +An alternative logging implementation for python. %prep %setup -q -n Logbook-%{version} +sed -i 's/\r$//' LICENSE +rm tests/*.pyc +rm -r tests/__pycache__ %build -CFLAGS="%{optflags}" python setup.py build +export CFLAGS="%{optflags}" +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} -#%%check -#python setup.py test +%if %{with test} +%check +export CFLAGS="%{optflags}" +%python_exec setup.py test +%endif -%files +%files %{python_files} %defattr(-,root,root,-) -%doc CHANGES +%doc CHANGES LICENSE %{python_sitearch}/* %changelog