Accepting request 151322 from Publishing:TeXLive

- Work around missing support of %posttrans scriptlets in libzypp
  due missing rpm option for not to execute those scriptlets (bnc#773575)

OBS-URL: https://build.opensuse.org/request/show/151322
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texlive?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2013-02-07 09:49:19 +00:00 committed by Git OBS Bridge
commit 81c1a72b2b
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 5 09:08:31 UTC 2013 - werner@suse.de
- Work around missing support of %posttrans scriptlets in libzypp
due missing rpm option for not to execute those scriptlets (bnc#773575)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 21 09:00:17 UTC 2012 - werner@suse.de Fri Dec 21 09:00:17 UTC 2012 - werner@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package texlive # spec file for package texlive
# #
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# 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
@ -18,7 +18,7 @@
%define texlive_version 2012 %define texlive_version 2012
%define texlive_release 20120611 %define texlive_release 20120611
%define texlive_noarch 59 %define texlive_noarch 61
%define texlive_source texlive-20120611-source %define texlive_source texlive-20120611-source
%define __perl_requires %{nil} %define __perl_requires %{nil}
@ -2335,6 +2335,7 @@ development packages for TeXLive.
mkdir -p %{buildroot}%{_fontcache}/source mkdir -p %{buildroot}%{_fontcache}/source
mkdir -p %{buildroot}%{_fontcache}/tfm mkdir -p %{buildroot}%{_fontcache}/tfm
mkdir -p %{buildroot}%{_appdefdir} mkdir -p %{buildroot}%{_appdefdir}
mkdir -p %{buildroot}/var/adm/update-scripts
pushd ${prefix}/bin/ pushd ${prefix}/bin/
tar -cspSf - . | tar -xvspSf - -C %{buildroot}%{_bindir}/ tar -cspSf - . | tar -xvspSf - -C %{buildroot}%{_bindir}/
@ -2477,6 +2478,9 @@ development packages for TeXLive.
ln -sf %{_libexecdir}/mktex/public %{buildroot}%{_bindir}/$mktex ln -sf %{_libexecdir}/mktex/public %{buildroot}%{_bindir}/$mktex
done done
ln -sf %{_texmfmaindir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/%{name}-%{version}-%{release}-zypper
%if %{defined verify_permissions} %if %{defined verify_permissions}
%verifyscript kpathsea-bin %verifyscript kpathsea-bin
%verify_permissions -e %{_libexecdir}/mktex/public %verify_permissions -e %{_libexecdir}/mktex/public
@ -2503,6 +2507,7 @@ if test $1 = 1; then
fi fi
%posttrans %posttrans
test -z "$ZYPP_IS_RUNNING" || exit 0
VERBOSE=false %{_texmfmaindir}/texconfig/update || : VERBOSE=false %{_texmfmaindir}/texconfig/update || :
%post -n libkpathsea6 -p /sbin/ldconfig %post -n libkpathsea6 -p /sbin/ldconfig
@ -2521,6 +2526,7 @@ VERBOSE=false %{_texmfmaindir}/texconfig/update || :
#%verify(link) %{_texmfmaindir}/web2c/fmtutil.cnf #%verify(link) %{_texmfmaindir}/web2c/fmtutil.cnf
#%verify(link) %{_texmfmaindir}/web2c/texmf.cnf #%verify(link) %{_texmfmaindir}/web2c/texmf.cnf
%{_mandir}/man8/public.* %{_mandir}/man8/public.*
%verify(link) /var/adm/update-scripts/%{name}-%{version}-%{release}-zypper
%files a2ping-bin %files a2ping-bin
%defattr(-,root,root,755) %defattr(-,root,root,755)