|
|
69f430a |
%global srcname journal-brief
|
|
|
69f430a |
%global sum Find new systemd journal entries since last run
|
|
|
69f430a |
|
|
|
69f430a |
Name: python-%{srcname}
|
|
|
c69f1eb |
Version: 1.1.5
|
|
|
a6054d5 |
Release: 4%{?dist}
|
|
|
69f430a |
Summary: %{sum}
|
|
|
69f430a |
|
|
|
69f430a |
License: GPLv2+
|
|
|
69f430a |
URL: https://pypi.python.org/pypi/%{srcname}
|
|
|
69f430a |
Source0: https://pypi.python.org/packages/source/j/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
69f430a |
|
|
|
69f430a |
BuildArch: noarch
|
|
|
69f430a |
BuildRequires: python3-devel
|
|
|
69f430a |
BuildRequires: python3-pytest python3-flexmock
|
|
|
69f430a |
BuildRequires: python3-PyYAML
|
|
|
69f430a |
|
|
|
69f430a |
%description
|
|
|
69f430a |
Python module for examining, bookmarking, and filtering systemd
|
|
|
69f430a |
journal entries.
|
|
|
69f430a |
|
|
|
69f430a |
|
|
|
69f430a |
%package -n %{srcname}
|
|
|
69f430a |
Summary: Show interesting new systemd journal entries since last run
|
|
|
69f430a |
Requires: python3-%{srcname} = %{version}-%{release}
|
|
|
722be25 |
Requires: python3-setuptools
|
|
|
69f430a |
|
|
|
69f430a |
%description -n %{srcname}
|
|
|
69f430a |
Run this from cron to get a daily or hourly briefing of interesting
|
|
|
69f430a |
new systemd journal entries.
|
|
|
69f430a |
|
|
|
69f430a |
|
|
|
69f430a |
%package -n python3-%{srcname}
|
|
|
69f430a |
Summary: %{sum}
|
|
|
722be25 |
Requires: systemd-python3
|
|
|
7ca0178 |
Requires: python3-PyYAML
|
|
|
69f430a |
Recommends: %{srcname} = %{version}-%{release}
|
|
|
69f430a |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
69f430a |
|
|
|
69f430a |
%description -n python3-%{srcname}
|
|
|
69f430a |
Python module for examining, bookmarking, and filtering systemd
|
|
|
69f430a |
journal entries.
|
|
|
69f430a |
|
|
|
69f430a |
|
|
|
69f430a |
%prep
|
|
|
69f430a |
%autosetup -n %{srcname}-%{version}
|
|
|
69f430a |
|
|
|
69f430a |
%build
|
|
|
69f430a |
%py3_build
|
|
|
69f430a |
|
|
|
69f430a |
|
|
|
69f430a |
%install
|
|
|
69f430a |
%py3_install
|
|
|
69f430a |
|
|
|
69f430a |
|
|
|
69f430a |
%check
|
|
|
c5e108c |
PYTEST_ARGS='-v --doctest-modules tests journal_brief'
|
|
|
c5e108c |
%{__python3} %{py_setup} test --pytest-args="$PYTEST_ARGS"
|
|
|
69f430a |
|
|
|
69f430a |
|
|
|
69f430a |
%files -n %{srcname}
|
|
|
69f430a |
%{_bindir}/%{srcname}
|
|
|
69f430a |
|
|
|
69f430a |
|
|
|
69f430a |
%files -n python3-%{srcname}
|
|
|
69f430a |
%license LICENSE
|
|
|
69f430a |
%doc README.md
|
|
|
69f430a |
%{python3_sitelib}/*
|
|
|
69f430a |
|
|
|
69f430a |
|
|
|
69f430a |
%changelog
|
|
|
a6054d5 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-4
|
|
|
a6054d5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
a6054d5 |
|
|
|
74e42af |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-3
|
|
|
74e42af |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
74e42af |
|
|
|
8d8da86 |
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 1.1.5-2
|
|
|
8d8da86 |
- Rebuild for Python 3.6
|
|
|
8d8da86 |
|
|
|
c69f1eb |
* Tue Nov 1 2016 Tim Waugh <twaugh@redhat.com> - 1.1.5-1
|
|
|
c69f1eb |
- 1.1.5:
|
|
|
c69f1eb |
- setup: don't install tests.format (RH bug #1390250)
|
|
|
c69f1eb |
|
|
|
645fe73 |
* Sun Jul 24 2016 Tim Waugh <twaugh@redhat.com> - 1.1.4-1
|
|
|
645fe73 |
- 1.1.4.
|
|
|
645fe73 |
|
|
|
78746f8 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-4
|
|
|
78746f8 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
78746f8 |
|
|
|
82525ff |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-3
|
|
|
82525ff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
82525ff |
|
|
|
79b8998 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
|
79b8998 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
79b8998 |
|
|
|
7d50c7c |
* Mon Nov 9 2015 Tim Waugh <twaugh@redhat.com> - 1.1.3-1
|
|
|
7d50c7c |
- 1.1.3 (bug #1279097).
|
|
|
7d50c7c |
|
|
|
7ca0178 |
* Wed Nov 4 2015 Tim Waugh <twaugh@redhat.com> - 1.1.2-2
|
|
|
7ca0178 |
- Add python3-PyYAML runtime dependency (bug #1277715).
|
|
|
7ca0178 |
|
|
|
c5e108c |
* Fri Oct 30 2015 Tim Waugh <twaugh@redhat.com> - 1.1.2-1
|
|
|
c5e108c |
- 1.1.2.
|
|
|
c5e108c |
- Run doctests in %%check.
|
|
|
c5e108c |
|
|
|
722be25 |
* Fri Oct 23 2015 Tim Waugh <twaugh@redhat.com> - 1.1.1-2
|
|
|
722be25 |
- journal-brief sub-package requires python3-setuptools due to
|
|
|
722be25 |
entrypoint usage.
|
|
|
722be25 |
- python3-journal-brief sub-package requires systemd-python3, not
|
|
|
722be25 |
(absent) main package.
|
|
|
722be25 |
|
|
|
69f430a |
* Fri Oct 16 2015 Tim Waugh <twaugh@redhat.com> - 1.1.1-1
|
|
|
69f430a |
- Initial spec file.
|