[packages/satyr] - updated to 0.18 - removed outdated libopcodes patch
qboosh
qboosh at pld-linux.org
Wed Jun 24 20:17:34 CEST 2015
commit 6ba563f148d959fe92151199552df872033d0fd9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jun 24 20:19:08 2015 +0200
- updated to 0.18
- removed outdated libopcodes patch
satyr-libopcodes.patch | 42 ------------------------------------------
satyr.spec | 17 +++++++----------
2 files changed, 7 insertions(+), 52 deletions(-)
---
diff --git a/satyr.spec b/satyr.spec
index b1e2236..94273ba 100644
--- a/satyr.spec
+++ b/satyr.spec
@@ -5,19 +5,17 @@
Summary: Tools to create anonymous, machine-friendly problem reports
Summary(pl.UTF-8): Analizator śladów wywołań tworzonych przez GDB
Name: satyr
-Version: 0.17
-Release: 2
+Version: 0.18
+Release: 1
License: GPL v2+
Group: Development/Tools
Source0: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.xz
-# Source0-md5: 7a3fcff30ea9a0dd364af5f90003bde4
-Patch0: %{name}-libopcodes.patch
-Patch1: %{name}-rpm5.patch
-Patch2: %{name}-rpm45.patch
+# Source0-md5: 7a5b1538385dd31e146de771d5c894ae
+Patch0: %{name}-rpm5.patch
+Patch1: %{name}-rpm45.patch
URL: http://fedorahosted.org/abrt/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
-BuildRequires: binutils-devel
BuildRequires: elfutils-devel
BuildRequires: libtool
BuildRequires: libstdc++-devel
@@ -108,11 +106,10 @@ Wiązania Pythona 3 do biblioteki Satyr.
%prep
%setup -q
-%patch0 -p1
%if "%{_rpmversion}" >= "5.0"
-%patch1 -p1
+%patch0 -p1
%else
-%patch2 -p1
+%patch1 -p1
%endif
printf '%s' '%{version}' > satyr-version
diff --git a/satyr-libopcodes.patch b/satyr-libopcodes.patch
deleted file mode 100644
index afbfab2..0000000
--- a/satyr-libopcodes.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- satyr-0.5/configure.ac.orig 2013-07-25 15:58:49.666496568 +0200
-+++ satyr-0.5/configure.ac 2013-07-25 16:01:02.469824330 +0200
-@@ -44,37 +44,10 @@
- [echo "will not be built. If you want to build core fingerprinting support, please ensure"]
- [echo "that libopcodes is installed and its directory is included in the search path."]
- [echo "Then run configure again before attempting to build Satyr."]
-+[else]
-+ have_good_libopcodes=1
- [fi]
-
--# Check libopcodes
--AC_MSG_CHECKING([whether libopcodes is position independent])
--opcodes_pic="not found"
--# ugly, but still better than whitelisting known-working systems
--for DIR in /lib /usr/lib /lib64 /usr/lib64; do
-- OPCODES="$DIR/libopcodes.a"
-- if ! test -r $OPCODES; then
-- continue
-- fi
--
-- if readelf -r $OPCODES | grep R_X86_64_32 >/dev/null; then
-- opcodes_pic=no
-- break
-- else
-- opcodes_pic=yes
-- break
-- fi
--done
--AC_MSG_RESULT([$opcodes_pic])
--
--[if test "$opcodes_pic" = "no" -a "$target_cpu" = "x86_64"; then]
-- [echo "The libopcodes library on your system was not compiled with PIC. The core backtrace fingerprinting support "]
-- [echo "will not be built. If you want to build core backtrace support, please ensure"]
-- [echo "that the provided libopcodes is build with -fPIC."]
-- [echo "Then run configure again before attempting to build Satyr."]
--[fi]
--
--test ! \( "$opcodes_pic" = "yes" -a "$have_libopcodes" = "yes" -a "$target_cpu" = "x86_64" \)
--have_good_libopcodes=$?
- AM_CONDITIONAL(HAVE_LIBOPCODES, test $have_good_libopcodes -eq 1)
- AC_DEFINE_UNQUOTED(HAVE_LIBOPCODES, $have_good_libopcodes, [Have libopcodes compiled with -fPIC])
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/satyr.git/commitdiff/6ba563f148d959fe92151199552df872033d0fd9
More information about the pld-cvs-commit
mailing list