commit libsigsegv for openSUSE:Factory

2019-04-28 Thread root
Hello community,

here is the log from the commit of package libsigsegv for openSUSE:Factory 
checked in at 2019-04-28 19:59:08

Comparing /work/SRC/openSUSE:Factory/libsigsegv (Old)
 and  /work/SRC/openSUSE:Factory/.libsigsegv.new.5536 (New)


Package is "libsigsegv"

Sun Apr 28 19:59:08 2019 rev:8 rq:698204 version:2.12

Changes:

--- /work/SRC/openSUSE:Factory/libsigsegv/libsigsegv.changes2018-02-09 
15:43:09.712836412 +0100
+++ /work/SRC/openSUSE:Factory/.libsigsegv.new.5536/libsigsegv.changes  
2019-04-28 19:59:08.766946061 +0200
@@ -1,0 +2,25 @@
+Fri Apr 26 11:19:16 UTC 2019 - Dr. Werner Fink 
+
+- Allow LTO but only FAT LTO OBJECTS (boo#1133245)
+
+---
+Thu Apr 25 11:18:04 UTC 2019 - Dr. Werner Fink 
+
+- Add patch libsigsegv-2.12-lto.dif
+  * Avoid redefinition of structures of  by
+
+  * Avoid moved logic in resulting assembler code for LTO objects
+in signal handler for segmentation faults
+
+---
+Thu Apr 25 06:34:02 UTC 2019 - Dr. Werner Fink 
+
+- Avoid none debugging libsigsegv, that is add -fno-lto (boo#1133245)
+- Use %license if known
+
+---
+Wed Apr 24 17:18:04 UTC 2019 - Martin Liška 
+
+- Disable LTO (boo#1133245).
+
+---

New:

  libsigsegv-2.12-lto.dif



Other differences:
--
++ libsigsegv.spec ++
--- /var/tmp/diff_new_pack.MSw7i7/_old  2019-04-28 19:59:09.278945752 +0200
+++ /var/tmp/diff_new_pack.MSw7i7/_new  2019-04-28 19:59:09.278945752 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libsigsegv
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,14 +22,18 @@
 Version:2.12
 Release:0
 Summary:Library for Handling Page Faults in User Mode
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  System/Libraries
 Url:https://www.gnu.org/software/libsigsegv/
 Source0:
https://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
 Source1:
https://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-%{version}.tar.gz.sig
 Source2:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}=1#/%{name}.keyring
+Patch0: libsigsegv-2.12-lto.dif
 BuildRequires:  pkgconfig
 
+%define 
add_optflags(a:f:t:p:w:W:d:g:O:A:C:D:E:H:i:M:n:P:U:u:l:s:X:B:I:L:b:V:m:x:c:S:E:o:v:)
 \
+%global optflags %{optflags} %{**}
+
 %description
 This is a library for handling page faults in user mode. A page fault occurs
 when a program tries to access to a region of memory that is currently not
@@ -65,11 +69,22 @@
 
 %prep
 %setup -q
+%patch0 -b .p0
 
 %build
+%add_optflags -g3 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE
+%if 0%(case "%optflags" in (*-flto*) echo 1;; esac)
+%add_optflags -ffat-lto-objects
+%endif
 %configure \
+   --with-gnu-ld   \
--enable-shared \
--enable-static
+sed -ri 's@^((old_striplib|striplib)=)".*"@\1""@' libtool
+sed -ri 's@^(hardcode_libdir_flag_spec=)".*"@\1""@' libtool
+mkdir bin/
+ln -sf /bin/true bin/strip
+PATH=${PWD}/bin:$PATH; export PATH
 make %{?_smp_mflags}
 
 %install
@@ -88,7 +103,12 @@
 %postun -n %{lname} -p /sbin/ldconfig
 
 %files doc
+%if %{defined license}
+%license COPYING
+%doc AUTHORS ChangeLog* NEWS PORTING README
+%else
 %doc AUTHORS COPYING ChangeLog* NEWS PORTING README
+%endif
 
 %files -n %{lname}
 %{_libdir}/libsigsegv.so.%{somajor}*

++ libsigsegv-2.12-lto.dif ++
---
 configure |   42 +++---
 1 file changed, 27 insertions(+), 15 deletions(-)

--- configure
+++ configure   2019-04-25 13:27:06.323370748 +
@@ -12587,7 +12587,7 @@ static int zero_fd;
 # define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
 #endif
 unsigned long page;
-int handler_called = 0;
+volatile sig_atomic_t handler_called = 0;
 void sigsegv_handler (int sig, siginfo_t *sip, void *ucp)
 {
   void *fault_address = (void *) (sip->si_addr);
@@ -12683,7 +12683,9 @@ else
 
 
 #include 
+#ifndef _DEFAULT_SOURCE
 #include 
+#endif
 void sigsegv_handler (int sig, struct sigcontext sc)
 {
   void *fault_address = (void *) (sc.cr2);
@@ 

commit libsigsegv for openSUSE:Factory

2018-02-09 Thread root
Hello community,

here is the log from the commit of package libsigsegv for openSUSE:Factory 
checked in at 2018-02-09 15:43:05

Comparing /work/SRC/openSUSE:Factory/libsigsegv (Old)
 and  /work/SRC/openSUSE:Factory/.libsigsegv.new (New)


Package is "libsigsegv"

Fri Feb  9 15:43:05 2018 rev:7 rq:572935 version:2.12

Changes:

--- /work/SRC/openSUSE:Factory/libsigsegv/libsigsegv.changes2017-06-01 
16:28:50.048121130 +0200
+++ /work/SRC/openSUSE:Factory/.libsigsegv.new/libsigsegv.changes   
2018-02-09 15:43:09.712836412 +0100
@@ -1,0 +2,7 @@
+Thu Feb  1 20:16:44 UTC 2018 - astie...@suse.com
+
+- update to 2.12:
+  * updates for platform other than GNU/Linux
+  * Reliability improvements
+
+---

Old:

  libsigsegv-2.11.tar.gz
  libsigsegv-2.11.tar.gz.sig

New:

  libsigsegv-2.12.tar.gz
  libsigsegv-2.12.tar.gz.sig



Other differences:
--
++ libsigsegv.spec ++
--- /var/tmp/diff_new_pack.ULcELE/_old  2018-02-09 15:43:10.664802234 +0100
+++ /var/tmp/diff_new_pack.ULcELE/_new  2018-02-09 15:43:10.664802234 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libsigsegv
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %define somajor2
 %define lnamelibsigsegv%{somajor}
 Name:   libsigsegv
-Version:2.11
+Version:2.12
 Release:0
 Summary:Library for Handling Page Faults in User Mode
 License:GPL-2.0+
@@ -88,15 +88,12 @@
 %postun -n %{lname} -p /sbin/ldconfig
 
 %files doc
-%defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog* NEWS PORTING README
 
 %files -n %{lname}
-%defattr(-,root,root)
 %{_libdir}/libsigsegv.so.%{somajor}*
 
 %files devel
-%defattr(-,root,root)
 %{_includedir}/sigsegv.h
 %{_libdir}/libsigsegv.so
 %{_libdir}/libsigsegv.a

++ libsigsegv-2.11.tar.gz -> libsigsegv-2.12.tar.gz ++
 3671 lines of diff (skipped)





commit libsigsegv for openSUSE:Factory

2017-06-01 Thread root
Hello community,

here is the log from the commit of package libsigsegv for openSUSE:Factory 
checked in at 2017-06-01 16:28:48

Comparing /work/SRC/openSUSE:Factory/libsigsegv (Old)
 and  /work/SRC/openSUSE:Factory/.libsigsegv.new (New)


Package is "libsigsegv"

Thu Jun  1 16:28:48 2017 rev:6 rq:497324 version:2.11

Changes:

--- /work/SRC/openSUSE:Factory/libsigsegv/libsigsegv.changes2017-02-25 
00:46:04.461024759 +0100
+++ /work/SRC/openSUSE:Factory/.libsigsegv.new/libsigsegv.changes   
2017-06-01 16:28:50.048121130 +0200
@@ -1,0 +2,7 @@
+Mon May 22 13:36:14 UTC 2017 - mplus...@suse.com
+
+- Add gpg signature
+- Small spec file cleanup with spec-cleaner
+- Trim dependencies
+
+---

New:

  libsigsegv-2.11.tar.gz.sig
  libsigsegv.keyring



Other differences:
--
++ libsigsegv.spec ++
--- /var/tmp/diff_new_pack.StIg9e/_old  2017-06-01 16:28:51.139967176 +0200
+++ /var/tmp/diff_new_pack.StIg9e/_new  2017-06-01 16:28:51.143966613 +0200
@@ -16,35 +16,30 @@
 #
 
 
-Name:   libsigsegv
 %define somajor2
-%define lname  libsigsegv%somajor
-BuildRequires:  autoconf
-BuildRequires:  automake
-BuildRequires:  gcc
-BuildRequires:  glibc-devel
-BuildRequires:  libtool
-BuildRequires:  make
-BuildRequires:  pkgconfig
+%define lnamelibsigsegv%{somajor}
+Name:   libsigsegv
 Version:2.11
 Release:0
 Summary:Library for Handling Page Faults in User Mode
 License:GPL-2.0+
 Group:  System/Libraries
 Url:https://www.gnu.org/software/libsigsegv/
-Source: 
ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Source0:
https://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
+Source1:
https://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-%{version}.tar.gz.sig
+Source2:
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}=1#/%{name}.keyring
+BuildRequires:  pkgconfig
 
 %description
 This is a library for handling page faults in user mode. A page fault occurs
 when a program tries to access to a region of memory that is currently not
 available.
 
-%package -n %lname
+%package -n %{lname}
 Summary:Library for Handling Page Faults in User Mode
 Group:  System/Libraries
 
-%description -n %lname
+%description -n %{lname}
 This is a library for handling page faults in user mode. A page fault occurs
 when a program tries to access to a region of memory that is currently not
 available.
@@ -52,7 +47,7 @@
 %package devel
 Summary:Library for Handling Page Faults in User Mode
 Group:  Development/Libraries/C and C++
-Requires:   %lname = %{version}-%{release}
+Requires:   %{lname} = %{version}-%{release}
 
 %description devel
 This is a library for handling page faults in user mode. A page fault occurs
@@ -78,28 +73,27 @@
 make %{?_smp_mflags}
 
 %install
-%makeinstall
-%__rm "%{buildroot}%{_libdir}/libsigsegv.la"
+%make_install
+rm "%{buildroot}%{_libdir}/libsigsegv.la"
 
 %check
 %if 0%{?qemu_user_space_build:1}
 # qemu does not support stack overflows well ;)
-%__make check TESTS='sigsegv1 sigsegv2 sigsegv3'
+make %{?_smp_mflags} check TESTS='sigsegv1 sigsegv2 sigsegv3'
 %else
-%__make check
+make %{?_smp_mflags} check
 %endif
 
-%post   -n %lname -p /sbin/ldconfig
-%postun -n %lname -p /sbin/ldconfig
+%post   -n %{lname} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
 %files doc
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog* NEWS PORTING README
 
-%files -n %lname
+%files -n %{lname}
 %defattr(-,root,root)
-%{_libdir}/libsigsegv.so.%{somajor}
-%{_libdir}/libsigsegv.so.%{somajor}.*
+%{_libdir}/libsigsegv.so.%{somajor}*
 
 %files devel
 %defattr(-,root,root)




commit libsigsegv for openSUSE:Factory

2017-02-24 Thread root
Hello community,

here is the log from the commit of package libsigsegv for openSUSE:Factory 
checked in at 2017-02-25 00:46:03

Comparing /work/SRC/openSUSE:Factory/libsigsegv (Old)
 and  /work/SRC/openSUSE:Factory/.libsigsegv.new (New)


Package is "libsigsegv"

Changes:

--- /work/SRC/openSUSE:Factory/libsigsegv/libsigsegv.changes2013-07-03 
16:37:58.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsigsegv.new/libsigsegv.changes   
2017-02-25 00:46:04.461024759 +0100
@@ -1,0 +2,13 @@
+Wed Feb 22 07:29:42 UTC 2017 - wer...@suse.de
+
+- Update to version 2.11
+  * Added support for catching stack overflow on Linux/SPARC.
+  * Provide a correct value for SIGSTKSZ on 64-bit AIX and on HP-UX. The one
+defined by these systems is too small.
+  * Updated build infrastructure.
+  * Compilation now requires the  include file. Platforms which
+  don't have this include file (such as IRIX) are no longer supported.
+  * NOTE: Support for Cygwin and native Windows is currently not up-to-date.
+- Update URL that is use https://www.gnu.org/software/libsigsegv/
+
+---
@@ -10 +23 @@
-- Update tp version 2.10
+- Update to version 2.10

Old:

  libsigsegv-2.10.tar.gz

New:

  libsigsegv-2.11.tar.gz



Other differences:
--
++ libsigsegv.spec ++
--- /var/tmp/diff_new_pack.7EpPfq/_old  2017-02-25 00:46:05.272900988 +0100
+++ /var/tmp/diff_new_pack.7EpPfq/_new  2017-02-25 00:46:05.276900379 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libsigsegv
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,12 +26,12 @@
 BuildRequires:  libtool
 BuildRequires:  make
 BuildRequires:  pkgconfig
-Version:2.10
+Version:2.11
 Release:0
 Summary:Library for Handling Page Faults in User Mode
 License:GPL-2.0+
 Group:  System/Libraries
-Url:http://libsigsegv.sourceforge.net/
+Url:https://www.gnu.org/software/libsigsegv/
 Source: 
ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -84,9 +84,10 @@
 %check
 %if 0%{?qemu_user_space_build:1}
 # qemu does not support stack overflows well ;)
-export XFAIL_TESTS="stackoverflow1 stackoverflow2"
-%endif
+%__make check TESTS='sigsegv1 sigsegv2 sigsegv3'
+%else
 %__make check
+%endif
 
 %post   -n %lname -p /sbin/ldconfig
 %postun -n %lname -p /sbin/ldconfig

++ libsigsegv-2.10.tar.gz -> libsigsegv-2.11.tar.gz ++
 32289 lines of diff (skipped)




commit libsigsegv for openSUSE:Factory

2013-07-03 Thread h_root
Hello community,

here is the log from the commit of package libsigsegv for openSUSE:Factory 
checked in at 2013-07-03 16:37:57

Comparing /work/SRC/openSUSE:Factory/libsigsegv (Old)
 and  /work/SRC/openSUSE:Factory/.libsigsegv.new (New)


Package is libsigsegv

Changes:

--- /work/SRC/openSUSE:Factory/libsigsegv/libsigsegv.changes2013-05-13 
16:20:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.libsigsegv.new/libsigsegv.changes   
2013-07-03 16:37:58.0 +0200
@@ -1,0 +2,6 @@
+Wed Jul  3 12:36:56 UTC 2013 - sch...@suse.de
+
+- fix-build-in-qemu.patch: Remove, set XFAIL_TESTS instead
+- Reenable testsuite on armv7
+
+---

Old:

  fix-build-in-qemu.patch



Other differences:
--
++ libsigsegv.spec ++
--- /var/tmp/diff_new_pack.8EAZ0I/_old  2013-07-03 16:37:58.0 +0200
+++ /var/tmp/diff_new_pack.8EAZ0I/_new  2013-07-03 16:37:58.0 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package sigsegv
+# spec file for package libsigsegv
 #
 # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -13,6 +13,8 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
 
 Name:   libsigsegv
 %define somajor2
@@ -27,13 +29,11 @@
 Version:2.10
 Release:0
 Summary:Library for Handling Page Faults in User Mode
-URL:http://libsigsegv.sourceforge.net/
-Source: 
ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
-# PATCH-FIX-OPENSUSE -- make it build in qemu
-Patch0: fix-build-in-qemu.patch
-Group:  System/Libraries
 License:GPL-2.0+
-BuildRoot:  %{_tmppath}/build-%{name}-%{version}
+Group:  System/Libraries
+Url:http://libsigsegv.sourceforge.net/
+Source: 
ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 This is a library for handling page faults in user mode. A page fault occurs
@@ -61,7 +61,6 @@
 
 %package doc
 Summary:Library for Handling Page Faults in User Mode
-Group:  Development/Libraries/C and C++
 Group:  Documentation/Other
 
 %description doc
@@ -71,10 +70,6 @@
 
 %prep
 %setup -q
-%if 0%{?qemu_user_space_build:1}
-# qemu does not support stack overflows well ;)
-%patch0 -p1 -b .qemu
-%endif
 
 %build
 %configure \
@@ -87,9 +82,11 @@
 %__rm %{buildroot}%{_libdir}/libsigsegv.la
 
 %check
-%ifnarch armv7l armv7hl
-%__make check
+%if 0%{?qemu_user_space_build:1}
+# qemu does not support stack overflows well ;)
+export XFAIL_TESTS=stackoverflow1 stackoverflow2
 %endif
+%__make check
 
 %post   -n %lname -p /sbin/ldconfig
 %postun -n %lname -p /sbin/ldconfig
@@ -108,3 +105,5 @@
 %{_includedir}/sigsegv.h
 %{_libdir}/libsigsegv.so
 %{_libdir}/libsigsegv.a
+
+%changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libsigsegv for openSUSE:Factory

2013-05-13 Thread h_root
Hello community,

here is the log from the commit of package libsigsegv for openSUSE:Factory 
checked in at 2013-05-13 16:20:24

Comparing /work/SRC/openSUSE:Factory/libsigsegv (Old)
 and  /work/SRC/openSUSE:Factory/.libsigsegv.new (New)


Package is libsigsegv

Changes:

New Changes file:

--- /dev/null   2013-05-09 10:40:33.472011256 +0200
+++ /work/SRC/openSUSE:Factory/.libsigsegv.new/libsigsegv.changes   
2013-05-13 16:20:24.0 +0200
@@ -0,0 +1,17 @@
+---
+Wed May  8 13:09:02 UTC 2013 - wer...@suse.de
+
+- Update tp version 2.10
+- Adopt patch fix-build-in-qemu.patch 
+
+---
+Tue Jan 31 10:39:15 UTC 2012 - jeng...@medozas.de
+
+- Remove redundant tags/sections per specfile guideline suggestions
+- Parallel building using %_smp_mflags
+
+---
+Fri Dec  3 20:36:03 UTC 2010 - pascal.ble...@opensuse.org
+
+- initial package (2.9)
+

New:

  fix-build-in-qemu.patch
  libsigsegv-2.10.tar.gz
  libsigsegv.changes
  libsigsegv.spec



Other differences:
--
++ libsigsegv.spec ++
#
# spec file for package sigsegv
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name:   libsigsegv
%define somajor 2
%define lname   libsigsegv%somajor
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc
BuildRequires:  glibc-devel
BuildRequires:  libtool
BuildRequires:  make
BuildRequires:  pkgconfig
Version:2.10
Release:0
Summary:Library for Handling Page Faults in User Mode
URL:http://libsigsegv.sourceforge.net/
Source: 
ftp://ftp.gnu.org/pub/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
# PATCH-FIX-OPENSUSE -- make it build in qemu
Patch0: fix-build-in-qemu.patch
Group:  System/Libraries
License:GPL-2.0+
BuildRoot:  %{_tmppath}/build-%{name}-%{version}

%description
This is a library for handling page faults in user mode. A page fault occurs
when a program tries to access to a region of memory that is currently not
available.

%package -n %lname
Summary:Library for Handling Page Faults in User Mode
Group:  System/Libraries

%description -n %lname
This is a library for handling page faults in user mode. A page fault occurs
when a program tries to access to a region of memory that is currently not
available.

%package devel
Summary:Library for Handling Page Faults in User Mode
Group:  Development/Libraries/C and C++
Requires:   %lname = %{version}-%{release}

%description devel
This is a library for handling page faults in user mode. A page fault occurs
when a program tries to access to a region of memory that is currently not
available.

%package doc
Summary:Library for Handling Page Faults in User Mode
Group:  Development/Libraries/C and C++
Group:  Documentation/Other

%description doc
This is a library for handling page faults in user mode. A page fault occurs
when a program tries to access to a region of memory that is currently not
available.

%prep
%setup -q
%if 0%{?qemu_user_space_build:1}
# qemu does not support stack overflows well ;)
%patch0 -p1 -b .qemu
%endif

%build
%configure \
--enable-shared \
--enable-static
make %{?_smp_mflags}

%install
%makeinstall
%__rm %{buildroot}%{_libdir}/libsigsegv.la

%check
%ifnarch armv7l armv7hl
%__make check
%endif

%post   -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig

%files doc
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog* NEWS PORTING README

%files -n %lname
%defattr(-,root,root)
%{_libdir}/libsigsegv.so.%{somajor}
%{_libdir}/libsigsegv.so.%{somajor}.*

%files devel
%defattr(-,root,root)
%{_includedir}/sigsegv.h
%{_libdir}/libsigsegv.so
%{_libdir}/libsigsegv.a
++ fix-build-in-qemu.patch ++
---
 libsigsegv-2.10/tests/Makefile.am |2 +-
 libsigsegv-2.10/tests/Makefile.in |1 -
 2 files changed, 1