Argus SPEC file for RPM building (fwd)

Chris Wilson chris-argus at qwirx.com
Sun Nov 1 17:41:31 EST 2009


On Sun, 1 Nov 2009, Guilsson Guilsson wrote:

> Thanks for your fast reply.
> But no success:
>
> # cd  /root/argusstuff
> # rpmbuild -ba argus-clients-3.0.2-spec.patch
> error: line 1: Unknown tag: diff -ru
> argus-clients-3.0.2/lib/argus-clients.spec
> argus-clients-3.0.2-chris/lib/argus-clients.spec

You can't build the patch. You have to apply it to the spec file contained 
inside the tarball, and then use rpmbuild -ba on that:

cp argus-clients-3.0.2/lib/argus-clients.spec /usr/src/redhat/SPECS
cd /usr/src/redhat/SPECS
patch -p1 < /tmp/argus-clients-3.0.2-spec.patch
rpmbuild -ba argus-clients.spec

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |



More information about the argus mailing list