SHA256
1
0
forked from pool/attr

Accepting request 639883 from Base:System

- update description for libattr-devel-static to make it less
  boilerplate

- Add libattr-devel-static subpackage

OBS-URL: https://build.opensuse.org/request/show/639883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/attr?expand=0&rev=41
This commit is contained in:
Dominique Leuenberger 2018-10-11 09:36:15 +00:00 committed by Git OBS Bridge
commit 871edbc288
2 changed files with 27 additions and 2 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Sep 11 09:50:05 UTC 2018 - dmueller@suse.com
- update description for libattr-devel-static to make it less
boilerplate
-------------------------------------------------------------------
Wed Sep 5 13:12:14 UTC 2018 - schwab@suse.de
- Add libattr-devel-static subpackage
-------------------------------------------------------------------
Sat Aug 25 18:33:52 UTC 2018 - jengelh@inai.de

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -62,13 +62,23 @@ 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
Summary: Static libraries for libattr development
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 static library of libattr which is needed for
staticallly linking to programs that make use of extended attributes.
%prep
%setup -q
%patch0 -p1
%build
%configure \
--disable-static \
--enable-static \
--disable-silent-rules
make %{?_smp_mflags}
@ -100,6 +110,10 @@ make %{?_smp_mflags} check
%{_libdir}/libattr.so
%{_mandir}/man3/*.3%{?ext_man}
%files -n libattr-devel-static
%defattr(-,root,root)
%{_libdir}/libattr.a
%files -n %{lname}
%license doc/COPYING*
%{_libdir}/libattr.so.1*