diff --git a/texlive.changes b/texlive.changes index af0139e..acf0dd7 100644 --- a/texlive.changes +++ b/texlive.changes @@ -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 diff --git a/texlive.spec b/texlive.spec index 9fffb09..68579a7 100644 --- a/texlive.spec +++ b/texlive.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define texlive_version 2012 %define texlive_release 20120611 -%define texlive_noarch 59 +%define texlive_noarch 61 %define texlive_source texlive-20120611-source %define __perl_requires %{nil} @@ -2335,6 +2335,7 @@ development packages for TeXLive. mkdir -p %{buildroot}%{_fontcache}/source mkdir -p %{buildroot}%{_fontcache}/tfm mkdir -p %{buildroot}%{_appdefdir} + mkdir -p %{buildroot}/var/adm/update-scripts pushd ${prefix}/bin/ tar -cspSf - . | tar -xvspSf - -C %{buildroot}%{_bindir}/ @@ -2477,6 +2478,9 @@ development packages for TeXLive. ln -sf %{_libexecdir}/mktex/public %{buildroot}%{_bindir}/$mktex done + ln -sf %{_texmfmaindir}/texconfig/zypper.py \ + %{buildroot}/var/adm/update-scripts/%{name}-%{version}-%{release}-zypper + %if %{defined verify_permissions} %verifyscript kpathsea-bin %verify_permissions -e %{_libexecdir}/mktex/public @@ -2503,6 +2507,7 @@ if test $1 = 1; then fi %posttrans +test -z "$ZYPP_IS_RUNNING" || exit 0 VERBOSE=false %{_texmfmaindir}/texconfig/update || : %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/texmf.cnf %{_mandir}/man8/public.* +%verify(link) /var/adm/update-scripts/%{name}-%{version}-%{release}-zypper %files a2ping-bin %defattr(-,root,root,755)