g-wrap rpm spec file patches
Derek Atkins
warlord@MIT.EDU
29 Dec 2000 08:45:51 -0500
This patch will necessarily cause g-wrap to fail on a standard RH 6.2
platform. Standard RH 6.2 uses guile 1.3, so requiring 1.3.4 will
necessarily fail.
Also, you _DO_ want /usr/bin/g-wrap in the devel package, because you
need it in order to build the language bindings (unless the name has
changed in the 1.x series?).
-derek
<linas@linas.org> writes:
> > > are changes to the rpm spec file.
>
> Here are 3 more, to be applied on top of the previous patch:
>
> I also suggest renaming spec.in to g-wrap.spec.in which might
> help avoid some mnor rpm build confusion.
>
>
> --- g-wrap.spec.in Wed Dec 27 21:10:38 2000
> +++ /tmp/g-wrap.spec.in Fri Dec 29 00:31:00 2000
>
> @@ -14,6 +14,7 @@
> URL: coming-soon
> Packager: Linas Vepstas <linas@linas.org>
> BuildRoot: /var/tmp/%{name}-%{version}
> +Requires: guile >= 1.3.4
>
> %description
> g-wrap is a tool for creating Scheme interfaces to C libraries. At
> @@ -73,7 +74,6 @@
>
> %files devel
> %defattr(-,root,root)
> -/usr/bin/g-wrap
> /usr/bin/g-wrap-config
> /usr/include/g-wrap-runtime-guile.h
> /usr/lib/libg-wrap-runtime-guile.a
> @@ -81,7 +81,7 @@
> /usr/share/aclocal/g-wrap.m4
> /usr/share/guile/g-wrapped/libgw-runtime.la
> /usr/share/guile/g-wrapped/libgw-runtime.a
> -%doc /usr/info/g-wrap.info
> +%doc /usr/info/g-wrap.info.gz
>
> %changelog
> * Wed Dec 27 2000 Linas Vepstas <linas@linas.org>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available