Compare commits

..

No commits in common. "rawhide" and "f33" have entirely different histories.

2 changed files with 15 additions and 57 deletions

View file

@ -1,3 +0,0 @@
shellsyntax:
ignore:
- /usr/bin/wnb

View file

@ -1,9 +1,9 @@
Name: wordnet
Version: 3.0
Release: 52%{?dist}
Release: 39%{?dist}
Summary: A lexical database for the English language
License: MIT and GPL-2.0-or-later
License: MIT and GPLv2+
URL: http://wordnet.princeton.edu/
Source0: http://wordnetcode.princeton.edu/%{version}/WordNet-%{version}.tar.bz2
# Updated database
@ -13,7 +13,7 @@ Patch1: wordnet-3.0-CVE-2008-3908.patch
Patch2: wordnet-3.0-fix_man.patch
Patch3: wordnet-3.0-fix_resourcedir_path.patch
Patch4: wordnet-3.0-src_stubs_c.patch
# wordnet-3.0-wishwn_manpage.patch is GPL-2.0-or-later
# wordnet-3.0-wishwn_manpage.patch is GPLv2+
Patch5: wordnet-3.0-wishwn_manpage.patch
Patch6: wordnet-3.0-use_system_tk_headers.patch
Patch7: wordnet-3.0-libtool.patch
@ -28,8 +28,8 @@ BuildRequires: gzip
BuildRequires: libtool
BuildRequires: make
BuildRequires: tar
BuildRequires: tcl-devel < 1:9
BuildRequires: tk-devel < 1:9
BuildRequires: tcl-devel
BuildRequires: tk-devel
%description
WordNet is a large lexical database of English, developed under the direction
@ -71,17 +71,17 @@ and PostScript format.
%prep
%setup -q -n WordNet-%{version}
%patch -P 0 -p1 -b .cve-2008-2149
%patch -P 1 -p1 -b .cve-2008-3908
%patch -P 2 -p1 -b .fix_man
%patch -P 3 -p1 -b .fix_resourcedir_path
%patch -P 4 -p1 -b .src_stubs_c
%patch -P 5 -p1 -b .wishwn_manpage
%patch0 -p1 -b .cve-2008-2149
%patch1 -p1 -b .cve-2008-3908
%patch2 -p1 -b .fix_man
%patch3 -p1 -b .fix_resourcedir_path
%patch4 -p1 -b .src_stubs_c
%patch5 -p1 -b .wishwn_manpage
sed -e '/man_MANS/ s/$/ wishwn.1/' -i doc/man/Makefile.am
%patch -P 6 -p1 -b .use_system_tk_headers
%patch -P 7 -p1 -b .libtool
%patch -P 8 -p1 -b .error_message
%patch -P 9 -p1 -b .format
%patch6 -p1 -b .use_system_tk_headers
%patch7 -p1 -b .libtool
%patch8 -p1 -b .error_message
%patch9 -p1 -b .format
# delete the include/tk dir, since we do not use the included tk headers
rm -rf include/tk
# Update a database
@ -143,45 +143,6 @@ rm -rf doc/{html,ps,pdf}/Makefile*
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Tue Jun 30 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 3.0-51
- Build with Tcl 8
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-49
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-45
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jul 07 2023 Parag Nemade <pnemade AT redhat DOT com> - 3.0-44
- Migrate to SPDX license expression
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0-39
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild