diff --git a/hesiod-3.1.0-perms.patch b/hesiod-3.1.0-perms.patch new file mode 100644 index 0000000..e8f2776 --- /dev/null +++ b/hesiod-3.1.0-perms.patch @@ -0,0 +1,14 @@ +Let libtool decide the install mode for the libtool archive and the real files +which it tracks. + +--- hesiod-3.1.0/Makefile.in 2006-06-20 14:24:10.000000000 -0400 ++++ hesiod-3.1.0/Makefile.in 2006-06-20 14:24:05.000000000 -0400 +@@ -48,7 +48,7 @@ + ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir} + ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man3 + ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man5 +- ${LIBTOOL} --mode=install ${INSTALL} -m 644 libhesiod.la \ ++ ${LIBTOOL} --mode=install ${INSTALL} libhesiod.la \ + ${DESTDIR}${libdir} + ${INSTALL} -m 444 ${srcdir}/hesiod.h ${DESTDIR}${includedir} + ${INSTALL} -m 444 ${srcdir}/hesiod.3 ${DESTDIR}${mandir}/man3 diff --git a/hesiod.spec b/hesiod.spec index c96f190..fd3b7f2 100644 --- a/hesiod.spec +++ b/hesiod.spec @@ -1,12 +1,13 @@ Name: hesiod Version: 3.1.0 -Release: 4 +Release: 5 Source: ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/hesiod-%{version}.tar.gz Patch0: hesiod-3.1.0-classes.patch Patch1: hesiod-3.0.2-env.patch Patch2: hesiod-3.1.0-str.patch Patch3: hesiod-3.1.0-dnsparse.patch Patch4: hesiod-3.1.0-libresolv.patch +Patch5: hesiod-3.1.0-perms.patch Summary: Hesiod libraries. Group: System Environment/Libraries License: MIT @@ -33,6 +34,10 @@ ensure synchronize the files among multiple hosts. This package contains the header files and libraries required for building programs which use Hesiod. %changelog +* Tue Jun 20 2006 Nalin Dahyabhai - 3.1.0-5 +- don't override libtool's defaults for permissions on its .la file, because + we don't get debuginfo if the execute bit isn't set (pjones, in #190219) + * Wed Jun 7 2006 Jeremy Katz - 3.1.0-4 - rebuild for -devel deps @@ -165,6 +170,7 @@ the header files and libraries required for building programs which use Hesiod. %patch2 -p1 -b .str %patch3 -p1 -b .dnsparse %patch4 -p1 -b .libresolv +%patch5 -p1 -b .perms autoconf %build