]> git.pld-linux.org Git - packages/whois.git/commitdiff
don't install mkpasswd just to rm it auto/th/whois-5.2.9-1
authorElan Ruusamäe <glen@delfi.ee>
Fri, 12 Jun 2015 12:49:40 +0000 (15:49 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 12 Jun 2015 12:49:40 +0000 (15:49 +0300)
whois.spec

index 31220281b3813f5061b4d2bbc37e8e60ac9b09da..2a72ddeb9440989fed1d082f8ebd5f47090e6788 100644 (file)
@@ -1,8 +1,3 @@
-# TODO
-# - Why does whois provide something called mkpasswd (also provided by expect)
-#   and should we rm it during %install with a note as to why we aren't using it?
-#   - "because of historical reasons" (quoting README)
-#
 Summary:       Enhanced WHOIS client
 Summary(pl.UTF-8):     Rozszerzony klient WHOIS
 Summary(ru.UTF-8):     Улучшенный клиент WHOIS
@@ -66,14 +61,11 @@ echo 'install-pos: install' >> po/Makefile
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_mandir}/man1}
-
-install whois.conf $RPM_BUILD_ROOT%{_sysconfdir}
-
 %{__make} install-whois install-pos \
        BASEDIR=$RPM_BUILD_ROOT \
        prefix=%{_prefix}
 
-%{__rm} $RPM_BUILD_ROOT{%{_bindir}/mkpasswd,%{_mandir}/man1/mkpasswd.1}
+cp -p whois.conf $RPM_BUILD_ROOT%{_sysconfdir}
 
 %find_lang %{name}
 
This page took 0.030608 seconds and 4 git commands to generate.