From 99f30b23779c3a6d6d80b3ddf6e4d5150373e748c8981ac69cc9ba8516f61ead Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 6 Sep 2018 03:30:14 +0000 Subject: [PATCH 1/3] Accepting request 633477 from home:Andreas_Schwab:Factory - Add libattr-devel-static subpackage OBS-URL: https://build.opensuse.org/request/show/633477 OBS-URL: https://build.opensuse.org/package/show/Base:System/attr?expand=0&rev=47 --- attr.changes | 5 +++++ attr.spec | 16 +++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/attr.changes b/attr.changes index f522444..2db8973 100644 --- a/attr.changes +++ b/attr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/attr.spec b/attr.spec index 5c9d7a1..9f5298f 100644 --- a/attr.spec +++ b/attr.spec @@ -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: Include Files and Libraries mandatory for 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 to develop +statically linked programs which 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* From 721cab21d09a7a0b9e076fcd2a75f74713e82c528b105ac2d42b98d428dcc045 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 11 Sep 2018 09:50:26 +0000 Subject: [PATCH 2/3] - update description for libattr-devel-static to make it less boilerplate OBS-URL: https://build.opensuse.org/package/show/Base:System/attr?expand=0&rev=48 --- attr.changes | 6 ++++++ attr.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/attr.changes b/attr.changes index 2db8973..a2b49ef 100644 --- a/attr.changes +++ b/attr.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/attr.spec b/attr.spec index 9f5298f..6f304ed 100644 --- a/attr.spec +++ b/attr.spec @@ -69,8 +69,8 @@ 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 to develop -statically linked programs which make use of extended attributes. +This package contains the static library of libattr which is needed for +staticallly linking to programes that make use of extended attributes. %prep %setup -q From dadd6a4a0af31cb1fd13184b71a15b3fdd1302d55ae5ac4f46245ca284a0fa0e Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 4 Oct 2018 07:47:15 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/Base:System/attr?expand=0&rev=49 --- attr.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/attr.spec b/attr.spec index 6f304ed..253a0dd 100644 --- a/attr.spec +++ b/attr.spec @@ -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/ # @@ -63,14 +63,14 @@ documented system call API is the recommended interface, but an SGI IRIX compatibility interface is also provided. %package -n libattr-devel-static -Summary: Include Files and Libraries mandatory for Development +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 programes that make use of extended attributes. +staticallly linking to programs that make use of extended attributes. %prep %setup -q