.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
|
Summary: Library for handling page faults in user mode
|
||||||
Name: libsigsegv
|
Name: libsigsegv
|
||||||
Version: 2.10
|
Version: 2.10
|
||||||
Release: 10%{?dist}
|
Release: 11%{?dist}
|
||||||
|
|
||||||
License: GPLv2+
|
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
|
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
|
BuildRequires: automake libtool
|
||||||
|
|
||||||
@ -25,15 +23,13 @@ technique for implementing:
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development libraries and header files for %{name}
|
Summary: Development libraries and header files for %{name}
|
||||||
Group: Development/Libraries
|
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
%description devel
|
%description devel
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%package static
|
%package static
|
||||||
Summary: Static libraries for %{name}
|
Summary: Static libraries for %{name}
|
||||||
Group: Development/Libraries
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
||||||
Requires: %{name}-devel = %{version}-%{release}
|
|
||||||
%description static
|
%description static
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
@ -51,10 +47,9 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
|
## FIXME/TODO: review if this is needed anymore, particularly after usrmove
|
||||||
%if 0%{?fedora} > 11
|
%if 0%{?fedora} > 11
|
||||||
# move shlib to %{_lib}
|
# move shlib to %{_lib}
|
||||||
pushd %{buildroot}%{_libdir}
|
pushd %{buildroot}%{_libdir}
|
||||||
@ -65,23 +60,19 @@ popd
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
## unpackaged files
|
## unpackaged files
|
||||||
rm -f %{buildroot}%{_libdir}/lib*.la
|
rm -fv %{buildroot}%{_libdir}/lib*.la
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%doc AUTHORS NEWS README
|
||||||
%doc AUTHORS COPYING NEWS README
|
%license COPYING
|
||||||
%if 0%{?fedora} > 11
|
%if 0%{?fedora} > 11
|
||||||
/%{_lib}/libsigsegv.so.2*
|
/%{_lib}/libsigsegv.so.2*
|
||||||
%else
|
%else
|
||||||
@ -89,16 +80,17 @@ rm -rf %{buildroot}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libsigsegv.so
|
%{_libdir}/libsigsegv.so
|
||||||
%{_includedir}/sigsegv.h
|
%{_includedir}/sigsegv.h
|
||||||
|
|
||||||
%files static
|
%files static
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libsigsegv.a
|
%{_libdir}/libsigsegv.a
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-10
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user