Accepting request 184165 from Publishing:TeXLive

Indeed

OBS-URL: https://build.opensuse.org/request/show/184165
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texlive?expand=0&rev=8
This commit is contained in:
Stephan Kulow
2013-07-24 13:10:30 +00:00
committed by Git OBS Bridge
2 changed files with 41 additions and 17 deletions

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Jul 17 08:54:11 UTC 2013 - werner@suse.de
- Use PreReq for own packages instead of Requires(pre)
-------------------------------------------------------------------
Tue Jul 16 12:36:45 UTC 2013 - werner@suse.de
- Let texlive-biber require perl(LWP::UserAgent) to be able to
read system based certificates
- New rpm had removed "prereq" flag from installation script bits
that is that `Requires(prereq)' is not valid anymore :(((
-------------------------------------------------------------------
Thu May 16 09:35:39 CEST 2013 - mhrusecky@suse.cz

View File

@@ -19,7 +19,7 @@
%define texlive_version 2012
%define texlive_previous 2011
%define texlive_release 20120611
%define texlive_noarch 66
%define texlive_noarch 67
%define texlive_source texlive-20120611-source
%define __perl_requires %{nil}
@@ -53,21 +53,27 @@ Summary: The TeXLive Formatting System
License: GPL-2.0+ and GPL-2.0 and GPL-3.0 and LPPL-1.3c and LPPL-1.0 and Artistic-1.0 and Apache-2.0 and MIT and BSD-3-Clause and SUSE-TeX and SUSE-Public-Domain
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
Requires(prereq): /usr/bin/perl
Requires(prereq): /usr/bin/clear
Requires(prereq): /usr/bin/dialog
Requires(prereq): coreutils
Requires(prereq): ed
Requires(prereq): findutils
Requires(prereq): grep
Requires(prereq): sed
Requires(prereq): %{name}-filesystem >= %{texlive_version}
Requires(prereq): %{name}-kpathsea-bin >= %{texlive_version}
Requires(prereq): %{name}-kpathsea >= %{texlive_version}
Requires(prereq): %{name}-tetex-bin >= %{texlive_version}
Requires(prereq): %{name}-tetex >= %{texlive_version}
Requires(prereq): %{name}-texconfig-bin >= %{texlive_version}
Requires(prereq): %{name}-texconfig >= %{texlive_version}
PreReq: %{name}-filesystem >= %{texlive_version}
PreReq: %{name}-kpathsea-bin >= %{texlive_version}
PreReq: %{name}-kpathsea >= %{texlive_version}
PreReq: %{name}-tetex-bin >= %{texlive_version}
PreReq: %{name}-tetex >= %{texlive_version}
PreReq: %{name}-texconfig-bin >= %{texlive_version}
PreReq: %{name}-texconfig >= %{texlive_version}
#!BuildIgnore: %{name}-kpathsea-bin
#!BuildIgnore: %{name}-kpathsea
#!BuildIgnore: %{name}-tetex-bin
#!BuildIgnore: %{name}-tetex
#!BuildIgnore: %{name}-texconfig-bin
#!BuildIgnore: %{name}-texconfig
Requires(pre): /usr/bin/perl
Requires(pre): /usr/bin/clear
Requires(pre): /usr/bin/dialog
Requires(pre): coreutils
Requires(pre): ed
Requires(pre): findutils
Requires(pre): grep
Requires(pre): sed
Requires(post): coreutils
Requires(postun): coreutils
Requires(posttrans): coreutils
@@ -333,6 +339,7 @@ Group: Productivity/Publishing/TeX/Utilities
Url: http://www.tug.org/texlive/
%if %{with buildbiber}
Requires: perl = %{perl_version}
Requires: perl(LWP::UserAgent)
Requires: perl(Text::BibTeX)
%endif
Prefix: %{_bindir}
@@ -915,7 +922,6 @@ Summary: Binary files of kpathsea
License: LPPL-1.0
Group: Productivity/Publishing/TeX/Utilities
Url: http://www.tug.org/texlive/
Requires(prereq): %{name}-filesystem
Requires(pre): %{name}-filesystem
Requires(pre): /usr/bin/getent
Requires(pre): /usr/sbin/groupadd
@@ -2037,6 +2043,11 @@ development packages for TeXLive.
%patch19 -p0 -b .dvipng
%patch20 -p0 -b .asymptote
%patch0
%if %{with buildbiber}
pushd ../biblatex-biber-*
/usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
popd
%endif
# Correct FHS paths
paths=$(find -name cnf-to-paths.awk)