diff --git a/fribidi.spec b/fribidi.spec index bdd7a91..9d301d5 100644 --- a/fribidi.spec +++ b/fribidi.spec @@ -5,7 +5,6 @@ Release: 2%{?dist} URL: https://github.com/fribidi/fribidi/ Source: https://github.com//%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2 License: LGPLv2+ and UCD -Group: System Environment/Libraries %description A library to handle bidirectional scripts (for example Hebrew, Arabic), @@ -14,7 +13,6 @@ is always written in logical order. %package devel Summary: Libraries and include files for FriBidi -Group: System Environment/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -22,7 +20,7 @@ Include files and libraries needed for developing applications which use FriBidi. %prep -%setup -q +%autosetup %build %if 0%{?el5} @@ -50,7 +48,8 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %ldconfig_scriptlets %files -%doc README AUTHORS COPYING ChangeLog THANKS NEWS TODO +%doc README AUTHORS ChangeLog THANKS NEWS TODO +%license COPYING %{_bindir}/fribidi %{_libdir}/libfribidi.so.0* @@ -61,6 +60,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %{_mandir}/man3/*.gz %changelog +* Thu Jul 12 2018 Akira TAGOH - 1.0.4-3 +- Modernize spec file. + * Fri Jun 29 2018 Akira TAGOH - 1.0.4-2 - Use ldconfig rpm macro.