Update to 1.0.16, Spec cleanups
This commit is contained in:
parent
b43bbcc9d5
commit
e31e821455
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ lksctp-tools-1.0.11.tar.gz
|
||||
/lksctp-tools-1.0.13.tar.gz
|
||||
/lksctp-tools-1.0.14.tar.gz
|
||||
/lksctp-tools-1.0.15.tar.gz
|
||||
/lksctp-tools-1.0.16.tar.gz
|
||||
|
||||
10
lksctp-tools-1.0.16-libdir.patch
Normal file
10
lksctp-tools-1.0.16-libdir.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- lksctp-tools-1.0.16/src/withsctp/withsctp.in.orig 2014-02-18 10:42:49.000000000 +0000
|
||||
+++ lksctp-tools-1.0.16/src/withsctp/withsctp.in 2014-05-06 12:24:12.931873787 +0100
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# -*- sh -*-
|
||||
-LIBDIR=@libdir@/@PACKAGE@
|
||||
+LIBDIR=`rpm --eval "%{_libdir}"`/@PACKAGE@
|
||||
BINDIR=@bindir@
|
||||
export LD_PRELOAD=${LIBDIR}/libwithsctp.so.1.0.16
|
||||
if ! ${BINDIR}/checksctp 2> /dev/null
|
||||
@ -1,11 +0,0 @@
|
||||
diff -up lksctp-tools-1.0.11/src/withsctp/withsctp.in.orig lksctp-tools-1.0.11/src/withsctp/withsctp.in
|
||||
--- lksctp-tools-1.0.11/src/withsctp/withsctp.in.orig 2009-10-24 02:49:15.000000000 +0200
|
||||
+++ lksctp-tools-1.0.11/src/withsctp/withsctp.in 2009-12-01 13:46:30.000000000 +0100
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# -*- sh -*-
|
||||
-LIBDIR=@libdir@/@PACKAGE@
|
||||
+LIBDIR=`rpm --eval "%{_libdir}"`/@PACKAGE@
|
||||
BINDIR=@bindir@
|
||||
export LD_PRELOAD=${LIBDIR}/libwithsctp.so.1.0.15
|
||||
if ! ${BINDIR}/checksctp 2> /dev/null
|
||||
@ -1,13 +1,14 @@
|
||||
Name: lksctp-tools
|
||||
Summary: User-space access to Linux Kernel SCTP
|
||||
Name: lksctp-tools
|
||||
Version: 1.0.15
|
||||
Release: 2%{?dist}
|
||||
Version: 1.0.16
|
||||
Release: 1%{?dist}
|
||||
# src/apps/bindx_test.C is GPLv2, I've asked upstream for clarification
|
||||
License: GPLv2 and GPLv2+ and LGPLv2 and MIT
|
||||
Group: System Environment/Libraries
|
||||
URL: http://lksctp.sourceforge.net
|
||||
Source0: http://downloads.sourceforge.net/lksctp/%{name}-%{version}.tar.gz
|
||||
Patch0: lksctp-tools-1.0.6-libdir.patch
|
||||
Group: System Environment/Libraries
|
||||
URL: http://lksctp.sourceforge.net
|
||||
|
||||
Source0: http://downloads.sourceforge.net/lksctp/%{name}-%{version}.tar.gz
|
||||
Patch0: lksctp-tools-1.0.16-libdir.patch
|
||||
BuildRequires: libtool, automake, autoconf
|
||||
|
||||
%description
|
||||
@ -25,7 +26,7 @@ This package contains the base run-time library and command-line tools.
|
||||
%package devel
|
||||
Summary: Development files for lksctp-tools
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Development files for lksctp-tools which include man pages, header files,
|
||||
@ -34,7 +35,7 @@ static libraries, symlinks to dynamic libraries and some tutorial source code.
|
||||
%package doc
|
||||
Summary: Documents pertaining to SCTP
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description doc
|
||||
Documents pertaining to LKSCTP & SCTP in general (IETF RFC's & Internet
|
||||
@ -57,23 +58,21 @@ make %{?_smp_mflags}
|
||||
rm -f doc/rfc2960.txt doc/states.txt
|
||||
make install DESTDIR="$RPM_BUILD_ROOT" INSTALL="install -p"
|
||||
|
||||
find $RPM_BUILD_ROOT/%{_libdir}/ -name "*.la" | xargs rm -f
|
||||
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS ChangeLog COPYING* README
|
||||
%{_bindir}/*
|
||||
%{_libdir}/libsctp.so.*
|
||||
%{_libdir}/libsctp.so.1*
|
||||
%dir %{_libdir}/lksctp-tools/
|
||||
%{_libdir}/lksctp-tools/libwithsctp.so.*
|
||||
%{_libdir}/lksctp-tools/libwithsctp.so.1*
|
||||
%{_mandir}/man7/*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/*
|
||||
%{_libdir}/libsctp.so
|
||||
%{_libdir}/lksctp-tools/libwithsctp.so
|
||||
@ -81,10 +80,13 @@ find $RPM_BUILD_ROOT/%{_libdir}/ -name "*.la" | xargs rm -f
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/*.txt
|
||||
|
||||
%changelog
|
||||
* Tue May 6 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.16-1
|
||||
- Update to 1.0.16
|
||||
- Spec cleanups
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.15-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user