Accepting request 254082 from home:jengelh:dev

- Make doc subpackage noarch; improve on RPM group classification

OBS-URL: https://build.opensuse.org/request/show/254082
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libconfig?expand=0&rev=13
This commit is contained in:
Cristian Rodríguez 2014-10-06 03:01:27 +00:00 committed by Git OBS Bridge
parent 0c1230b464
commit 837c34a36d
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Oct 5 22:19:54 UTC 2014 - jengelh@inai.de
- Make doc subpackage noarch; improve on RPM group classification
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Dec 29 15:50:18 UTC 2012 - p.drouand@gmail.com Sat Dec 29 15:50:18 UTC 2012 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package libconfig # spec file for package libconfig
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2014 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
@ -16,7 +16,6 @@
# #
#
%define docbuild 0 %define docbuild 0
Name: libconfig Name: libconfig
@ -25,8 +24,9 @@ Release: 0
%define _soversion 9 %define _soversion 9
Summary: A simple library for manipulating structured configuration files Summary: A simple library for manipulating structured configuration files
License: LGPL-2.1+ License: LGPL-2.1+
Group: System/Libraries Group: Development/Libraries/C and C++
Url: http://www.hyperrealm.com/main.php?s=libconfig Url: http://www.hyperrealm.com/main.php?s=libconfig
Source0: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz Source0: http://www.hyperrealm.com/libconfig/libconfig-%{version}.tar.gz
Source1: baselibs.conf Source1: baselibs.conf
BuildRequires: bison BuildRequires: bison
@ -101,7 +101,6 @@ application code.
This package contains the shared libraries for libconfig. This package contains the shared libraries for libconfig.
%package -n libconfig++-devel %package -n libconfig++-devel
Summary: C++-Bindings development files for libconfig Summary: C++-Bindings development files for libconfig
Group: Development/Languages/C and C++ Group: Development/Languages/C and C++
Requires: libconfig++%{_soversion} = %{version} Requires: libconfig++%{_soversion} = %{version}
@ -121,6 +120,9 @@ This package contains the C++-bindings development files.
%package doc %package doc
Summary: Documentation files for libconfig Summary: Documentation files for libconfig
Group: Documentation/Other Group: Documentation/Other
%if 0%{?suse_version} >= 1130
BuildArch: noarch
%endif
%description doc %description doc
Documentation files for package libconfig. Documentation files for package libconfig.
@ -142,7 +144,7 @@ make pdf
# clean up # clean up
pushd examples pushd examples
make clean make clean
find . -name '*.vcproj' -o -name '.deps' |xargs rm -r find . -name '*.vcproj' -o -name '.deps' -exec rm -Rf '{}' '+'
popd popd
rm %{buildroot}%{_libdir}/*.{l,}a rm %{buildroot}%{_libdir}/*.{l,}a
%fdupes -s examples %{buildroot}%{_docdir} %fdupes -s examples %{buildroot}%{_docdir}