diff to fix broken .spec file

This is a discussion on diff to fix broken .spec file within the SNMP Users forums, part of the Networking and Network Related category; --nextPart5215351.q5FRe48T39 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-22-2005
Jeremy M. Guthrie
 
Posts: n/a
Default diff to fix broken .spec file

--nextPart5215351.q5FRe48T39
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

The spec file included with the netsnmp-5.2.1.2 file is broken. The rpmbui=
ld=20
=2Dbb of the spec file doesn't work. Part way through the RPM starts=20
installing instead of building for a package. The diff below should help f=
ix=20
that.

diff a/net-snmp.spec b/net-snmp.spec
82c82
< %{?_with_perl_modules: --with-perl-modules=3D"PREFIX=3D$RPM_BUILD_R=
OOT/usr=20
INSTALLDIRS=3Dvendor"} \
=2D--
> %{?_with_perl_modules: --with-perl-modules=3D"PREFIX=3D/usr=20

INSTALLDIRS=3Dvendor"} \
84c84
< --with-cflags=3D"$RPM_OPT_FLAGS"
=2D--
> --with-cflags=3D"$RPM_OPT_FLAGS" --with-install-prefix=3D$RPM_BUIL=

D_ROOT

=2D-=20

=2D-------------------------------------------------
Jeremy M. Guthrie jeremy.guthrie@berbee.com
Senior Network Engineer Phone: 608-298-1061
Berbee Fax: 608-288-3007
5520 Research Park Drive NOC: 608-298-1102
Madison, WI 53711

--nextPart5215351.q5FRe48T39
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBDCikaqtjaBHGZBeURAnc+AKCO0iUrLWQkmOeYQO/TMChbDaYcsgCdEoqE
xc0Gm0xplpqBrrp4KTmGLXo=
=GLXg
-----END PGP SIGNATURE-----

--nextPart5215351.q5FRe48T39--


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:26 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0