diff --git a/wordnet.rpmlintrc b/.rpmlint similarity index 100% rename from wordnet.rpmlintrc rename to .rpmlint diff --git a/rpminspect.yaml b/rpminspect.yaml deleted file mode 100644 index 3cc93e9..0000000 --- a/rpminspect.yaml +++ /dev/null @@ -1,3 +0,0 @@ -shellsyntax: - ignore: - - /usr/bin/wnb diff --git a/wordnet.spec b/wordnet.spec index ae8940c..f4c3508 100644 --- a/wordnet.spec +++ b/wordnet.spec @@ -1,9 +1,9 @@ Name: wordnet Version: 3.0 -Release: 52%{?dist} +Release: 35%{?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 @@ -97,7 +97,7 @@ autoreconf -i %if 0%{?fedora} >= 21 || 0%{?rhel} > 7 export CFLAGS="%{?optflags} -DUSE_INTERP_RESULT" export CXXFLAGS="%{?optflags} -DUSE_INTERP_RESULT" -%endif +%endif #0%{?fedora} >= 21 || 0%{?rhel} > 7 %configure --enable-static=no --prefix=%{_datadir}/wordnet-%{version}/ make %{?_smp_mflags} @@ -143,57 +143,6 @@ rm -rf doc/{html,ps,pdf}/Makefile* %changelog -* Fri Jul 17 2026 Fedora Release Engineering - 3.0-52 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Tue Jun 30 2026 Yaakov Selkowitz - 3.0-51 -- Build with Tcl 8 - -* Sat Jan 17 2026 Fedora Release Engineering - 3.0-50 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Fri Jul 25 2025 Fedora Release Engineering - 3.0-49 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sun Jan 19 2025 Fedora Release Engineering - 3.0-48 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Sat Jul 20 2024 Fedora Release Engineering - 3.0-47 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Jan 27 2024 Fedora Release Engineering - 3.0-46 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Jul 22 2023 Fedora Release Engineering - 3.0-45 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Fri Jul 07 2023 Parag Nemade - 3.0-44 -- Migrate to SPDX license expression - -* Sat Jan 21 2023 Fedora Release Engineering - 3.0-43 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering - 3.0-42 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sat Jan 22 2022 Fedora Release Engineering - 3.0-41 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 3.0-40 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 3.0-39 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Wed Jul 29 2020 Fedora Release Engineering - 3.0-38 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 3.0-37 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Jul 27 2019 Fedora Release Engineering - 3.0-36 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - * Sun Feb 03 2019 Fedora Release Engineering - 3.0-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild @@ -316,3 +265,4 @@ rm -rf doc/{html,ps,pdf}/Makefile* * Sat Nov 29 2008 Steven Fernandez - 3.0-1 - First build for Fedora 10 +