]> git.pld-linux.org Git - packages/prelink.git/commitdiff
- updated to 20130503 auto/th/prelink-20130503-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 20 Oct 2013 16:06:17 +0000 (18:06 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 20 Oct 2013 16:06:17 +0000 (18:06 +0200)
- added tests patch (fixes automake/TESTS_ENVIRONMENT issue)

prelink-tests.patch [new file with mode: 0644]
prelink.spec

diff --git a/prelink-tests.patch b/prelink-tests.patch
new file mode 100644 (file)
index 0000000..bb8a473
--- /dev/null
@@ -0,0 +1,11 @@
+--- prelink/testsuite/Makefile.am.orig 2013-05-03 09:58:11.000000000 +0200
++++ prelink/testsuite/Makefile.am      2013-10-20 17:15:03.396474517 +0200
+@@ -21,7 +21,7 @@
+       PRELINK="../src/prelink -c ./prelink.conf -C ./prelink.cache --ld-library-path=. --dynamic-linker=`echo ./ld*.so.*[0-9]`" \
+       CC="$(CC) $(LINKOPTS)" CCLINK="$(CC) -Wl,--dynamic-linker=`echo ./ld*.so.*[0-9]`" \
+       CXX="$(CXX) $(LINKOPTS)" CXXLINK="$(CXX) -Wl,--dynamic-linker=`echo ./ld*.so.*[0-9]`" \
+-      $(SHELL)
++      SHELL=$(SHELL)
+ extra_DIST = $(TESTS) functions.sh
index a3f92deb77683465a3254a5134ec34d4773f7b06..8090eedaff471c45a5813386cff629e34baa666a 100644 (file)
@@ -1,18 +1,18 @@
 #
 # Conditional build:
-%bcond_without selinux         # build without SELinux support
-%bcond_with    tests           # perform tests (break right now, missing deps?)
+%bcond_without selinux         # SELinux support
+%bcond_without tests           # tests after build
 #
 Summary:       Tool to optimize relocations in object files
 Summary(pl.UTF-8):     Narzędzie optymalizujące relokacje w plikach obiektów
 Name:          prelink
-Version:       20111012
-Release:       2
-License:       GPL
+Version:       20130503
+Release:       1
+License:       GPL v2+
 Group:         Development/Tools
-# Source0:     http://people.redhat.com/jakub/prelink/%{name}-%{version}.tar.bz2
-Source0:       http://distfiles.gentoo.org/distfiles/%{name}-%{version}.tar.bz2
-# Source0-md5: f5aaf347432d677c293e5e3399ba4fdf
+# backup:      http://distfiles.gentoo.org/distfiles/%{name}-%{version}.tar.bz2
+Source0:       http://people.redhat.com/jakub/prelink/%{name}-%{version}.tar.bz2
+# Source0-md5: 4cab1571718a9b25665bd025069a02c7
 Source1:       %{name}.conf
 Source2:       http://people.redhat.com/jakub/prelink/%{name}.pdf
 # Source2-md5: 50946b654da9ccb26230cc1e00ccc53c
@@ -23,8 +23,9 @@ Patch1:               %{name}-fsync.patch
 Patch2:                %{name}-init.patch
 Patch3:                %{name}-md5sha.patch
 Patch4:                %{name}-prelink.h.patch
-BuildRequires: autoconf
-BuildRequires: automake
+Patch5:                %{name}-tests.patch
+BuildRequires: autoconf >= 2.13
+BuildRequires: automake >= 1.4
 BuildRequires: elfutils-devel
 BuildRequires: glibc-devel >= 2.3
 %{?with_selinux:BuildRequires: libselinux-devel}
@@ -50,6 +51,7 @@ uruchomienia.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %build
 %{__libtoolize}
@@ -108,9 +110,10 @@ touch /var/lib/misc/prelink.force
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/prelink
 /etc/rpm/macros.prelink
 %attr(755,root,root) /etc/cron.daily/prelink
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man?/*
+%attr(755,root,root) %{_bindir}/execstack
+%attr(755,root,root) %{_sbindir}/prelink
+%{_mandir}/man8/execstack.8*
+%{_mandir}/man8/prelink.8*
 %verify(not md5 mtime size) %ghost %config(missingok,noreplace) /var/lib/misc/prelink.full
 %verify(not md5 mtime size) %ghost %config(missingok,noreplace) /var/lib/misc/prelink.quick
 %verify(not md5 mtime size) %ghost %config(missingok,noreplace) /var/lib/misc/prelink.force
This page took 0.074879 seconds and 4 git commands to generate.