This commit is contained in:
parent
b50f3c0d54
commit
5408f346c0
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 3 21:53:44 CET 2009 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
- remove static libraries
|
||||||
|
- fix -devel package dependencies
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 10 12:34:56 CET 2008 - olh@suse.de
|
Wed Dec 10 12:34:56 CET 2008 - olh@suse.de
|
||||||
|
|
||||||
|
18
libaio.spec
18
libaio.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libaio (Version 0.3.104)
|
# spec file for package libaio (Version 0.3.104)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -28,7 +28,7 @@ Obsoletes: libaio-64bit
|
|||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
Version: 0.3.104
|
Version: 0.3.104
|
||||||
Release: 140
|
Release: 141
|
||||||
Summary: Linux-Native Asynchronous I/O Access Library
|
Summary: Linux-Native Asynchronous I/O Access Library
|
||||||
Source: libaio-%{version}.tar.bz2
|
Source: libaio-%{version}.tar.bz2
|
||||||
Patch1: libaio-%{version}.diff
|
Patch1: libaio-%{version}.diff
|
||||||
@ -49,7 +49,7 @@ require the Linux-native async I/O API.
|
|||||||
License: LGPL v2.1 or later
|
License: LGPL v2.1 or later
|
||||||
Summary: Development Files for Linux-native Asynchronous I/O Access
|
Summary: Development Files for Linux-native Asynchronous I/O Access
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libaio = %{version}
|
Requires: libaio = %{version} glibc-devel
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: libaio-devel-64bit
|
Obsoletes: libaio-devel-64bit
|
||||||
@ -69,14 +69,14 @@ with, for the Linux-native asynchronous I/O facility ("async I/O", or
|
|||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make OPTFLAGS="$RPM_OPT_FLAGS"
|
%{__make} %{?jobs:-j%jobs} OPTFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install prefix=%{buildroot}/usr libdir=%{buildroot}/%{_lib}
|
make install prefix=%{buildroot}/usr libdir=%{buildroot}/%{_lib}
|
||||||
mkdir -p %{buildroot}%{_libdir}
|
mkdir -p %{buildroot}%{_libdir}
|
||||||
mv %{buildroot}/%{_lib}/libaio.a %{buildroot}%{_libdir}/libaio.a
|
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/%{name}.so) %{buildroot}%{_libdir}/%{name}.so
|
||||||
rm %{buildroot}/%{_lib}/libaio.so
|
%{__rm} -v %{buildroot}/%{_lib}/%{name}.so
|
||||||
ln -s ../../%{_lib}/libaio.so.1 %{buildroot}%{_libdir}/libaio.so
|
%{__rm} -v %{buildroot}/%{_lib}/%{name}.a
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -90,10 +90,12 @@ ln -s ../../%{_lib}/libaio.so.1 %{buildroot}%{_libdir}/libaio.so
|
|||||||
%files devel
|
%files devel
|
||||||
%defattr(644,root,root,755)
|
%defattr(644,root,root,755)
|
||||||
/usr/include/libaio.h
|
/usr/include/libaio.h
|
||||||
%_libdir/libaio.a
|
|
||||||
%_libdir/libaio.so
|
%_libdir/libaio.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 03 2009 crrodriguez@suse.de
|
||||||
|
- remove static libraries
|
||||||
|
- fix -devel package dependencies
|
||||||
* Wed Dec 10 2008 olh@suse.de
|
* Wed Dec 10 2008 olh@suse.de
|
||||||
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
|
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
|
||||||
(bnc#437293)
|
(bnc#437293)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user