summaryrefslogtreecommitdiffstats
path: root/pybugz.spec
diff options
context:
space:
mode:
authorPavel Raiskup <pavel@raiskup.cz>2013-01-20 16:17:32 +0100
committerPavel Raiskup <pavel@raiskup.cz>2013-01-20 16:19:18 +0100
commit9b1d74bf5d2a5cf2cf84b3403f2f1070e14aa0fa (patch)
tree46ed9a1609d7f03488e286170ab25a47c01f62b0 /pybugz.spec
parent0fcb352f17599c44818211bd3916e8caf7edb7fa (diff)
downloadpybugz-9b1d74bf5d2a5cf2cf84b3403f2f1070e14aa0fa.tar.gz
pybugz-9b1d74bf5d2a5cf2cf84b3403f2f1070e14aa0fa.tar.xz
pybugz-9b1d74bf5d2a5cf2cf84b3403f2f1070e14aa0fa.zip
Switch the binary name back to 'bugz'
Diffstat (limited to 'pybugz.spec')
-rw-r--r--pybugz.spec19
1 files changed, 7 insertions, 12 deletions
diff --git a/pybugz.spec b/pybugz.spec
index 081becd..f28ef28 100644
--- a/pybugz.spec
+++ b/pybugz.spec
@@ -27,12 +27,10 @@ BuildRequires: bash-completion pkgconfig
# script.
Source0: %{name}-%{version}.tar.gz
-# use the 'pybugz' binary in bash completion
-Patch0: %{name}-%{version}-bash-complete.patch
# follow https://github.com/praiskup/pybugz changes (until accepted by upstream)
-Patch1: %{name}-%{version}-downstream.patch
+Patch0: %{name}-%{version}-downstream.patch
# make the installation better satisfy RHEL / Fedora purposes
-Patch2: %{name}-%{version}-rhel-fedora-cust.patch
+Patch1: %{name}-%{version}-rhel-fedora-cust.patch
%description
Pybugz was conceived as a tool to speed up the work-flow for Gentoo Linux
@@ -43,21 +41,16 @@ comfortably from the command line.
%prep
%setup -q
-%patch0 -p1 -b .bash-complete
-%patch1 -p1 -b .downstream
-%patch2 -p1 -b .rhel-fedora-cust
+%patch0 -p1 -b .downstream
+%patch1 -p1 -b .rhel-fedora-cust
%build
%{__python} setup.py build
%install
-# use rather 'pybugz' than just 'bugz'
-%global pybugz_binary pybugz
-
# default install process
%{__python} setup.py install --root=%{buildroot}
-mv %{buildroot}%{_bindir}/bugz %{buildroot}%{_bindir}/%{pybugz_binary}
%global bash_cmpl_dir %(pkg-config --variable=completionsdir bash-completion)
%if %{?bash_completion}
# find the proper directory to install bash-completion script
@@ -73,7 +66,7 @@ mkdir -p %{buildroot}%{_docdir}
%clean
%files
-%{_bindir}/%{pybugz_binary}
+%{_bindir}/bugz
%{python_sitelib}/bugz
%if %{?bash_completion}
%{bash_cmpl_dir}/pybugz
@@ -91,6 +84,8 @@ mkdir -p %{buildroot}%{_docdir}
- make the RedHat bugzilla default, s/bugz/pybugz/ in manpage
- fedora-review fixes: s/define/global/, BR python2-devel, noreplace
- mention in documentation the ~/.bugzrc file
+- switch the binary name to 'bugz' again, it would mislead users (see merge
+ review bug comment)
* Mon Oct 01 2012 Pavel Raiskup <praiskup@redhat.com> - 0.10-1
- rebase to 0.10