From 96efbfc6eeb74a7b4450f5bab0935c1582817462 Mon Sep 17 00:00:00 2001 From: Satoru SATOH Date: Sat, 10 Feb 2018 22:09:57 +0900 Subject: [PATCH] change: [rpm] adjust with the RPM SPEC by Brett-san (rhbz#1538658) --- pkg/package.spec.in | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkg/package.spec.in b/pkg/package.spec.in index 99cb71a0..27a42ffa 100644 --- a/pkg/package.spec.in +++ b/pkg/package.spec.in @@ -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 @@ -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} @@ -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 @@ -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