Compare commits

...

No commits in common. "c9-beta" and "c10s" have entirely different histories.

9 changed files with 82 additions and 19 deletions

4
.gitignore vendored
View File

@ -1 +1,3 @@
SOURCES/uchardet-0.0.6.tar.xz
/uchardet-0.0.5.tar.gz
/uchardet-0.0.6.tar.xz
/uchardet-0.0.8.tar.xz

View File

@ -1 +0,0 @@
c04257ee7fb5ebbae144311d70b42c1d7efe41b9 SOURCES/uchardet-0.0.6.tar.xz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

5
plans/basic.fmf Normal file
View File

@ -0,0 +1,5 @@
summary: Basic smoke test
discover:
how: fmf
execute:
how: tmt

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (uchardet-0.0.8.tar.xz) = 4a5dcc9ff021352f3b252e103ff1475cec62c974294b264ee9243f024633c3ae44be8c7733608624066113e635f8b156ecb08c8ff87c736d04b07641eb166382

5
tests/basic/main.fmf Normal file
View File

@ -0,0 +1,5 @@
summary: Basic test for fribidi
require:
- uchardet
test: ./test.sh
framework: beakerlib

26
tests/basic/test.sh Executable file
View File

@ -0,0 +1,26 @@
#!/bin/bash
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
basedir=$(pwd)
. /usr/share/beakerlib/beakerlib.sh || exit 1
rlJournalStart
rlPhaseStartSetup
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
rlRun "pushd $tmp"
rlRun "set -o pipefail"
rlPhaseEnd
rlPhaseStartTest
rlRun "uchardet $basedir/test.sh | tee output" 0 "Check uchardet"
rlAssertGrep "ASCII" "output"
rlRun "uchardet $basedir/utf8.txt | tee output" 0 "Check uchardet"
rlAssertGrep "UTF-8" "output"
rlPhaseEnd
rlPhaseStartCleanup
rlRun "popd"
rlRun "rm -r $tmp" 0 "Remove tmp directory"
rlPhaseEnd
rlJournalEnd

2
tests/basic/utf8.txt Normal file
View File

@ -0,0 +1,2 @@
日本語

View File

@ -1,11 +1,11 @@
%undefine __cmake_in_source_build
Name: uchardet
Version: 0.0.6
Release: 15%{?dist}.2
Version: 0.0.8
Release: 7%{?dist}
Summary: An encoding detector library ported from Mozilla
License: MPLv1.1 or GPLv2+ or LGPLv2+
License: MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.0-or-later
URL: https://www.freedesktop.org/wiki/Software/%{name}
Source0: https://www.freedesktop.org/software/%{name}/releases/%{name}-%{version}.tar.xz
@ -54,36 +54,53 @@ popd
%files
%license COPYING
%doc AUTHORS
%doc AUTHORS README.md
%{_bindir}/%{name}
%{_libdir}/lib%{name}.so.*
%{_mandir}/man1/%{name}.1*
%files devel
%{_includedir}/%{name}/
%{_libdir}/cmake/%{name}
%{_libdir}/lib%{name}.so
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Mon May 23 2022 Akira TAGOH <tagoh@redhat.com> - 0.0.6-15.2
- Bump a release to make sure shipping uchardet-devel to CRB.
Resolves: rhbz#2086260
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.0.8-7
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Wed Oct 6 2021 Akira TAGOH <tagoh@redhat.com> - 0.0.6-15.1
- Add CI test.
Resolves: rhbz#2011170
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.0.8-6
- Bump release for June 2024 mass rebuild
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.0.6-15
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed May 19 2021 Akira TAGOH <tagoh@redhat.com> - 0.0.6-14
* Fri Jul 28 2023 Akira TAGOH <tagoh@redhat.com> - 0.0.8-4
- Correct License tag for SPDX migration.
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jan 13 2023 Vasiliy N. Glazov <vascom2@gmail.com> - 0.0.8-1
- Update to 0.0.8
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed May 19 2021 Akira TAGOH <tagoh@redhat.com> - 0.0.6-13
- Correct License field.
See COPYING file for more details.
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.0.6-13
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild