Compare commits
No commits in common. "c8" and "c9s" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/liblangtag-0.6.2.tar.bz2
|
||||
/liblangtag-0.6.3.tar.bz2
|
||||
|
@ -1 +1 @@
|
||||
8f2c0d7f0c2ae9510a58f570aa4bc894c31e22c1 SOURCES/liblangtag-0.6.2.tar.bz2
|
||||
47041c94500c04c657b83cc2ff1a4343efc44b04 liblangtag-0.6.3.tar.bz2
|
||||
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}
|
@ -4,8 +4,8 @@
|
||||
%global soversion_gobject 0
|
||||
|
||||
Name: liblangtag
|
||||
Version: 0.6.2
|
||||
Release: 8%{?dist}
|
||||
Version: 0.6.3
|
||||
Release: 8%{?dist}.1
|
||||
Summary: An interface library to access tags for identifying languages
|
||||
|
||||
License: LGPLv3+ or MPLv2.0
|
||||
@ -23,6 +23,8 @@ BuildRequires: pkgconfig(check)
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
|
||||
%description
|
||||
%{name} is an interface library to access tags for identifying
|
||||
@ -45,7 +47,7 @@ Features:
|
||||
|
||||
%package data
|
||||
Summary: %{name} data files
|
||||
License: UCD
|
||||
License: Unicode
|
||||
BuildArch: noarch
|
||||
|
||||
%description data
|
||||
@ -81,29 +83,27 @@ The %{name}-doc package contains documentation files for %{name}.
|
||||
%build
|
||||
%configure \
|
||||
%if 0%{?flatpak}
|
||||
--disable-gtk-doc \
|
||||
--disable-gtk-doc \
|
||||
%endif
|
||||
--disable-silent-rules --disable-static --enable-shared --enable-introspection
|
||||
--disable-silent-rules --disable-static --enable-shared --enable-introspection
|
||||
sed -i \
|
||||
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
||||
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
||||
libtool
|
||||
export LD_LIBRARY_PATH=`pwd`/liblangtag/.libs:`pwd`/liblangtag-gobject/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
%make_install
|
||||
rm -f %{buildroot}/%{_libdir}/*.la %{buildroot}/%{_libdir}/%{name}/*.la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%post gobject -p /sbin/ldconfig
|
||||
%postun gobject -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets gobject
|
||||
|
||||
%check
|
||||
export LD_LIBRARY_PATH=`pwd`/liblangtag/.libs:`pwd`/liblangtag-gobject/.libs${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
||||
make %{?_smp_mflags} check
|
||||
%make_build check
|
||||
|
||||
%files
|
||||
%doc AUTHORS NEWS README
|
||||
@ -134,11 +134,47 @@ make %{?_smp_mflags} check
|
||||
%{_datadir}/gtk-doc/html/%{name}
|
||||
|
||||
%changelog
|
||||
* Wed Nov 18 2020 Akira TAGOH <tagoh@redhat.com> - 0.6.2-8
|
||||
* Wed Sep 29 2021 Akira TAGOH <tagoh@redhat.com> - 0.6.3-8.1
|
||||
- Add CI test.
|
||||
Resolves: rhbz#2008783
|
||||
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.6.3-8
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Wed May 19 2021 Timm Bäder <tbaeder@redhat.com> - 0.6.3-7
|
||||
- Add gcc buildrequires
|
||||
- Use make macros
|
||||
|
||||
* Wed May 19 2021 Akira TAGOH <tagoh@redhat.com> - 0.6.3-6
|
||||
- Update License field for liblangtag-data.
|
||||
It is actually Unicode but not UCD.
|
||||
|
||||
* Wed Apr 21 2021 Akira TAGOH <tagoh@redhat.com> - 0.6.3-5
|
||||
- Suppress documentation in Flatpak builds
|
||||
Resolves: rhbz#1896257
|
||||
- build gir with non-parallel to avoid strange behavior.
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Sep 26 2019 Caolán McNamara <caolanm@redhat.com> - 0.6.3-1
|
||||
- Resolves: rhbz#1755875 latest available version
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (liblangtag-0.6.3.tar.bz2) = 3dcfc20704dfaff05aeecdeef74fa81639fb70f930ebc0895fe4707ecd1d5b6221fe889449772811924d0c38329977c9d5fc751c3accbc272834b29c461f1fcf
|
12
tests/basic/test.py
Normal file
12
tests/basic/test.py
Normal file
@ -0,0 +1,12 @@
|
||||
#! /usr/bin/python3
|
||||
|
||||
import gi
|
||||
gi.require_version('LangTag', '0.6')
|
||||
from gi.repository import LangTag
|
||||
|
||||
tag = LangTag.Tag.new()
|
||||
if not tag.parse("en-Latn-US"):
|
||||
exit(1)
|
||||
|
||||
if tag.canonicalize() != 'en-US':
|
||||
exit(1)
|
12
tests/tests.yml
Normal file
12
tests/tests.yml
Normal file
@ -0,0 +1,12 @@
|
||||
- hosts: localhost
|
||||
become: yes
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
required_packages:
|
||||
- liblangtag-gobject
|
||||
- python3
|
||||
tests:
|
||||
- basic:
|
||||
run: python3 ./test.py
|
Loading…
Reference in New Issue
Block a user