Add %%common_description macro

i9ce
Benjamin A. Beasley 4 years ago
parent cff76d7e27
commit 834213e0fb

@ -19,10 +19,11 @@ BuildRequires: glib2-devel >= 2.0
BuildRequires: flex BuildRequires: flex
BuildRequires: bison BuildRequires: bison
%global common_description %{expand:
%description
libIDL is a library for parsing IDL (Interface Definition Language). It can be libIDL is a library for parsing IDL (Interface Definition Language). It can be
used for both COM-style and CORBA-style IDL. used for both COM-style and CORBA-style IDL.}
%description %{common_description}
%package devel %package devel
@ -31,9 +32,7 @@ Requires: %{name} = %{version}-%{release}
Requires: pkgconfig >= 1:0.8 Requires: pkgconfig >= 1:0.8
Requires: glib2-devel%{?_isa} >= 2.0 Requires: glib2-devel%{?_isa} >= 2.0
%description devel %description devel %{common_description}
libIDL is a library for parsing IDL (Interface Definition Language). It can be
used for both COM-style and CORBA-style IDL.
This package contains the header files and libraries needed to write or compile This package contains the header files and libraries needed to write or compile
programs that use libIDL. programs that use libIDL.

Loading…
Cancel
Save