%global srcname journal-brief %global sum Find new systemd journal entries since last run Name: python-%{srcname} Version: 1.1.4 Release: 1%{?dist} Summary: %{sum} License: GPLv2+ URL: https://pypi.python.org/pypi/%{srcname} Source0: https://pypi.python.org/packages/source/j/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest python3-flexmock BuildRequires: python3-PyYAML %description Python module for examining, bookmarking, and filtering systemd journal entries. %package -n %{srcname} Summary: Show interesting new systemd journal entries since last run Requires: python3-%{srcname} = %{version}-%{release} Requires: python3-setuptools %description -n %{srcname} Run this from cron to get a daily or hourly briefing of interesting new systemd journal entries. %package -n python3-%{srcname} Summary: %{sum} Requires: systemd-python3 Requires: python3-PyYAML Recommends: %{srcname} = %{version}-%{release} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} Python module for examining, bookmarking, and filtering systemd journal entries. %prep %autosetup -n %{srcname}-%{version} %build %py3_build %install %py3_install %check PYTEST_ARGS='-v --doctest-modules tests journal_brief' %{__python3} %{py_setup} test --pytest-args="$PYTEST_ARGS" %files -n %{srcname} %{_bindir}/%{srcname} %files -n python3-%{srcname} %license LICENSE %doc README.md %{python3_sitelib}/* %changelog * Sun Jul 24 2016 Tim Waugh - 1.1.4-1 - 1.1.4. * Tue Jul 19 2016 Fedora Release Engineering - 1.1.3-4 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 1.1.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Mon Nov 9 2015 Tim Waugh - 1.1.3-1 - 1.1.3 (bug #1279097). * Wed Nov 4 2015 Tim Waugh - 1.1.2-2 - Add python3-PyYAML runtime dependency (bug #1277715). * Fri Oct 30 2015 Tim Waugh - 1.1.2-1 - 1.1.2. - Run doctests in %%check. * Fri Oct 23 2015 Tim Waugh - 1.1.1-2 - journal-brief sub-package requires python3-setuptools due to entrypoint usage. - python3-journal-brief sub-package requires systemd-python3, not (absent) main package. * Fri Oct 16 2015 Tim Waugh - 1.1.1-1 - Initial spec file.