From e4eb9b26e0fab871f9a8bc58bd5014f612a848790eef5ce432cbe2dded914d2c Mon Sep 17 00:00:00 2001 From: Philipp Thomas Date: Wed, 16 Jun 2010 12:48:18 +0000 Subject: [PATCH] - Noarch sub packages only doable from 11.2 on up. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=31 --- boost.changes | 5 +++++ boost.spec | 41 ++++++++++------------------------------- 2 files changed, 15 insertions(+), 31 deletions(-) diff --git a/boost.changes b/boost.changes index 1c9f7ca..82aafd2 100644 --- a/boost.changes +++ b/boost.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 16 14:46:52 CEST 2010 - pth@suse.de + +- Noarch sub packages only doable from 11.2 on up. + ------------------------------------------------------------------- Thu Jun 10 09:02:34 UTC 2010 - wittemar@googlemail.com diff --git a/boost.spec b/boost.spec index 1f34419..33b3481 100644 --- a/boost.spec +++ b/boost.spec @@ -63,7 +63,7 @@ BuildRequires: docbook docbook-xsl-stylesheets doxygen python-devel texlive-lat BuildRequires: fdupes %endif Url: http://www.boost.org -License: BSD3c +License: BSD 3-Clause Group: Development/Libraries/C and C++ Summary: Boost C++ Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -87,6 +87,7 @@ Patch50: boost-use_std_xml_catalog.patch Patch51: boost-fix_documentation.patch Recommends: %{all_libs} + %define _docdir %{_datadir}/doc/packages/boost-%{version} %description @@ -124,15 +125,15 @@ the documentation packages (html, man or pdf). %package -n boost-license%{lib_appendix} - - License: BSD3c Summary: Boost License Group: Development/Libraries/C and C++ AutoReqProv: on Provides: boost-license = %{version}-%{release} Obsoletes: boost-license < %{version} +%if 0%{?suse_version} >= 1120 BuildArch: noarch +%endif %description -n boost-license%{lib_appendix} This package contains the license boost is provided under. @@ -144,7 +145,9 @@ License: BSD3c Summary: Documentation for the Boost C++ Libraries Group: Development/Libraries/C and C++ AutoReqProv: on +%if 0%{?suse_version} >= 1120 BuildArch: noarch +%endif %description doc-html This package contains the documentation of the boost dynamic libraries @@ -157,7 +160,9 @@ License: BSD3c Summary: Documentation for the Boost C++ Libraries Group: Development/Libraries/C and C++ AutoReqProv: on +%if 0%{?suse_version} >= 1120 BuildArch: noarch +%endif %description doc-man This package contains the documentation of the boost dynamic libraries @@ -170,7 +175,9 @@ License: BSD3c Summary: Documentation for the Boost C++ Libraries Group: Development/Libraries/C and C++ AutoReqProv: on +%if 0%{?suse_version} >= 1120 BuildArch: noarch +%endif %description doc-pdf This package contains the documentation of the boost dynamic libraries @@ -179,8 +186,6 @@ in PDF format. %package -n libboost_date_time%{lib_appendix} - - License: BSD3c Summary: Boost::Date.Time Runtime libraries Group: System/Libraries @@ -193,8 +198,6 @@ This package contains the Boost Date.Time runtime libraries. %package -n libboost_filesystem%{lib_appendix} - - License: BSD3c Summary: Boost::Filesystem Runtime Libraries Group: System/Localization @@ -207,8 +210,6 @@ This package contains the Boost::Filesystem libraries. %package -n libboost_graph%{lib_appendix} - - License: BSD3c Summary: Boost::Graph Runtime Libraries Group: System/Libraries @@ -221,8 +222,6 @@ This package contains the Boost::Graph Runtime libraries. %package -n libboost_iostreams%{lib_appendix} - - License: BSD3c Summary: Boost::IOStreams Runtime Libraries Group: System/Libraries @@ -235,8 +234,6 @@ This package contains the Boost::IOStreams Runtime libraries. %package -n libboost_math%{lib_appendix} - - License: BSD3c Summary: Boost::Math Runtime Libraries Group: System/Libraries @@ -250,8 +247,6 @@ This package contains the Boost::Math Runtime libraries. %if %build_mpi %package -n libboost_mpi%{lib_appendix} - - License: BSD3c Summary: Boost::MPI Runtime libraries Group: System/Libraries @@ -278,8 +273,6 @@ This package contains the Boost::Test runtime libraries. %package -n libboost_program_options%{lib_appendix} - - License: BSD3c Summary: Boost::ProgramOptions Runtime libraries Group: System/Libraries @@ -292,8 +285,6 @@ This package contains the Boost::ProgramOptions Runtime libraries. %package -n libboost_python%{lib_appendix} - - License: BSD3c Summary: Boost::Python Runtime Libraries Group: System/Libraries @@ -306,8 +297,6 @@ This package contains the Boost::Python Runtime libraries. %package -n libboost_serialization%{lib_appendix} - - License: BSD3c Summary: Boost::Serialization Runtime Libraries Group: System/Libraries @@ -320,8 +309,6 @@ This package contains the Boost::Serialization Runtime libraries. %package -n libboost_signals%{lib_appendix} - - License: BSD3c Summary: Boost::Signals Runtime Libraries Group: System/Libraries @@ -334,8 +321,6 @@ This package contains the Boost::Signals Runtime libraries. %package -n libboost_system%{lib_appendix} - - License: BSD3c Summary: Boost::System Runtime Libraries Group: System/Libraries @@ -348,8 +333,6 @@ This package contains the Boost::System runtime libraries. %package -n libboost_thread%{lib_appendix} - - License: BSD3c Summary: Boost::Thread Runtime Libraries Group: System/Libraries @@ -362,8 +345,6 @@ This package contains the Boost::Thread runtime libraries. %package -n libboost_wave%{lib_appendix} - - License: BSD3c Summary: Boost::Wave Runtime Libraries Group: System/Libraries @@ -376,8 +357,6 @@ This package contains the Boost::Wave runtime libraries. %package -n libboost_regex%{lib_appendix} - - License: BSD3c Summary: The Boost::Regex runtime library Group: System/Libraries