forked from pool/texlive
posttrans as well as Mesa pkgconfig and % expansion
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=265
This commit is contained in:
parent
255e71ef0c
commit
7b286be809
@ -12,6 +12,13 @@ Thu Dec 7 11:20:45 UTC 2017 - dimstar@opensuse.org
|
|||||||
- Escape the usage of %{VERSION} when calling out to rpm.
|
- Escape the usage of %{VERSION} when calling out to rpm.
|
||||||
RPM 4.14 has %{VERSION} defined as 'the main packages version'.
|
RPM 4.14 has %{VERSION} defined as 'the main packages version'.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 14 16:41:11 UTC 2017 - werner@suse.de
|
Tue Nov 14 16:41:11 UTC 2017 - werner@suse.de
|
||||||
|
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
%endif
|
%endif
|
||||||
%global perl_versnum %(rpm -q --qf '%%{VERSION}' perl | sed 's/\\.//g')
|
%global perl_versnum %(rpm -q --qf '%%{VERSION}' perl | sed 's/\\.//g')
|
||||||
|
|
||||||
|
%bcond_with zypper_posttrans
|
||||||
|
|
||||||
#
|
#
|
||||||
# LuaJIT -- does not build nor support all architectures
|
# LuaJIT -- does not build nor support all architectures
|
||||||
# Current status is available at https://github.com/LuaJIT/LuaJIT
|
# Current status is available at https://github.com/LuaJIT/LuaJIT
|
||||||
@ -3999,9 +4001,10 @@ fi
|
|||||||
mv -f %{buildroot}%{_bindir}/$mktex %{buildroot}%{_libexecdir}/mktex/
|
mv -f %{buildroot}%{_bindir}/$mktex %{buildroot}%{_libexecdir}/mktex/
|
||||||
ln -sf %{_libexecdir}/mktex/public %{buildroot}%{_bindir}/$mktex
|
ln -sf %{_libexecdir}/mktex/public %{buildroot}%{_bindir}/$mktex
|
||||||
done
|
done
|
||||||
|
%if %{with zypper_posttrans}
|
||||||
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
|
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
|
||||||
%{buildroot}/var/adm/update-scripts/%{name}-%{version}-%{release}-zypper
|
%{buildroot}/var/adm/update-scripts/%{name}-%{version}-%{release}-zypper
|
||||||
|
%endif
|
||||||
|
|
||||||
pushd ${prefix}/lib/pkgconfig/
|
pushd ${prefix}/lib/pkgconfig/
|
||||||
for pc in kpathsea ptexenc texlua52 texluajit synctex
|
for pc in kpathsea ptexenc texlua52 texluajit synctex
|
||||||
@ -4080,7 +4083,9 @@ rm -f /var/run/texlive/run-update
|
|||||||
#%config(noreplace) %verify(not md5 size mtime) %{_texmfconfdir}/web2c/texmfcnf.lua
|
#%config(noreplace) %verify(not md5 size mtime) %{_texmfconfdir}/web2c/texmfcnf.lua
|
||||||
#%verify(link) %{_texmfmaindir}/web2c/texmfcnf.lua
|
#%verify(link) %{_texmfmaindir}/web2c/texmfcnf.lua
|
||||||
%{_mandir}/man8/public.*
|
%{_mandir}/man8/public.*
|
||||||
|
%if %{with zypper_posttrans}
|
||||||
%verify(link) /var/adm/update-scripts/%{name}-%{version}-%{release}-zypper
|
%verify(link) /var/adm/update-scripts/%{name}-%{version}-%{release}-zypper
|
||||||
|
%endif
|
||||||
|
|
||||||
%files a2ping-bin
|
%files a2ping-bin
|
||||||
%defattr(-,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
|
Loading…
Reference in New Issue
Block a user