]> git.pld-linux.org Git - packages/libaio.git/commitdiff
- new Source0 URL, updated to 0.3.110 auto/th/libaio-0.3.110-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 20 Jan 2016 18:23:57 +0000 (19:23 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 20 Jan 2016 18:23:57 +0000 (19:23 +0100)
- updated Werror patch

libaio-Werror.patch
libaio.spec

index ad12d62d9cb895684f82815861f1e499613d1e6c..0a64e622994cb6612a0c12391ab9c32f16c68376 100644 (file)
@@ -1,11 +1,11 @@
---- libaio-0.3.109/harness/Makefile~   2009-10-09 20:17:02.000000000 +0200
-+++ libaio-0.3.109/harness/Makefile    2013-02-16 23:43:31.268644042 +0100
+--- libaio-0.3.110/harness/Makefile.orig       2016-01-20 17:15:44.249480226 +0100
++++ libaio-0.3.110/harness/Makefile    2016-01-20 17:16:08.229479219 +0100
 @@ -6,7 +6,7 @@
  HARNESS_SRCS:=main.c
  # io_queue.c
  
--CFLAGS=-Wall -Werror -I../src -g -O
-+CFLAGS=-Wall -I../src -g -O
+-CFLAGS+=-Wall -Werror -I../src -g -O
++CFLAGS+=-Wall -I../src -g -O
  #-lpthread -lrt
  
  all: $(PROGS)
index fdda6dacb8d89c0d37fb8c713e3f346c5c5b070a..a3fe2eca249fa3daa4a9cc2776b8a2de6421cf36 100644 (file)
@@ -5,17 +5,20 @@
 Summary:       Linux-native asynchronous I/O access library
 Summary(pl.UTF-8):     Biblioteka natywnego dla Linuksa asynchronicznego dostępu do wejścia/wyjścia
 Name:          libaio
-Version:       0.3.109
-Release:       2
+Version:       0.3.110
+Release:       1
 License:       LGPL v2+
 Group:         Libraries
-Source0:       ftp://ftp.kernel.org/pub/linux/libs/aio/%{name}-%{version}.tar.gz
-# Source0-md5: 435a5b16ca6198eaf01155263d855756
+Source0:       https://fedorahosted.org/releases/l/i/libaio/%{name}-%{version}.tar.gz
+# Source0-md5: 2a35602e43778383e2f4907a4ca39ab8
 Patch0:                %{name}-DESTDIR.patch
 Patch1:                %{name}-Werror.patch
 Patch2:                x32.patch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# SSP is incompatible with -nostdlib -nostartfiles
+%define                filterout_c     -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector.*
+
 %description
 The Linux-native asynchronous I/O facility ("async I/O", or "aio") has
 a richer API and capability set than the simple POSIX async I/O
@@ -83,13 +86,8 @@ install -d $RPM_BUILD_ROOT/%{_lib}
        usrlibdir=%{_libdir} \
        DESTDIR=$RPM_BUILD_ROOT
 
-# omit some manuals:
-# man2/io_* already included in man-pages
-# some man3/aio_* already included in glibc-devel-doc (from man-pages)
 install -d $RPM_BUILD_ROOT%{_mandir}/man3
-cp -a man/aio{,_cancel64,_error64,_fsync64,_init,_read64,_return64,_suspend64,_write64}.3 $RPM_BUILD_ROOT%{_mandir}/man3
 cp -a man/io*.3 $RPM_BUILD_ROOT%{_mandir}/man3
-cp -a man/lio*.3 $RPM_BUILD_ROOT%{_mandir}/man3
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -107,9 +105,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libaio.so
 %{_includedir}/libaio.h
-%{_mandir}/man3/aio*.3*
 %{_mandir}/man3/io*.3*
-%{_mandir}/man3/lio_*.3*
 
 %files static
 %defattr(644,root,root,755)
This page took 0.100715 seconds and 4 git commands to generate.