SHA256
1
0
forked from pool/apfel
Ana Guerrero 2024-02-23 15:46:50 +00:00 committed by Git OBS Bridge
commit 6ea2a45e7c
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 23 09:14:02 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Remove README in one possible location where cmake
would potentially install it to.
-------------------------------------------------------------------
Thu Dec 28 13:37:17 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package apfel
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -42,7 +42,7 @@ BuildRequires: python-rpm-macros
BuildRequires: swig
Requires: python-LHAPDF
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
%python_subpackages
%description
@ -127,6 +127,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
sed -Ei "1{s|#\!\s*%{_bindir}/env bash|#\!/bin/bash|}" %{buildroot}%{_bindir}/apfel-config
# REMOVE INSTALLED README, INSTALL IT USING %%doc INSTEAD
rm -fr %{buildroot}%{_docdir}/%{name}/README
rm -fr %{buildroot}%{_datadir}/doc/apfel/README
rm -fr %{buildroot}%{_datadir}/apfel/README