Accepting request 669081 from home:jengelh:branches:devel:libraries:c_c++

- --with-pic is useless without static libs, remove it.
- Update RPM groups and descriptions.

OBS-URL: https://build.opensuse.org/request/show/669081
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libyaml?expand=0&rev=21
This commit is contained in:
Adam Majer 2019-01-28 13:43:34 +00:00 committed by Git OBS Bridge
parent 12cf39b97e
commit c5e5122d05
2 changed files with 11 additions and 8 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 28 13:21:05 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- --with-pic is useless without static libs, remove it.
- Update RPM groups and descriptions.
-------------------------------------------------------------------
Thu Jan 17 13:23:23 UTC 2019 - bjorn.lie@gmail.com

View File

@ -34,12 +34,10 @@ A YAML 1.1 parser and emitter written in C
%define lib_name libyaml-0-2
%package -n %{lib_name}
Summary: Shared library from libyaml
Group: Development/Libraries/C and C++
Summary: A YAML 1.1 parser and emitter written in C
Group: System/Libraries
%description -n %{lib_name}
A YAML 1.1 parser and emitter written in C
This package holds the shared library of libyaml.
%package devel
@ -48,16 +46,15 @@ Group: Development/Libraries/C and C++
Requires: %{lib_name} = %{version}
%description devel
A YAML 1.1 parser and emitter written in C
This package holds the development files for libyaml.
This package holds the development files for libyaml,
a YAML 1.1 parser and emitter written in C.
%prep
%setup -q -n yaml-%{version}
%patch -p1
%build
%configure --with-pic --disable-static
%configure --disable-static
make %{?_smp_mflags}
%install