From 09425a56b79c164516a7d022e12023f0e2013c2f Mon Sep 17 00:00:00 2001 From: Xavier Bachelot Date: Thu, 19 Apr 2018 17:29:44 +0200 Subject: [PATCH] Spec clean up --- sombok.spec | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/sombok.spec b/sombok.spec index 4c1b804..b167b89 100644 --- a/sombok.spec +++ b/sombok.spec @@ -1,18 +1,12 @@ Name: sombok Version: 2.4.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Unicode Text Segmentation Package - -Group: System Environment/Libraries License: GPLv2+ or Artistic clarified URL: http://sf.net/projects/linefold/ Source0: https://github.com/hatukanezumi/sombok/archive/%{name}-%{version}.tar.gz -# libthai is available only in Fedora and EL6 -%if 0%{?rhel} > 5 || 0%{?fedora} BuildRequires: libthai-devel -%endif - BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -28,7 +22,6 @@ Annex #29 (UAX #29). %package devel Summary: Development files for %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig @@ -48,31 +41,29 @@ make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files -%defattr(-,root,root,-) -%doc AUTHORS ChangeLog ChangeLog.REL1 COPYING NEWS README README.ja_JP +%license COPYING +%doc AUTHORS ChangeLog ChangeLog.REL1 NEWS README README.ja_JP %{_libdir}/libsombok.so.* %files devel -%defattr(-,root,root,-) %{_includedir}/sombok*.h %{_libdir}/libsombok.so %{_libdir}/pkgconfig/sombok.pc %changelog +* Thu Apr 19 2018 Xavier Bachelot 2.4.0-7 +- Spec clean up. + * Fri Feb 09 2018 Fedora Release Engineering - 2.4.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild