fab pushed to whohas (f21). "update requirements"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue May 19 21:45:32 UTC 2015


From e680a3fec6849b6680273cb63cdd92dc34c9fe67 Mon Sep 17 00:00:00 2001
From: Fabian Affolter <fabian at affolter-engineering.ch>
Date: Tue, 19 May 2015 21:27:58 +0200
Subject: update requirements


diff --git a/whohas.spec b/whohas.spec
index c740f1f..17614ca 100644
--- a/whohas.spec
+++ b/whohas.spec
@@ -9,6 +9,9 @@ Source0:        https://github.com/whohas/whohas/releases/download/%{version}/%{
 BuildArch:      noarch
 
 Requires:       perl-libwww-perl
+Requires:       perl-forks
+Requires:       perl-Thread-Queue
+Requires:       perl-Sys-CPU
 
 %description
 whohas is a command line tool that allows querying several package
@@ -25,18 +28,15 @@ for file in usr/share/man/de/man1/whohas.1; do
     iconv -f ISO-8859-1 -t UTF-8 -o $file timestamp
     touch -r timestamp $file
 done
-chmod -x intro.html
 
 %build
 #nothing to build
 
 %install
-install -Dp -m 0755 program/%{name} %{buildroot}%{_bindir}/%{name}
-install -Dp -m 0644 usr/share/man/man1/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
-install -Dp -m 0644 usr/share/man/de/man1/%{name}.1 %{buildroot}%{_mandir}/de/man1/%{name}.1
+make install DESTDIR=%{buildroot} INSTALL="install -p"
 
 %files
-%doc Changelog intro.txt intro.html html_assets/ LICENSE 
+%doc Changelog intro.html html_assets/ LICENSE 
 %{_mandir}/man*/%{name}.*
 %{_mandir}/de/man*/%{name}.*
 %{_bindir}/%{name}
@@ -87,7 +87,7 @@ install -Dp -m 0644 usr/share/man/de/man1/%{name}.1 %{buildroot}%{_mandir}/de/ma
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.22-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 
-* Sat Jan 30 2009 Fabian Affolter <mail at fabian-affolter.ch> - 0.22-2
+* Fri Jan 30 2009 Fabian Affolter <mail at fabian-affolter.ch> - 0.22-2
 - License is GPLv2+ not GPLv2
 - Fixed requirements
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/whohas.git/commit/?h=f21&id=e680a3fec6849b6680273cb63cdd92dc34c9fe67


More information about the scm-commits mailing list