[pybugz/el6] spec: Fix macro conditions
Pavel Raiskup
praiskup at fedoraproject.org
Wed Mar 13 13:06:39 UTC 2013
commit 7fcb169cabfc20cec8936f8f2ff17f9c91da4fe5
Author: Pavel Raiskup <praiskup at redhat.com>
Date: Wed Mar 13 14:05:54 2013 +0100
spec: Fix macro conditions
Version: 0.10-4
pybugz.spec | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/pybugz.spec b/pybugz.spec
index 58fc588..145c240 100644
--- a/pybugz.spec
+++ b/pybugz.spec
@@ -5,7 +5,7 @@
Name: pybugz
Summary: Command line interface for Bugzilla written in Python
Version: 0.10
-Release: 3.%{posttag}%{?dist}
+Release: 4.%{posttag}%{?dist}
Group: Applications/Communications
License: GPLv2
URL: https://github.com/williamh/pybugz
@@ -19,7 +19,7 @@ BuildRequires: python2-devel
%global bash_completion 1
%endif
-%if %{?bash_completion}
+%if 0%{?bash_completion}
BuildRequires: bash-completion pkgconfig
%endif
@@ -51,7 +51,7 @@ comfortably from the command line.
%{__python} setup.py install --root=%{buildroot}
%global bash_cmpl_dir %(pkg-config --variable=completionsdir bash-completion)
-%if %{?bash_completion}
+%if 0%{?bash_completion}
# find the proper directory to install bash-completion script
mkdir -p %{buildroot}%{bash_cmpl_dir}
cp %{_builddir}/%{name}-%{snapshot}/contrib/bash-completion \
@@ -67,7 +67,7 @@ mkdir -p %{buildroot}%{_docdir}
%files
%{_bindir}/bugz
%{python_sitelib}/bugz
-%if %{?bash_completion}
+%if 0%{?bash_completion}
%{bash_cmpl_dir}/bugz
%endif
%{python_sitelib}/%{name}-*.egg-info
@@ -75,6 +75,9 @@ mkdir -p %{buildroot}%{_docdir}
%doc README LICENSE bugzrc.example
%changelog
+* Wed Mar 13 2013 Pavel Raiskup <praiskup at redhat.com> - 0.10-4.git683dd
+- fix the macro problem for epel
+
* Wed Mar 13 2013 Pavel Raiskup <praiskup at redhat.com> - 0.10-3.git683dd
- remove downstream patches for now - I'll reapply again if it becomes upstream
- package the latest git version
More information about the scm-commits
mailing list