Compare commits
No commits in common. "c8" and "c9s" have entirely different histories.
53
.gitignore
vendored
53
.gitignore
vendored
@ -1 +1,52 @@
|
||||
SOURCES/libpinyin-2.2.0.tar.gz
|
||||
/libpinyin-0.2.99.1.tar.gz
|
||||
/libpinyin-0.2.99.2.tar.gz
|
||||
/libpinyin-0.2.99.3.tar.gz
|
||||
/libpinyin-0.3.0.tar.gz
|
||||
/libpinyin-0.4.91.tar.gz
|
||||
/libpinyin-0.4.92.tar.gz
|
||||
/libpinyin-0.4.93.tar.gz
|
||||
/libpinyin-0.5.0.tar.gz
|
||||
/libpinyin-0.5.91.tar.gz
|
||||
/libpinyin-0.5.92.tar.gz
|
||||
/libpinyin-0.6.0.tar.gz
|
||||
/libpinyin-0.6.92.tar.gz
|
||||
/libpinyin-0.7.0.tar.gz
|
||||
/libpinyin-0.7.1.tar.gz
|
||||
/libpinyin-0.7.91.tar.gz
|
||||
/libpinyin-0.7.92.tar.gz
|
||||
/libpinyin-0.8.0.tar.gz
|
||||
/libpinyin-0.8.1.tar.gz
|
||||
/libpinyin-0.8.91.tar.gz
|
||||
/libpinyin-0.8.92.tar.gz
|
||||
/libpinyin-0.8.93.tar.gz
|
||||
/libpinyin-0.9.91.tar.gz
|
||||
/libpinyin-0.9.92.tar.gz
|
||||
/libpinyin-0.9.93.tar.gz
|
||||
/libpinyin-0.9.94.tar.gz
|
||||
/libpinyin-1.0.0.tar.gz
|
||||
/libpinyin-1.0.99.20150203.tar.gz
|
||||
/libpinyin-1.0.99.20150212.tar.gz
|
||||
/libpinyin-1.1.0.tar.gz
|
||||
/libpinyin-1.1.91.tar.gz
|
||||
/libpinyin-1.2.0.tar.gz
|
||||
/libpinyin-1.2.91.tar.gz
|
||||
/libpinyin-1.3.0.tar.gz
|
||||
/libpinyin-1.5.91.tar.gz
|
||||
/libpinyin-1.5.92.tar.gz
|
||||
/libpinyin-1.6.0.tar.gz
|
||||
/libpinyin-1.6.91.tar.gz
|
||||
/libpinyin-1.7.0.tar.gz
|
||||
/libpinyin-1.9.91.tar.gz
|
||||
/libpinyin-1.9.92.tar.gz
|
||||
/libpinyin-2.0.0.tar.gz
|
||||
/libpinyin-2.0.91.tar.gz
|
||||
/libpinyin-2.0.92.tar.gz
|
||||
/libpinyin-2.1.0.tar.gz
|
||||
/libpinyin-2.1.91.tar.gz
|
||||
/libpinyin-2.2.0.tar.gz
|
||||
/libpinyin-2.2.1.tar.gz
|
||||
/libpinyin-2.2.2.tar.gz
|
||||
/libpinyin-2.3.0.tar.gz
|
||||
/libpinyin-2.4.91.tar.gz
|
||||
/libpinyin-2.4.92.tar.gz
|
||||
/libpinyin-2.6.0.tar.gz
|
||||
|
||||
@ -1 +0,0 @@
|
||||
c22a322fd77ee84f65edfcc4b1f547849206df62 SOURCES/libpinyin-2.2.0.tar.gz
|
||||
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-9
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
# this is the testcase identifier, which OSCI pipeline uses
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
0
libpinyin-2.6.x-head.patch
Normal file
0
libpinyin-2.6.x-head.patch
Normal file
@ -1,19 +1,20 @@
|
||||
%global snapshot 0
|
||||
|
||||
Name: libpinyin
|
||||
Version: 2.2.0
|
||||
Release: 2%{?dist}
|
||||
Version: 2.6.0
|
||||
Release: 4%{?dist}
|
||||
Summary: Library to deal with pinyin
|
||||
|
||||
License: GPLv3+
|
||||
URL: https://github.com/libpinyin/libpinyin
|
||||
Source0: http://downloads.sourceforge.net/libpinyin/libpinyin/%{name}-%{version}.tar.gz
|
||||
%if %snapshot
|
||||
Patch0: libpinyin-2.2.x-head.patch
|
||||
Patch0: libpinyin-2.3.x-head.patch
|
||||
%endif
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: kyotocabinet-devel, glib2-devel
|
||||
BuildRequires: libdb-devel, glib2-devel
|
||||
BuildRequires: make
|
||||
Requires: %{name}-data%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
@ -63,21 +64,19 @@ The libzhuyin package contains libzhuyin compatibility library.
|
||||
|
||||
%build
|
||||
%configure --disable-static \
|
||||
--with-dbm=KyotoCabinet \
|
||||
--with-dbm=BerkeleyDB \
|
||||
--enable-libzhuyin
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
%make_install
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
||||
%files
|
||||
@ -108,9 +107,60 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
%{_libdir}/libzhuyin*.so.*
|
||||
|
||||
%changelog
|
||||
* Fri Sep 24 2021 Peng Wu <pwu@redhat.com> - 2.2.0-2
|
||||
- Build libpinyin for RHEL 8 CRB
|
||||
- Resolves: #2006100
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.6.0-4
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.6.0-3
|
||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Dec 15 2020 Peng Wu <pwu@redhat.com> - 2.6.0-1
|
||||
- Update to 2.6.0
|
||||
- bug fixes
|
||||
|
||||
* Thu Oct 22 2020 Peng Wu <pwu@redhat.com> - 2.4.92-1
|
||||
- Update to 2.4.92
|
||||
- update pinyin data
|
||||
- bug fixes
|
||||
|
||||
* Wed Aug 26 2020 Peng Wu <pwu@redhat.com> - 2.4.91-1
|
||||
- Update to 2.4.91
|
||||
- improve full pinyin auto correction
|
||||
- bug fixes
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 22 2020 Tom Stellard <tstellar@redhat.com> - 2.3.0-4
|
||||
- Use make macros
|
||||
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Mon Mar 18 2019 Peng Wu <pwu@redhat.com> - 2.3.0-1
|
||||
- Update to 2.3.0
|
||||
- update pinyin data
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Mon Jan 21 2019 Peng Wu <pwu@redhat.com> - 2.2.2-1
|
||||
- Update to 2.2.2
|
||||
- minor fixes
|
||||
|
||||
* Tue Oct 9 2018 Peng Wu <pwu@redhat.com> - 2.2.1-1
|
||||
- Update to 2.2.1
|
||||
- fixes predicted candidates
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Tue Apr 17 2018 Peng Wu <pwu@redhat.com> - 2.2.0-1
|
||||
- Update to 2.2.0
|
||||
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (libpinyin-2.6.0.tar.gz) = da6245ca31ea1ecfe42cab6cb9251f924c2ecb54ca0e8d48768c5f4157e44a4eaa891401142f2100636f548e5731530c607beeacd9a81a1ac8bb54ad54e42bf3
|
||||
17
tests/make_check.sh
Normal file
17
tests/make_check.sh
Normal file
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -x
|
||||
|
||||
check_return_value () {
|
||||
if [ $1 != 0 ] ; then
|
||||
exit $1
|
||||
fi
|
||||
}
|
||||
|
||||
cd $1
|
||||
./configure --prefix=/usr --with-dbm=BerkeleyDB --enable-libzhuyin
|
||||
check_return_value $?
|
||||
make
|
||||
check_return_value $?
|
||||
make check
|
||||
exit $?
|
||||
22
tests/tests.yml
Normal file
22
tests/tests.yml
Normal file
@ -0,0 +1,22 @@
|
||||
- hosts: localhost
|
||||
vars:
|
||||
- artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
|
||||
tags:
|
||||
- classic
|
||||
remote_user: root
|
||||
roles:
|
||||
- role: standard-test-source # to get the source tar ball to do “make check”
|
||||
- role: standard-test-basic
|
||||
required_packages:
|
||||
- make
|
||||
- gcc-c++
|
||||
- autoconf
|
||||
- automake
|
||||
- libtool
|
||||
- gettext-devel
|
||||
- glib2-devel
|
||||
- libdb-devel
|
||||
tests:
|
||||
- make-check:
|
||||
dir: ./
|
||||
run: bash ./make_check.sh ./source
|
||||
Loading…
Reference in New Issue
Block a user