Make if build again
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=313
This commit is contained in:
32
texlive.spec
32
texlive.spec
@@ -151,7 +151,10 @@ BuildRequires: potrace-devel
|
||||
BuildRequires: pwdutils
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: pkgconfig(gl)
|
||||
BuildRequires: pkgconfig(glew)
|
||||
BuildRequires: pkgconfig(glm)
|
||||
BuildRequires: pkgconfig(glu)
|
||||
BuildRequires: pkgconfig(gsl)
|
||||
BuildConflicts: texinfo
|
||||
BuildRequires: unzip
|
||||
BuildRequires: xaw3d-devel
|
||||
@@ -3611,16 +3614,6 @@ This package is required by the package texlive-biber-bin.
|
||||
tar --use-compress-program=xz -xf %{S:3}
|
||||
popd
|
||||
%endif
|
||||
if pkg-config --atleast-version=0.59 poppler
|
||||
then
|
||||
for cc in $(find -name '*newpoppler.cc')
|
||||
do
|
||||
test -e "$cc" || continue
|
||||
old=${cc/-newpoppler/}
|
||||
test -e "$old" && mv -fv $old $old.oldpoppler || :
|
||||
mv -fv $cc $old
|
||||
done
|
||||
fi
|
||||
|
||||
%patch1 -p0 -b .configure
|
||||
%patch2 -p0 -b .xdvizilla
|
||||
@@ -3665,6 +3658,25 @@ popd
|
||||
%patch57 -p1 -b .popplerdict
|
||||
%endif
|
||||
|
||||
if pkg-config --atleast-version=0.59 poppler
|
||||
then
|
||||
for cc in $(find -name '*newpoppler.cc')
|
||||
do
|
||||
test -e "$cc" || continue
|
||||
old=${cc/-newpoppler/}
|
||||
test -e "$old" && mv -fv $old $old.oldpoppler || :
|
||||
mv -fv $cc $old
|
||||
done
|
||||
pver=$(pkg-config --modversion poppler)
|
||||
for cc in $(find -name "*-poppler${pver}.cc")
|
||||
do
|
||||
test -e "$cc" || continue
|
||||
old=${cc/-poppler${pver}/}
|
||||
test -e "$old" && mv -fv $old $old.oldpoppler || :
|
||||
mv -fv $cc $old
|
||||
done
|
||||
fi
|
||||
|
||||
# Correct FHS paths
|
||||
paths=$(find -name cnf-to-paths.awk)
|
||||
test -n "$paths" || exit 1
|
||||
|
Reference in New Issue
Block a user