Compare commits
No commits in common. "c10s" and "c8s" have entirely different histories.
@ -1 +0,0 @@
|
|||||||
1
|
|
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,6 +1 @@
|
|||||||
/libreoffice-voikko-3.2.tar.gz
|
|
||||||
/libreoffice-voikko-3.3.tar.gz
|
|
||||||
/libreoffice-voikko-3.4.tar.gz
|
|
||||||
/libreoffice-voikko-3.4.1.tar.gz
|
|
||||||
/libreoffice-voikko-4.1.tar.gz
|
|
||||||
/libreoffice-voikko-5.0.tar.gz
|
/libreoffice-voikko-5.0.tar.gz
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
--- !Policy
|
--- !Policy
|
||||||
product_versions:
|
product_versions:
|
||||||
- rhel-9
|
- rhel-8
|
||||||
decision_context: osci_compose_gate
|
decision_context: osci_compose_gate
|
||||||
rules:
|
rules:
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
Name: libreoffice-voikko
|
Name: libreoffice-voikko
|
||||||
Version: 5.0
|
Version: 5.0
|
||||||
Release: 10%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: Finnish spellchecker and hyphenator extension for LibreOffice
|
Summary: Finnish spellchecker and hyphenator extension for LibreOffice
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -24,7 +24,7 @@ Source0: http://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}
|
|||||||
Patch0: 0001-make-install-unpacked-flattens-the-python-hierarchy-.patch
|
Patch0: 0001-make-install-unpacked-flattens-the-python-hierarchy-.patch
|
||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
Requires: python3-libvoikko
|
Requires: python3-libvoikko
|
||||||
Requires: libreoffice-core%{?_isa}
|
Requires: libreoffice-core%{?_isa}
|
||||||
Requires: libreoffice-pyuno%{?_isa}
|
Requires: libreoffice-pyuno%{?_isa}
|
||||||
@ -44,38 +44,25 @@ make extension-files %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make install-unpacked DESTDIR=$RPM_BUILD_ROOT%{voikkoext}
|
make install-unpacked DESTDIR=$RPM_BUILD_ROOT%{voikkoext}
|
||||||
|
chmod 644 %{buildroot}%{voikkoext}/{icon.png,SettingsDialog_en_US.default}
|
||||||
%py_byte_compile %{__python3} %{buildroot}%{voikkoext}
|
%py_byte_compile %{__python3} %{buildroot}%{voikkoext}
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{voikkoext}
|
%{voikkoext}
|
||||||
%doc ChangeLog COPYING README
|
%doc ChangeLog COPYING README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.0-10
|
* Tue Apr 20 2021 Mike FABIAN <mfabian@redhat.com> - 5.0-6
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Related: rhbz#1862385 keep permissions 644 for icon.png and SettingsDialog_en_US.default
|
||||||
Related: rhbz#1991688
|
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.0-9
|
* Tue Apr 20 2021 Mike FABIAN <mfabian@redhat.com> - 5.0-5
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
- Related: rhbz#1862385 add tests/ folder and test script
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-8
|
* Mon Apr 19 2021 Mike FABIAN <mfabian@redhat.com> - 5.0-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Related: rhbz#1862385 add gating.yaml
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-7
|
* Mon Apr 12 2021 Mike FABIAN <mfabian@redhat.com> - 5.0-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Resolves: rhbz#1862385 fix make install-unpacked to keep hierarchy
|
||||||
|
|
||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 23 2020 Caolán McNamara <caolanm@redhat.com> - 5.0-5
|
|
||||||
- Resolves: rhbz#1676830 fix make install-unpacked to keep hierarchy
|
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Aug 5 2018 Ville-Pekka Vainio <vpvainio AT iki.fi> - 5.0-2
|
* Sun Aug 5 2018 Ville-Pekka Vainio <vpvainio AT iki.fi> - 5.0-2
|
||||||
- Fix dependencies
|
- Fix dependencies
|
||||||
@ -85,9 +72,6 @@ make install-unpacked DESTDIR=$RPM_BUILD_ROOT%{voikkoext}
|
|||||||
- Turn off automatic python byte-compilation and use py_byte_compile for the
|
- Turn off automatic python byte-compilation and use py_byte_compile for the
|
||||||
extension files
|
extension files
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-10
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-9
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
summary: Basic smoke test
|
|
||||||
discover:
|
|
||||||
how: fmf
|
|
||||||
execute:
|
|
||||||
how: tmt
|
|
@ -1,6 +0,0 @@
|
|||||||
test: ./runtest.sh
|
|
||||||
framework: beakerlib
|
|
||||||
duration: 10m
|
|
||||||
require:
|
|
||||||
- libreoffice-voikko
|
|
||||||
- libreoffice-core
|
|
@ -1,24 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Include Beaker environment
|
|
||||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
|
||||||
|
|
||||||
rlJournalStart
|
|
||||||
rlPhaseStartSetup
|
|
||||||
rlAssertRpm libreoffice-voikko
|
|
||||||
rlAssertRpm libreoffice-core
|
|
||||||
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
|
||||||
rlRun "pushd $tmp"
|
|
||||||
rlPhaseEnd
|
|
||||||
|
|
||||||
rlPhaseStartTest
|
|
||||||
rlRun "unopkg list --bundled | grep 'Identifier.*voikko'" \
|
|
||||||
0 "Check whether the libreoffice-voikko extension is installed."
|
|
||||||
rlPhaseEnd
|
|
||||||
|
|
||||||
rlPhaseStartCleanup
|
|
||||||
rlRun "popd"
|
|
||||||
rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
|
||||||
rlPhaseEnd
|
|
||||||
rlJournalEnd
|
|
||||||
|
|
7
tests/scripts/run_tests.sh
Executable file
7
tests/scripts/run_tests.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Check whether the libreoffice-voikko extension is installed.
|
||||||
|
# exit with 0 if yes, exit with 1 if no:
|
||||||
|
|
||||||
|
unopkg list --bundled | grep 'Identifier.*voikko'
|
||||||
|
exit $?
|
9
tests/tests.yml
Normal file
9
tests/tests.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
tests:
|
||||||
|
- simple:
|
||||||
|
dir: scripts/
|
||||||
|
run: ./run_tests.sh
|
Loading…
Reference in New Issue
Block a user