summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Raiskup <pavel@raiskup.cz>2013-01-20 13:53:38 +0100
committerPavel Raiskup <pavel@raiskup.cz>2013-01-20 13:53:38 +0100
commit152986baa9ea2103b416a884cfcb6a04f82102bb (patch)
treee0b18248134d11400063ee47b3e6bb17be684796
parentd175695c260d10d72aa78b9e8bd1127bfea4767e (diff)
downloadpybugz-152986baa9ea2103b416a884cfcb6a04f82102bb.tar.gz
pybugz-152986baa9ea2103b416a884cfcb6a04f82102bb.tar.xz
pybugz-152986baa9ea2103b416a884cfcb6a04f82102bb.zip
Fedora-review fixes
-rw-r--r--pybugz.spec11
1 files 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 <praiskup@redhat.com> - 0.10-2
+* Sun Jan 20 2013 Pavel Raiskup <praiskup@redhat.com> - 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 <praiskup@redhat.com> - 0.10-1
- rebase to 0.10