From 7dbc1c87ce31c4bd1f68a142649f2affd17b2ca972932a52840dfb5d137a0342 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 18 Jan 2022 16:32:54 +0000 Subject: [PATCH] Accepting request 947265 from home:tiwai:branches:multimedia:libs - Don't install half-baked cmake files (bsc#1194728): the files are incomplete and useless with the build using auto-tools OBS-URL: https://build.opensuse.org/request/show/947265 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/fftw3?expand=0&rev=94 --- fftw3.changes | 6 ++++++ fftw3.spec | 12 +++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/fftw3.changes b/fftw3.changes index d400a98..be4fa03 100644 --- a/fftw3.changes +++ b/fftw3.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 18 17:01:55 CET 2022 - tiwai@suse.de + +- Don't install half-baked cmake files (bsc#1194728): + the files are incomplete and useless with the build using auto-tools + ------------------------------------------------------------------- Sun Dec 5 20:52:00 UTC 2021 - Dirk Müller diff --git a/fftw3.spec b/fftw3.spec index 2109787..744d013 100644 --- a/fftw3.spec +++ b/fftw3.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package fftw3 # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -679,6 +679,9 @@ EOF %fdupes -s doc +# cmake files are incomplete and useless when installed via auto-tools (bsc#1194728) +rm -rf %{buildroot}%{package_libdir}/cmake + %preun devel %install_info_delete --info-dir=%{package_infodir} %{package_infodir}/fftw3.info.gz @@ -758,8 +761,6 @@ EOF %doc AUTHORS CONVENTIONS COPYRIGHT ChangeLog NEWS README TODO %doc doc/* %doc %{package_mandir}/man?/* -%dir %package_libdir/cmake -%dir %package_libdir/cmake/%{pname} %{package_infodir}/*.info* %{package_includedir}/fftw3.* %{package_includedir}/fftw3q.f03 @@ -768,9 +769,6 @@ EOF %{package_libdir}/libfftw3f.so %{package_libdir}/libfftw3l.so %{package_libdir}/pkgconfig/*.pc -%dir %package_libdir/cmake -%dir %package_libdir/cmake/%{pname} -%{package_libdir}/cmake/%{pname}/FFTW3*.cmake %{package_bindir}/* %if %{without hpc}