SHA256
1
0
forked from pool/apfel

Accepting request 1149753 from home:dimstar:Factory

- Remove README in one possible location where cmake
  would potentially install it to.

OBS-URL: https://build.opensuse.org/request/show/1149753
OBS-URL: https://build.opensuse.org/package/show/science/apfel?expand=0&rev=41
This commit is contained in:
Atri Bhattacharya 2024-02-23 11:38:35 +00:00 committed by Git OBS Bridge
parent 7debd70c0f
commit 8ea51069a3
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> Thu Dec 28 13:37:17 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package apfel # 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 # 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
@ -42,7 +42,7 @@ BuildRequires: python-rpm-macros
BuildRequires: swig BuildRequires: swig
Requires: python-LHAPDF Requires: python-LHAPDF
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
%python_subpackages %python_subpackages
%description %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 sed -Ei "1{s|#\!\s*%{_bindir}/env bash|#\!/bin/bash|}" %{buildroot}%{_bindir}/apfel-config
# REMOVE INSTALLED README, INSTALL IT USING %%doc INSTEAD # 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}/doc/apfel/README
rm -fr %{buildroot}%{_datadir}/apfel/README rm -fr %{buildroot}%{_datadir}/apfel/README