SHA256
1
0
forked from pool/paraview
Ana Guerrero 2024-01-24 18:05:08 +00:00 committed by Git OBS Bridge
commit fa866d9f06
3 changed files with 16 additions and 7 deletions

View File

@ -8,3 +8,6 @@ addFilter("devel-file-in-non-devel-package .*/usr/lib.*/paraview-[0-9.]*/plugins
# python3-matplotlib is not a lib # python3-matplotlib is not a lib
addFilter("python3-paraview.* explicit-lib-dependency python3-matplotlib") addFilter("python3-paraview.* explicit-lib-dependency python3-matplotlib")
# 0 size files are referenced in cmake files
addFilter("paraview-devel.* zero-length")

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Jan 19 13:38:42 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Do not delete zero-sized .cmake files, these are referenced from
other cmake files; use rpmlintrc rule to suppress warnings.
- Do not delete paraview-config script now that we have a
-devel-static package; instead include it as part of the latter.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 30 17:16:04 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com> Sat Sep 30 17:16:04 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package paraview # spec file for package paraview
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# 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
@ -262,12 +262,6 @@ sed -i "1{\@/usr/bin/env@d}" %{buildroot}%{python3_sitearch}/paraview/vtkmodules
install -Dm0644 %{S:2} %{buildroot}%{_datadir}/%{name}-%{short_ver}/doc/GettingStarted.pdf install -Dm0644 %{S:2} %{buildroot}%{_datadir}/%{name}-%{short_ver}/doc/GettingStarted.pdf
install -Dm0644 %{S:3} %{buildroot}%{_datadir}/%{name}-%{short_ver}/doc/Guide.pdf install -Dm0644 %{S:3} %{buildroot}%{_datadir}/%{name}-%{short_ver}/doc/Guide.pdf
# REMOVE paraview-config: DOESN'T WORK WITHOUT STATIC LIBS ANYWAY
rm %{buildroot}%{_bindir}/paraview-config
# Delete zero-length cmake files
find %{buildroot}%{_libdir}/cmake/paraview-%{short_ver}/ -size 0 -delete -print
%fdupes %{buildroot}/ %fdupes %{buildroot}/
%post -n %{shlib} -p /sbin/ldconfig %post -n %{shlib} -p /sbin/ldconfig
@ -277,6 +271,9 @@ find %{buildroot}%{_libdir}/cmake/paraview-%{short_ver}/ -size 0 -delete -print
%files %files
%license %{_datadir}/licenses/ParaView/ %license %{_datadir}/licenses/ParaView/
%{_bindir}/* %{_bindir}/*
# Part of paraview-devel-static
%exclude %{_bindir}/paraview-config
#
%exclude %{_bindir}/smTest* %exclude %{_bindir}/smTest*
%exclude %{_bindir}/vtk* %exclude %{_bindir}/vtk*
%{_datadir}/%{name}-%{short_ver}/ %{_datadir}/%{name}-%{short_ver}/
@ -306,6 +303,7 @@ find %{buildroot}%{_libdir}/cmake/paraview-%{short_ver}/ -size 0 -delete -print
%{_includedir}/%{name}* %{_includedir}/%{name}*
%files devel-static %files devel-static
%{_bindir}/paraview-config
%{_libdir}/*.a %{_libdir}/*.a
%files -n python3-paraview %files -n python3-paraview