From dfb42011ef485c553f4b4af2829a05397d5d2ae3 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: May 04 2016 15:42:49 +0000 Subject: Simplify %description definitions --- diff --git a/python-libarchive-c.spec b/python-libarchive-c.spec index ed03102..7c23188 100644 --- a/python-libarchive-c.spec +++ b/python-libarchive-c.spec @@ -10,7 +10,8 @@ Patch0: python-libarchive-c-2.2-zip2-test.patch BuildRequires: libarchive-devel BuildArch: noarch -%global _description The libarchive library provides a flexible interface for reading and writing \ +%global _description \ +The libarchive library provides a flexible interface for reading and writing \ archives in various formats such as tar and cpio. libarchive also supports \ reading and writing archives compressed using various compression filters such \ as gzip and bzip2. \ @@ -18,8 +19,7 @@ as gzip and bzip2. \ A Python interface to libarchive. It uses the standard ctypes module to \ dynamically load and access the C library. -%description -%_description +%description %_description %package -n python2-libarchive-c Summary: %{summary} @@ -30,8 +30,7 @@ BuildRequires: pytest BuildRequires: glibc-common Requires: libarchive -%description -n python2-libarchive-c -%_description +%description -n python2-libarchive-c %_description %package -n python3-libarchive-c Summary: %{summary} @@ -41,8 +40,7 @@ BuildRequires: python3-devel BuildRequires: python3-pytest Requires: libarchive -%description -n python3-libarchive-c -%_description +%description -n python3-libarchive-c %_description %prep %autosetup -n %{name}-%{version} -p1