Accepting request 557089 from Publishing:TeXLive

- Disable by a build conditions using zypper way of posttrans scripts
  as we already use %posttrans. Nevertheless correct naming scheme
  (boo#1069445)

OBS-URL: https://build.opensuse.org/request/show/557089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texlive-filesystem?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2017-12-16 19:48:14 +00:00 committed by Git OBS Bridge
commit eac6d9809c
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Nov 24 12:46:53 UTC 2017 - werner@suse.de
- Disable by a build conditions using zypper way of posttrans scripts
as we already use %posttrans. Nevertheless correct naming scheme
(boo#1069445)
-------------------------------------------------------------------
Thu Nov 23 13:51:29 UTC 2017 - rbrown@suse.com

View File

@ -31,6 +31,8 @@
%define __os_install_post /usr/lib/rpm/brp-compress \\\
%(ls /usr/lib/rpm/brp-suse.d/* 2> /dev/null | grep -vE 'symlink|desktop') %{nil}
%bcond_with zypper_posttrans
Name: texlive-filesystem
Version: %{texlive_version}.%{texlive_noarch}
Release: 0
@ -13862,10 +13864,12 @@ popd
%{_fontcache}/tfm/ root:%{texgrp} 1775
EOF
%if %{with zypper_posttrans}
sed -r 's@%%\{_texmfdistdir\}@%{_texmfdistdir}@' < %{S:42} > %{buildroot}%{_texmfdistdir}/texconfig/zypper.py
mkdir -p %{buildroot}/var/adm/update-scripts
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/%{name}-%{version}-%{release}-zypper
%endif
# enviroment
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
@ -14030,7 +14034,9 @@ rm -f /var/run/texlive/run-update
%dir %{_texmfdistdir}/xdvi/pixmap
%dir %{_texmfdistdir}/texconfig
%attr(0755,root,root) %{_texmfdistdir}/texconfig/update
%if %{with zypper_posttrans}
%attr(0755,root,root) %{_texmfdistdir}/texconfig/zypper.py
%endif
%dir %{_texmfdistdir}/asymptote
%dir %{_texmfdistdir}/asymptote/GUI
%dir %{_texmfdistdir}
@ -24194,7 +24200,9 @@ rm -f /var/run/texlive/run-update
%ghost %config(noreplace) %attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfvardir}/dist/ls-R
%ghost %config(noreplace) %attr(0664,root,%{texgrp}) %verify(not md5 size mtime mode) %{_texmfvardir}/main/ls-R
%{_fillupdir}/sysconfig.texlive
%if %{with zypper_posttrans}
/var/adm/update-scripts/%{name}-%{version}-%{release}-zypper
%endif
%files -n texlive-scheme-basic
%defattr(-,root,root,755)