X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=drraw.spec;fp=drraw.spec;h=4903044a8d16711a07cddaa7ba8aed0f578d39ed;hb=fbb2f56fddb85f4f26523ef8801581d57451b711;hp=f8411300943d4053545184ed91c0a5b1da5065bc;hpb=a44b799ad653a94f13fa958af6414e6845589ed9;p=packages%2Fdrraw.git diff --git a/drraw.spec b/drraw.spec index f841130..4903044 100644 --- a/drraw.spec +++ b/drraw.spec @@ -1,14 +1,15 @@ Summary: Draw Round Robin Archives on the Web Summary(pl): Drraw - rysowanie wykresów RRD na WWW Name: drraw -Version: 2.1.2 +Version: 2.1.3 Release: 0.1 License: BSD Group: Applications/Databases Source0: http://web.taranis.org/drraw/dist/%{name}-%{version}.tgz -# Source0-md5: fccef17a09d858b3ffdeb49c08455104 +# Source0-md5: 99466034678b46784fcd4463882b6c8a Patch0: %{name}-conf.patch URL: http://web.taranis.org/drraw/ +BuildRequires: sed >= 4.0 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -30,6 +31,7 @@ na wiele plik %prep %setup -q %patch -p1 +sed -i 's@^#! /usr/local/bin/perl@#!/usr/bin/perl@' drraw.cgi %install rm -rf $RPM_BUILD_ROOT @@ -48,4 +50,4 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) /home/services/html/cgi-bin/drraw.cgi %attr(755,http,http) /home/services/drraw/ /home/services/html/cgi-bin/icons/* -%attr(640,root,http) %config(noreplace) %verify(not size mtime md5) /home/services/html/cgi-bin/drraw.conf +%attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) /home/services/html/cgi-bin/drraw.conf