File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,14 @@ BuildRequires: python3-requests
2828BuildRequires: python3-setuptools
2929%endif # if with_python3
3030
31+ %global _description\
32+ python-bugzilla is a python library for interacting with bugzilla instances\
33+ over XML-RPC.\
34+
35+ %description %_description
36+
37+ %package -n python2-bugzilla
38+ Summary: %summary
3139Requires: python-requests
3240Requires: python-magic
3341%if 0%{?el6 }
@@ -36,22 +44,18 @@ Requires: python-argparse
3644# This dep is for back compat, so that installing python-bugzilla continues
3745# to give the cli tool
3846Requires: python-bugzilla-cli
47+ %{?python_provide:%python_provide python2-bugzilla}
3948
40-
41- %description
42- python-bugzilla is a python 2 library for interacting with bugzilla instances
43- over XML-RPC.
44-
49+ %description -n python2-bugzilla %_description
4550
4651%if 0%{?with_python3 }
4752%package -n python3-bugzilla
48- Summary: python 3 library for interacting with Bugzilla
53+ Summary: % summary
4954Requires: python3-requests
5055Requires: python3-magic
56+ %{?python_provide:%python_provide python3-bugzilla}
5157
52- %description -n python3-bugzilla
53- python3-bugzilla is a python 3 library for interacting with bugzilla instances
54- over XML-RPC.
58+ %description -n python3-bugzilla %_description
5559%endif # if with_python3
5660
5761
118122
119123
120124
121- %files
125+ %files -n python2-bugzilla
122126%doc COPYING README.md NEWS.md
123127%{python2_sitelib }/*
124128
You can’t perform that action at this time.
0 commit comments