diff --git a/.gitignore b/.gitignore index 413a1f2..8fd17a6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/pybugz-0.10-git683dd.tar.gz +/pybugz-0.11-git3459d.tar.gz diff --git a/pybugz.spec b/pybugz.spec index f6a803d..d0ed620 100644 --- a/pybugz.spec +++ b/pybugz.spec @@ -1,18 +1,18 @@ -%global gitrev 683dd +%global gitrev 3459d %global posttag git%{gitrev} %global snapshot %{version}-%{posttag} Name: pybugz Summary: Command line interface for Bugzilla written in Python -Version: 0.10 -Release: 6.%{posttag}%{?dist} +Version: 0.11 +Release: 1.%{posttag}%{?dist} Group: Applications/Communications License: GPLv2 URL: https://github.com/williamh/pybugz BuildArch: noarch -Requires: python2 -BuildRequires: python2-devel +Requires: python3 +BuildRequires: python3-devel %if ! 0%{?rhel} # no bash-completion for RHEL @@ -28,10 +28,6 @@ BuildRequires: bash-completion pkgconfig # script (in dist-git). Source0: %{name}-%{snapshot}.tar.gz -# make the installation better useful for bugzilla.redhat.com users -# ~> downstream -Patch0: %{name}-0.10-git683dd-rh-specific.patch - %description Pybugz was conceived as a tool to speed up the work-flow for Gentoo Linux contributors when dealing with bugs using Bugzilla. By avoiding the clunky web @@ -41,14 +37,13 @@ comfortably from the command line. %prep %setup -q -n %{name}-%{snapshot} -%patch0 -p1 -b .rh-specific %build -%{__python} setup.py build +%{__python3} setup.py build %install # default install process -%{__python} setup.py install --root=%{buildroot} +%{__python3} setup.py install --root=%{buildroot} %global bash_cmpl_dir %(pkg-config --variable=completionsdir bash-completion) %if 0%{?bash_completion} @@ -66,15 +61,20 @@ mkdir -p %{buildroot}%{_docdir} %files %{_bindir}/bugz -%{python_sitelib}/bugz +%{python3_sitelib}/bugz %if 0%{?bash_completion} %{bash_cmpl_dir}/bugz %endif -%{python_sitelib}/%{name}-*.egg-info +%{python3_sitelib}/%{name}-*.egg-info %{_mandir}/man1/bugz.1.gz -%doc README LICENSE bugzrc.example +%{_datadir}/pybugz.d/ +%{_mandir}/man5/* +%doc README LICENSE %changelog +* Thu Dec 18 2014 Pavel Raiskup - 0.11-1.git3459d +- rebase to recent git HEAD pybugz version + * Sat Jun 07 2014 Fedora Release Engineering - 0.10-6.git683dd - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild diff --git a/sources b/sources index 5d175a3..a3eea28 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8bc25cc5d117e6e6a4801dcf8089c8a6 pybugz-0.10-git683dd.tar.gz +d061d49b70858c64a1d24b3c11f7d9be pybugz-0.11-git3459d.tar.gz