Skip to content

Commit

Permalink
change: [rpm] adjust with the RPM SPEC by Brett-san (rhbz#1538658)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssato committed Feb 10, 2018
1 parent 571019d commit 96efbfc
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions pkg/package.spec.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
%global pkgname anyconfig

%global desc \
Python library provides common APIs to load and dump configuration files in\
various formats such like JSON, YAML and XML with some useful features such as\
contents merge, templates, query, schema validation and generation support.

%bcond_with optionals
%bcond_with tests

Expand All @@ -13,11 +18,6 @@
%bcond_with extras
%endif

%global desc \
Python library provides common APIs to load and dump configuration files in\
various formats such like JSON, YAML and XML with some useful features such as\
contents merge, templates, query, schema validation and generation support.

Name: python-%{pkgname}
Version: @VERSION@
Release: 1%{?dist}
Expand All @@ -27,6 +27,7 @@ URL: https://github.com/ssato/python-anyconfig
#Source0: %{url}/archive/RELEASE_%{version}.tar.gz
Source0: %{pkgname}-%{version}.tar.gz
BuildArch: noarch

%if %{with doc}
BuildRequires: make
BuildRequires: python2-docutils
Expand Down Expand Up @@ -97,10 +98,10 @@ Requires: python3-toml

%if %{with doc}
%package doc
Summary: Documents for %{name}
Summary: Documentation for %{name}

%description doc
HTML documents for %{name}.
HTML documentation for %{name}.
%endif

%prep
Expand Down

0 comments on commit 96efbfc

Please sign in to comment.