Accepting request 417266 from home:badshah400:branches:science

- Enable octave bindings for openSUSE >= 13.2; builds just fine
  now.

OBS-URL: https://build.opensuse.org/request/show/417266
OBS-URL: https://build.opensuse.org/package/show/science/plplot?expand=0&rev=68
This commit is contained in:
Matthias Mailänder
2016-08-06 17:21:55 +00:00
committed by Git OBS Bridge
parent 1d9b84c701
commit 0de8c7b687
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Aug 6 14:25:12 UTC 2016 - badshah400@gmail.com
- Enable octave bindings for openSUSE >= 13.2; builds just fine
now.
-------------------------------------------------------------------
Sat Aug 6 13:50:06 UTC 2016 - badshah400@gmail.com

View File

@@ -527,7 +527,7 @@ cmake \
-DPL_FREETYPE_FONT_PATH:PATH="%{_datadir}/fonts/truetype" \\\
-DUSE_RPATH:BOOL=OFF \\\
-DENABLE_ada:BOOL=ON \\\
%if 0%{?suse_version} == 1315 || 0%{?suse_version} > 1320
%if 0%{?suse_version} == 1315
-DENABLE_octave:BOOL=OFF \\\
%else
-DENABLE_octave:BOOL=ON \\\
@@ -835,7 +835,7 @@ rm -fr %{buildroot}%{_libdir}/libplf95*.a
%{_libdir}/plplot%{version}/drivers/qt.driver_info
%{_libdir}/plplot%{version}/drivers/qt.so
%if 0%{?suse_version} != 1315 && 0%{?suse_version} <= 1320
%if 0%{?suse_version} != 1315
%files octave
%defattr(-,root,root)
%{_datadir}/%{name}_octave/