forked from pool/texlive-specs-c
More fine tuning to catch all python3 shebangs
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-specs-c?expand=0&rev=121
This commit is contained in:
parent
9ae5de8726
commit
9e38f06522
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 3 08:09:23 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- More fine tuning to catch all python3 shebangs
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 27 13:38:11 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
Thu Jun 27 13:38:11 UTC 2024 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package texlive-specs-c
|
# spec file for package texlive-specs-c.spec
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
@ -14,12 +14,13 @@
|
|||||||
|
|
||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
##### WARNING: Please do not edit this auto generated spec file.
|
||||||
|
#
|
||||||
|
|
||||||
%define texlive_version 2024
|
%define texlive_version 2024
|
||||||
%define texlive_previous 2022
|
%define texlive_previous 2022
|
||||||
%define texlive_release 20240311
|
%define texlive_release 20240311
|
||||||
%define texlive_noarch 215
|
%define texlive_noarch 216
|
||||||
%define biber_version 2.19
|
%define biber_version 2.19
|
||||||
|
|
||||||
#!BuildIgnore: texlive
|
#!BuildIgnore: texlive
|
||||||
@ -73,7 +74,7 @@ BuildRequires: xorg-x11-fonts-core
|
|||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Summary: Meta package for c
|
Summary: Meta package for c
|
||||||
License: Artistic-2.0 AND GPL-2.0-or-later AND BSD-3-Clause AND GPL-2.0-or-later AND LPPL-1.0 AND SUSE-Public-Domain AND SUSE-TeX
|
License: Artistic-2.0 and GPL-2.0-or-later and BSD-3-Clause and GPL-2.0-or-later and LPPL-1.0 and SUSE-Public-Domain and SUSE-TeX
|
||||||
URL: https://build.opensuse.org/package/show/Publishing:TeXLive/Meta
|
URL: https://build.opensuse.org/package/show/Publishing:TeXLive/Meta
|
||||||
Group: Productivity/Publishing/TeX/Base
|
Group: Productivity/Publishing/TeX/Base
|
||||||
Source0: texlive-specs-c-rpmlintrc
|
Source0: texlive-specs-c-rpmlintrc
|
||||||
@ -20620,7 +20621,6 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
|||||||
ed %{buildroot}/${scr} <<-'EOF'
|
ed %{buildroot}/${scr} <<-'EOF'
|
||||||
1
|
1
|
||||||
s@/env[[:blank:]]\+@/@
|
s@/env[[:blank:]]\+@/@
|
||||||
g/python/s@python[23]\?[^\s]*@python%python3_bin_suffix@
|
|
||||||
.
|
.
|
||||||
w
|
w
|
||||||
q
|
q
|
||||||
@ -20701,7 +20701,6 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
|||||||
ed %{buildroot}/${scr} <<-'EOF'
|
ed %{buildroot}/${scr} <<-'EOF'
|
||||||
1
|
1
|
||||||
s@/env[[:blank:]]\+@/@
|
s@/env[[:blank:]]\+@/@
|
||||||
g/python/s@python[23]\?[^\s]*@python%python3_bin_suffix@
|
|
||||||
.
|
.
|
||||||
w
|
w
|
||||||
q
|
q
|
||||||
@ -20763,6 +20762,18 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
|||||||
test -e %{buildroot}/$scr || continue
|
test -e %{buildroot}/$scr || continue
|
||||||
chmod 0755 %{buildroot}/$scr
|
chmod 0755 %{buildroot}/$scr
|
||||||
done
|
done
|
||||||
|
# Extend python3 scripts with major version only if any
|
||||||
|
for scr in %{_texmfdistdir}/doc/latex/biblatex-gb7714-2015/makeall.py
|
||||||
|
do
|
||||||
|
test -e %{buildroot}/$scr || continue
|
||||||
|
ed %{buildroot}/${scr} <<-'EOF'
|
||||||
|
1
|
||||||
|
s@python3@python%python3_bin_suffix@
|
||||||
|
.
|
||||||
|
w
|
||||||
|
q
|
||||||
|
EOF
|
||||||
|
done
|
||||||
# Avoid /usr/bin/env <prog>
|
# Avoid /usr/bin/env <prog>
|
||||||
for scr in %{_texmfdistdir}/doc/latex/biblatex-gb7714-2015/makeall.py
|
for scr in %{_texmfdistdir}/doc/latex/biblatex-gb7714-2015/makeall.py
|
||||||
do
|
do
|
||||||
@ -20770,7 +20781,6 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
|||||||
ed %{buildroot}/${scr} <<-'EOF'
|
ed %{buildroot}/${scr} <<-'EOF'
|
||||||
1
|
1
|
||||||
s@/env[[:blank:]]\+@/@
|
s@/env[[:blank:]]\+@/@
|
||||||
g/python/s@python[23]\?[^\s]*@python%python3_bin_suffix@
|
|
||||||
.
|
.
|
||||||
w
|
w
|
||||||
q
|
q
|
||||||
@ -20894,7 +20904,6 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
|
|||||||
ed %{buildroot}/${scr} <<-'EOF'
|
ed %{buildroot}/${scr} <<-'EOF'
|
||||||
1
|
1
|
||||||
s@/env[[:blank:]]\+@/@
|
s@/env[[:blank:]]\+@/@
|
||||||
g/python/s@python[23]\?[^\s]*@python%python3_bin_suffix@
|
|
||||||
.
|
.
|
||||||
w
|
w
|
||||||
q
|
q
|
||||||
|
Loading…
Reference in New Issue
Block a user