Skip to content

Commit

Permalink
descripton sections updated with global variables
Browse files Browse the repository at this point in the history
redhat-openstack/easyfix#4

Change-Id: Ifbc0422e461780b3981107cd957ea0cde31f287e
  • Loading branch information
jatanmalde committed Sep 3, 2017
1 parent 3f74b11 commit 927a789
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions python-oslo-service.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
%global with_python3 1
%endif

%global common_desc \
Library for running OpenStack services

%global common_desc1 \
Tests for oslo.service

Name: python-%{pname}
Version: XXX
Release: XXX
Expand Down Expand Up @@ -63,7 +69,7 @@ Requires: python-webob


%description -n python2-%{pname}
Library for running OpenStack services
%{common_desc}

%package -n python2-%{pname}-tests
Summary: Oslo service tests
Expand All @@ -79,7 +85,7 @@ Requires: python-routes
Requires: python-oslotest

%description -n python2-%{pname}-tests
Tests for oslo.service
%{common_desc1}


%if 0%{?with_python3}
Expand Down Expand Up @@ -117,7 +123,7 @@ Requires: python3-webob


%description -n python3-%{pname}
Library for running OpenStack services
%{common_desc}

%package -n python3-%{pname}-tests
Summary: Oslo service tests
Expand All @@ -133,7 +139,7 @@ Requires: python3-routes
Requires: python3-oslotest

%description -n python3-%{pname}-tests
Tests for oslo.service
%{common_desc1}
%endif


Expand All @@ -143,7 +149,7 @@ Summary: Oslo service documentation
Documentation for oslo.service

%description
Library for running OpenStack services
%{common_desc}

%prep
%autosetup -n %{pypi_name}-%{upstream_version} -S git
Expand Down

0 comments on commit 927a789

Please sign in to comment.