re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-11 10:37:35 +02:00
parent cb2992ef6d
commit 10c027bcac
4 changed files with 36 additions and 2 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/mwords.tar.Z
mwords.tar.Z

17
tests/scripts/runtest.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/bash
# Copyright (C) 2019 Karel Zak <kzak@redhat.com>
path=$(which look)
if [ ! -x "$path" ]; then
echo "look(1) not in $PATH"
exit 1
fi
NRES=$(look "gating" 2> /dev/null | wc -l)
if [ ! $NRES -gt 0 ]; then
echo "look(1) not found 'gating' word"
exit 1
fi
exit 0

14
tests/tests.yml Normal file
View File

@ -0,0 +1,14 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
- container
required_packages:
- util-linux
- words
- coreutils
tests:
- scripts:
dir: scripts
run: ./runtest.sh

View File

@ -1,7 +1,7 @@
Summary: A dictionary of English words for the /usr/share/dict directory
Name: words
Version: 3.0
Release: 28%{?dist}
Release: 29%{?dist}
License: Public Domain
Group: System Environment/Libraries
# Note that Moby Project officially does not exist any more. The most complete
@ -80,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/dict/words
%changelog
* Thu Mar 07 2019 Karel Zak <kzak@redhat.com> - 3.0-29
- fix #1681063 - add gating test
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild