Compare commits
No commits in common. "c9-beta" and "c8" have entirely different histories.
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/libsigsegv-2.13.tar.gz
|
SOURCES/libsigsegv-2.11.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
c371743afe08c2ec817bd6d37f32d40cb28ea5a9 SOURCES/libsigsegv-2.13.tar.gz
|
186dea8ae788395476bd7cbaf38c17ebe82e1777 SOURCES/libsigsegv-2.11.tar.gz
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
diff -Nrup a/m4/fault.m4 b/m4/fault.m4
|
|
||||||
--- a/m4/fault.m4 2014-01-02 15:26:46.000000000 -0700
|
|
||||||
+++ b/m4/fault.m4 2020-01-17 15:40:41.420148995 -0700
|
|
||||||
@@ -49,7 +49,7 @@ static int zero_fd;
|
|
||||||
# define SIGSEGV_FAULT_ADDRESS_ROUNDOFF_BITS 0UL
|
|
||||||
#endif
|
|
||||||
unsigned long page;
|
|
||||||
-int handler_called = 0;
|
|
||||||
+volatile int handler_called = 0;
|
|
||||||
void sigsegv_handler ($5)
|
|
||||||
{
|
|
||||||
void *fault_address = (void *) ($6);
|
|
@ -1,16 +1,14 @@
|
|||||||
Name: libsigsegv
|
|
||||||
Version: 2.13
|
|
||||||
Release: 4%{?dist}
|
|
||||||
Summary: Library for handling page faults in user mode
|
Summary: Library for handling page faults in user mode
|
||||||
|
Name: libsigsegv
|
||||||
|
Version: 2.11
|
||||||
|
Release: 5%{?dist}
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://www.gnu.org/software/libsigsegv/
|
URL: https://www.gnu.org/software/libsigsegv/
|
||||||
Source0: http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
|
Source0: http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
|
||||||
Patch0: configure.patch
|
|
||||||
|
|
||||||
BuildRequires: automake libtool
|
BuildRequires: automake libtool
|
||||||
BuildRequires: gcc
|
|
||||||
BuildRequires: make
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a library for handling page faults in user mode. A page fault
|
This is a library for handling page faults in user mode. A page fault
|
||||||
@ -37,24 +35,33 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%setup -q
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -ivf
|
|
||||||
%configure \
|
%configure \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--enable-static
|
--enable-static
|
||||||
|
|
||||||
%{make_build}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{make_install}
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
# remove libtool archives
|
## FIXME/TODO: review if this is needed anymore, particularly after usrmove
|
||||||
find %{buildroot} -type f -name "*.la" -delete
|
%if 0%{?fedora} > 11
|
||||||
|
# move shlib to %{_lib}
|
||||||
|
pushd %{buildroot}%{_libdir}
|
||||||
|
mkdir ../../%{_lib}
|
||||||
|
mv libsigsegv.so.2* ../../%{_lib}/
|
||||||
|
ln -sf ../../%{_lib}/libsigsegv.so.2 %{buildroot}%{_libdir}/libsigsegv.so
|
||||||
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
|
## unpackaged files
|
||||||
|
rm -fv %{buildroot}%{_libdir}/lib*.la
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -64,9 +71,13 @@ make check
|
|||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
|
||||||
%doc AUTHORS NEWS README
|
%doc AUTHORS NEWS README
|
||||||
|
%license COPYING
|
||||||
|
%if 0%{?fedora} > 11
|
||||||
|
/%{_lib}/libsigsegv.so.2*
|
||||||
|
%else
|
||||||
%{_libdir}/libsigsegv.so.2*
|
%{_libdir}/libsigsegv.so.2*
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libsigsegv.so
|
%{_libdir}/libsigsegv.so
|
||||||
@ -77,38 +88,6 @@ make check
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.13-4
|
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
||||||
Related: rhbz#1991688
|
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.13-3
|
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.13-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sun Jan 17 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 2.13-1
|
|
||||||
- Update to 2.13
|
|
||||||
- spec file cleanup
|
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-11
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-10
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 17 2020 Jeff Law <law@redhat.com> - 2.11-9
|
|
||||||
- Fix configure tests compromised by LTO
|
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-8
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-5
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.11-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user