Accepting request 87865 from home:a_faerber:branches:Base:System
Add libattr-devel-static package for use with statically built QEMU. Despite a warning the new package actually contains libattr.a. OBS-URL: https://build.opensuse.org/request/show/87865 OBS-URL: https://build.opensuse.org/package/show/Base:System/attr?expand=0&rev=20
This commit is contained in:
parent
e93aea2016
commit
ba598b488b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 14 12:12:20 UTC 2011 - afaerber@suse.com
|
||||
|
||||
- Add libattr-devel-static package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 16 18:35:52 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
|
19
attr.spec
19
attr.spec
@ -77,6 +77,20 @@ programs which make use of extended attributes. For Linux programs, the
|
||||
documented system call API is the recommended interface, but an SGI
|
||||
IRIX compatibility interface is also provided.
|
||||
|
||||
%package -n libattr-devel-static
|
||||
License: GPLv2+ ; LGPLv2.1+
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
AutoReqProv: on
|
||||
Group: Development/Libraries/C and C++
|
||||
Provides: libattr-devel:%{_libdir}/libattr.a
|
||||
Requires: libattr-devel = %version
|
||||
|
||||
%description -n libattr-devel-static
|
||||
This package contains the libraries and header files needed to develop
|
||||
programs which make use of extended attributes. For Linux programs, the
|
||||
documented system call API is the recommended interface, but an SGI
|
||||
IRIX compatibility interface is also provided.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
@ -92,7 +106,6 @@ CFLAGS="$RPM_OPT_FLAGS" \
|
||||
--sbindir=/bin \
|
||||
--libdir=/%{_lib} \
|
||||
--libexecdir=/%{_libdir} \
|
||||
--disable-static \
|
||||
--with-pic
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
@ -153,6 +166,10 @@ chmod 755 $RPM_BUILD_ROOT/%{_lib}/libattr.so.1*
|
||||
%doc %attr(644,root,root) %{_mandir}/man3/attr_removef.3.gz*
|
||||
%doc %attr(644,root,root) %{_mandir}/man3/attr_setf.3.gz*
|
||||
|
||||
%files -n libattr-devel-static
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libattr.a
|
||||
|
||||
%files -n %lname
|
||||
%defattr (-,root,root)
|
||||
/%{_lib}/libattr.so.1*
|
||||
|
Loading…
Reference in New Issue
Block a user