- 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
This commit is contained in:
Adam Majer 2019-02-14 09:13:12 +00:00 committed by Git OBS Bridge
parent e1d59a9200
commit 8aa208fa06
2 changed files with 13 additions and 7 deletions

View File

@ -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 <aginies@suse.com>
- 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 <eich@suse.com>

View File

@ -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