File bugreporter.spec of Package bugreporter

# spec file for package suse-bug-reporter
# Copyright (c) 2011 Mihnea Dobrescu-Balaur <>
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.

Name:           bugreporter
Version:        1.0
Release:        0
License:        GPL-2.0+
Summary:        Bug reporting tool for openSUSE
Group:          Development/Tools/Other
Source:         bugreporter-1.0.tar.gz
BuildRequires:  python >= 2.7
BuildArch:      noarch
Requires:       osc, python-bugzilla >= 0.6.2, bash-completion
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
This is a bug reporting tool for openSUSE users. It can be used to
submit and query bug reports from Novell's Bugzilla.
%setup -q

%{__python} build
%{__python} install \
    --root=%{buildroot} \
    --prefix=%{_prefix} \
sed -i 's#%{_mandir}/man1/bugreporter.1#%{_mandir}/man1/bugreporter.1.gz#' INSTALLED_FILES

rm -rf %{buildroot}
%config (noreplace) %{_sysconfdir}/bash_completion.d/bugreporter
openSUSE Build Service is sponsored by