From 152986baa9ea2103b416a884cfcb6a04f82102bb Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Sun, 20 Jan 2013 13:53:38 +0100 Subject: Fedora-review fixes --- pybugz.spec | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pybugz.spec b/pybugz.spec index 3df6a75..ffeafa7 100644 --- a/pybugz.spec +++ b/pybugz.spec @@ -8,14 +8,14 @@ URL: https://github.com/williamh/pybugz BuildArch: noarch Requires: python2 -BuildRequires: python2 +BuildRequires: python2-devel # we don't need debuginfo package %global debug_package %{nil} %if ! 0%{?rhel} # no bash-completion for RHEL -%define bash_completion 1 +%global bash_completion 1 %endif %if %{?bash_completion} @@ -49,7 +49,7 @@ comfortably from the command line. %install # use rather 'pybugz' than just 'bugz' -%define pybugz_binary pybugz +%global pybugz_binary pybugz # default install process %{__python} setup.py install --root=%{buildroot} @@ -77,15 +77,16 @@ mkdir -p %{buildroot}%{_docdir} %endif %{python_sitelib}/%{name}-*.egg-info %{_mandir}/man1/pybugz.1.gz -%config %{_sysconfdir}/pybugz +%config(noreplace) %{_sysconfdir}/pybugz %doc README LICENSE %changelog -* Sun Jan 20 2013 Pavel Raiskup - 0.10-2 +* Sun Jan 20 2013 Pavel Raiskup - 0.10git69cd7-1 - apply downstream patches to reflect https://github.com/praiskup/pybugz it allows hierarchy of configuration files and a bit better error handling - update URL as upstream is now on github - make the RedHat bugzilla default +- fedora-review fixes: s/define/global/, BR python2-devel, noreplace * Mon Oct 01 2012 Pavel Raiskup - 0.10-1 - rebase to 0.10 -- cgit