Accepting request 75650 from home:vuntz:branches:GNOME:Factory

tweak

OBS-URL: https://build.opensuse.org/request/show/75650
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libthai?expand=0&rev=17
This commit is contained in:
Vincent Untz 2011-07-07 12:12:45 +00:00 committed by Git OBS Bridge
parent d29ea0b2f7
commit 053ba97fab
3 changed files with 24 additions and 11 deletions

View File

@ -1 +1,3 @@
libthai0 libthai0
provides "libthai-<targettype> = <version>"
obsoletes "libthai-<targettype> <= <version>"

View File

@ -1,17 +1,23 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 27 12:39:05 CEST 2011 - dimstar@opensuse.org Mon Jun 27 12:39:05 CEST 2011 - dimstar@opensuse.org
- Apply SLPP (bnc#647012):
+ Split out libthai0 subpackage
+ Move thbrk.tri in new libthai-data subpackage
+ Add libthai-data Requires to libthai0. This Requires use >=
%{version}, instead of =, since the data is not
parallel-installable with other versions. We can just hope the
data format will stay compatible (and the higher version will
be more complete).
- Change License tag to LGPL-2.1+, as per spdx.org.
- Do not require libdatrie-devel from the -devel package: it will
be added automatically the pkgconfig()-way.
- Adjust baselibs.conf to follow the SLPP name change.
- Change Group of the -devel package to be Development/Languages/C
and C++ instead of System/Libraries.
- Stop using source services. Factory is moving away from it and a - Stop using source services. Factory is moving away from it and a
different approach to verify the authenticity of the tarballs is different approach to verify the authenticity of the tarballs is
being implemented (by using the Source URL). being implemented (by using the Source URL).
- Apply SLPP (bnc#647012):
+ Split out libthai0, package Requires libthai-data >= %{version}
+ Move thbrk.tri to libthai-data
- Change License tag to LGPL-2.1+, as per spdx.org.
- Do not require libdatrie-devel from the -devel package: It is
added automatically the pkgconfig()-way.
- Adjust baselibs.conf to follow the slpp name change.
- Change RPM Group of the -devel package to be in Development.
- spec file cleanups. - spec file cleanups.
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@ -19,7 +19,7 @@
Name: libthai Name: libthai
Version: 0.1.15 Version: 0.1.15
# FIXME: At next version update, replace Obsoltes <= with < only to fix RPMLint warning in libthai0. # FIXME: At next version update, replace Obsoletes <= with < only to fix RPMLint warning in libthai0 (here and in baselibs.conf)
Release: 1 Release: 1
License: LGPL-2.1+ License: LGPL-2.1+
Summary: Thai Language Support Routines Summary: Thai Language Support Routines
@ -39,11 +39,15 @@ word breaking, input and output methods, and basic character and string
support. support.
%package -n libthai0 %package -n libthai0
License: LGPL-2.1+
Summary: Thai Language Support Routines Summary: Thai Language Support Routines
Group: System/Libraries Group: System/Libraries
# SLPP applied since version 0.1.15. # SLPP applied since version 0.1.15.
Obsoletes: libthai <= %{version}
Provides: libthai = %{version} Provides: libthai = %{version}
Obsoletes: libthai <= %{version}
# libthai needs the data to run, but the data is not parallel-installable,
# hence the >= instead of =. We just hope the data format will stay the same in
# the future.
Requires: libthai-data >= %{version} Requires: libthai-data >= %{version}
%description -n libthai0 %description -n libthai0
@ -54,6 +58,7 @@ word breaking, input and output methods, and basic character and string
support. support.
%package data %package data
License: LGPL-2.1+
Summary: Thai Language Support Routines - Data files Summary: Thai Language Support Routines - Data files
Group: System/Libraries Group: System/Libraries
@ -67,7 +72,7 @@ support.
This package contains the data files for libthai. This package contains the data files for libthai.
%package devel %package devel
License: LGPLv2.1+ License: LGPL-2.1+
Summary: Thai Language Support Routines (development files) Summary: Thai Language Support Routines (development files)
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
Requires: libthai0 = %{version} Requires: libthai0 = %{version}