.spec cleanup, update URL, use %license (#1418517)
This commit is contained in:
parent
304b57f61c
commit
f0f69cff3c
@ -2,13 +2,11 @@
|
||||
Summary: Library for handling page faults in user mode
|
||||
Name: libsigsegv
|
||||
Version: 2.10
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
|
||||
License: GPLv2+
|
||||
URL: http://libsigsegv.sourceforge.net/
|
||||
URL: https://www.gnu.org/software/libsigsegv/
|
||||
Source0: http://ftp.gnu.org/gnu/libsigsegv/libsigsegv-%{version}.tar.gz
|
||||
Group: System Environment/Libraries
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: automake libtool
|
||||
|
||||
@ -25,15 +23,13 @@ technique for implementing:
|
||||
|
||||
%package devel
|
||||
Summary: Development libraries and header files for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%description devel
|
||||
%{summary}.
|
||||
|
||||
%package static
|
||||
Summary: Static libraries for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}-devel = %{version}-%{release}
|
||||
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||
%description static
|
||||
%{summary}.
|
||||
|
||||
@ -51,10 +47,9 @@ make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
## FIXME/TODO: review if this is needed anymore, particularly after usrmove
|
||||
%if 0%{?fedora} > 11
|
||||
# move shlib to %{_lib}
|
||||
pushd %{buildroot}%{_libdir}
|
||||
@ -65,23 +60,19 @@ popd
|
||||
%endif
|
||||
|
||||
## unpackaged files
|
||||
rm -f %{buildroot}%{_libdir}/lib*.la
|
||||
rm -fv %{buildroot}%{_libdir}/lib*.la
|
||||
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING NEWS README
|
||||
%doc AUTHORS NEWS README
|
||||
%license COPYING
|
||||
%if 0%{?fedora} > 11
|
||||
/%{_lib}/libsigsegv.so.2*
|
||||
%else
|
||||
@ -89,16 +80,17 @@ rm -rf %{buildroot}
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libsigsegv.so
|
||||
%{_includedir}/sigsegv.h
|
||||
|
||||
%files static
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libsigsegv.a
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 02 2017 Rex Dieter <rdieter@fedoraproject.org> - 2.10-11
|
||||
- .spec cleanup, update URL, use %%license (#1418517)
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user