Browse Source

jwhois-4.0-9

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
868bde5b67
1 changed files with 9 additions and 16 deletions
  1. 9 16
      j/jwhois/jwhois-vl.spec

+ 9 - 16
j/jwhois/jwhois-vl.spec

@@ -2,8 +2,8 @@ Summary: Internet whois/nicname client.
 Summary(ja): whois クライアント
 Name: jwhois
 Version: 4.0
-Release: 8%{?_dist_release}
-Group: Applications/Internet
+Release: 9%{?_dist_release}
+Group: internet
 Vendor: Project Vine
 Distribution: Vine Linux
 
@@ -20,7 +20,6 @@ Patch0: jwhois-4.0-connect.patch
 Patch1: jwhois-4.0-ipv6match.patch
 Patch2: jwhois-4.0-fclose.patch
 Patch3: jwhois-4.0-select.patch
-# Patch4: jwhois-4.0-conf-update.patch
 Patch5: jwhois-4.0-multi-homed.patch
 Patch6: jwhois-4.0-libidn2.patch
 Patch7: jwhois-4.0-idna.patch
@@ -31,15 +30,16 @@ Patch9: jwhois-4.0-ipv4_ipv6.patch
 Patch1000: jwhois-4.0-conf-update-newgTLD.patch
 
 Buildroot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: libidn-devel
+BuildRequires: libidn2-devel
 Obsoletes: fwhois, whois
-Requires(post): /sbin/install-info
-Requires(preun): /sbin/install-info
 
 %description
 A whois client that accepts both traditional and finger-style queries.
 
 
+%debug_package
+
+
 %prep
 %setup -q
 %{__cp} %{SOURCE10} example/
@@ -48,7 +48,6 @@ A whois client that accepts both traditional and finger-style queries.
 %patch1 -p1 -b .ipv6match
 %patch2 -p1 -b .fclose
 %patch3 -p1 -b .select
-# %patch4 -p1 -b .conf-update
 %patch5 -p1 -b .multi-homed
 %patch6 -p1 -b .libidn2
 %patch7 -p1 -b .idna
@@ -95,20 +94,14 @@ echo .so man1/jwhois.1 > $RPM_BUILD_ROOT/%{_mandir}/man1/whois.1
 %config(noreplace) %{_sysconfdir}/jwhois.conf
 
 
-%post
-/sbin/install-info %{_infodir}/jwhois.info.gz %{_infodir}/dir
-
-%preun
-if [ $1 = 0 ]; then
-    /sbin/install-info --delete %{_infodir}/jwhois.info.gz %{_infodir}/dir
-fi
-
-
 %clean
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Oct 27 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0-9
+- dropped install-info scriptlets.
+
 * Fri Apr 24 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.0-8
 - updated Source10.
 - renumbered Patch9 to Patch1000.