From 7edafd3885446807e5461631ac72597ea8e25fb9 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 16 Apr 2022 08:33:42 -0400 Subject: [PATCH] Trivial spec file style adjustments --- libIDL.spec | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/libIDL.spec b/libIDL.spec index 8f93112..0993f7c 100644 --- a/libIDL.spec +++ b/libIDL.spec @@ -4,12 +4,12 @@ Version: 0.8.14 %global so_version 0 Release: %autorelease +License: LGPLv2+ %global minorversion %(echo '%{version}' | cut -d . -f 1-2) URL: https://download.gnome.org/sources/libIDL/%{minorversion}/ Source0: %{url}/libIDL-%{version}.tar.bz2 # Hand-written man page: Source1: libIDL-config-2.1 -License: LGPLv2+ # Note that upstream is dead; GNOME still offers just a download page, and the # VCS was migrated to https://gitlab.gnome.org/Archive/libidl, but the project @@ -56,19 +56,22 @@ BuildRequires: texinfo BuildRequires: texinfo-tex BuildRequires: tex(latex) -%global common_description %{expand: +%global common_description %{expand: \ libIDL is a library for parsing IDL (Interface Definition Language). It can be used for both COM-style and CORBA-style IDL.} -%description %{common_description} +%description +%{common_description} %package devel Summary: Development libraries and header files for libIDL + Requires: %{name} = %{version}-%{release} Requires: glib2-devel%{?_isa} -%description devel %{common_description} +%description devel +%{common_description} This package contains the header files and libraries needed to write or compile programs that use libIDL. @@ -76,9 +79,11 @@ programs that use libIDL. %package doc Summary: Documentation for libIDL + BuildArch: noarch -%description doc %{common_description} +%description doc +%{common_description} This page contains info pages and HTML and PDF documentation for libIDL. @@ -110,8 +115,7 @@ install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 '%{SOURCE1}' %files %license COPYING -%{_libdir}/libIDL-2.so.%{so_version} -%{_libdir}/libIDL-2.so.%{so_version}.* +%{_libdir}/libIDL-2.so.%{so_version}{,.*} %files devel