From 8aa208fa06d73d892dfaadbad8ad7d245dd330839672b6236d44ae59c5b6cbac Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Thu, 14 Feb 2019 09:13:12 +0000 Subject: [PATCH] - mark examples as a noarch package - install license for examples and remove unnecessary dependencies - add an examples sub package to test in production env OBS-URL: https://build.opensuse.org/package/show/science/gsl?expand=0&rev=22 --- gsl.changes | 8 +++++++- gsl.spec | 12 ++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/gsl.changes b/gsl.changes index ae059ee..acc68e1 100644 --- a/gsl.changes +++ b/gsl.changes @@ -1,7 +1,13 @@ +------------------------------------------------------------------- +Thu Feb 14 09:00:22 UTC 2019 - adam.majer@suse.de + +- mark examples as a noarch package +- install license for examples and remove unnecessary dependencies + ------------------------------------------------------------------- Wed Feb 13 08:51:31 UTC 2019 - Antoine Ginies -- add an examples sub package to tet in production env +- add an examples sub package to test in production env ------------------------------------------------------------------- Mon Feb 11 19:09:54 UTC 2019 - Egbert Eich diff --git a/gsl.spec b/gsl.spec index 7ee81ef..e4abe10 100644 --- a/gsl.spec +++ b/gsl.spec @@ -189,11 +189,11 @@ high level languages. %{?with_hpc:%{hpc_master_package -L devel}} -%package doc +%package doc Summary: Documentation for the GNU Scientific Library Group: Documentation/Other -Requires(post): %{install_info_prereq} -Requires(preun): %{install_info_prereq} +Requires(post): %{install_info_prereq} +Requires(preun):%{install_info_prereq} %description doc This package contains documentation for GSL @@ -209,8 +209,7 @@ high level languages. %package examples Summary: Examples for the GNU Scientific Library Group: Documentation/Other -Requires(post): %{install_info_prereq} -Requires(preun): %{install_info_prereq} +BuildArch: noarch %description examples This package contains GSL examples GSL @@ -265,7 +264,7 @@ make %{?_smp_mflags} check || ( find -name \*.log -print -exec cat {} \; ; exit # Clean up to package directory make -C doc/examples clean chmod a-x doc/examples/* -rm doc/examples/Makefile.* +rm doc/examples/Makefile* %install %{?with_hpc:%hpc_setup} @@ -391,6 +390,7 @@ EOF %files examples %doc doc/examples +%license COPYING %files doc %doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO