[opensuse-arm] iproute2 build without pdf documentation for once, as texlive-latex is broken?
I have a request. iproute2 is a crucial package to install sysconfig. iproute is not build because of an issue with texlive-latex. This package is needed to generate the pdf files. (make pdf) I don't know if it's allowed for once to build this package just once without documentation in openSUSE:Factory:ARM, so openSuSE ARM can be tested with sysconfig? Can the "patch" please be applied once, in openSUSE:Factory:ARM, and rolled back after the package has been build and published? <diff> osc diff Index: iproute2.spec =================================================================== --- iproute2.spec (revision 86ae9170e809de093551e2286d24a5ba) +++ iproute2.spec (working copy) @@ -41,7 +41,8 @@ BuildRequires: libpng-devel libtiff-devel pkgconfig >= 0.19 BuildRequires: xorg-x11-devel xz %if 0%{?suse_version} -BuildRequires: ghostscript-x11 sgmltool texlive-latex +BuildRequires: ghostscript-x11 sgmltool +#BuildRequires: ghostscript-x11 sgmltool texlive-latex %endif %if 0%{?fedora} || 0%{?rhel} BuildRequires: ghostscript linuxdoc-tools sgml-common tetex-dvips tetex-latex @@ -94,7 +95,7 @@ xtlibdir="$(pkg-config xtables --variable=xtlibdir)"; make %{?_smp_mflags} LIBDIR=%_libdir CCOPTS="-D_GNU_SOURCE %optflags -Wstrict-prototypes -fPIC -DXT_LIB_DIR=\\\"$xtlibdir\\\"" cd doc -make pdf +#make pdf %install install -d %buildroot/{etc/,sbin/,usr/{sbin,share/man/man{3,8}}} @@ -125,8 +126,8 @@ %files doc %defattr(-,root,root) -%doc doc/api-ip6-flowlabels.pdf doc/arpd.pdf doc/ip-cref.pdf -%doc doc/ip-tunnels.pdf doc/nstat.pdf doc/rtstat.pdf doc/ss.pdf +#%doc doc/api-ip6-flowlabels.pdf doc/arpd.pdf doc/ip-cref.pdf +#%doc doc/ip-tunnels.pdf doc/nstat.pdf doc/rtstat.pdf doc/ss.pdf %doc ChangeLog examples/ ip/ifcfg ip/routef ip/routel %files -n libnetlink-devel </diff> Regards, Joop. -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
I'll submit a patched to work texlive tonight. Please wait for that. Alex Am 13.10.2011 um 22:51 schrieb "Joop Boonen" <joop.boonen@boonen.org>:
I have a request.
iproute2 is a crucial package to install sysconfig.
iproute is not build because of an issue with texlive-latex. This package is needed to generate the pdf files. (make pdf)
I don't know if it's allowed for once to build this package just once without documentation in openSUSE:Factory:ARM, so openSuSE ARM can be tested with sysconfig?
Can the "patch" please be applied once, in openSUSE:Factory:ARM, and rolled back after the package has been build and published?
<diff> osc diff Index: iproute2.spec =================================================================== --- iproute2.spec (revision 86ae9170e809de093551e2286d24a5ba) +++ iproute2.spec (working copy) @@ -41,7 +41,8 @@ BuildRequires: libpng-devel libtiff-devel pkgconfig >= 0.19 BuildRequires: xorg-x11-devel xz %if 0%{?suse_version} -BuildRequires: ghostscript-x11 sgmltool texlive-latex +BuildRequires: ghostscript-x11 sgmltool +#BuildRequires: ghostscript-x11 sgmltool texlive-latex %endif %if 0%{?fedora} || 0%{?rhel} BuildRequires: ghostscript linuxdoc-tools sgml-common tetex-dvips tetex-latex @@ -94,7 +95,7 @@ xtlibdir="$(pkg-config xtables --variable=xtlibdir)"; make %{?_smp_mflags} LIBDIR=%_libdir CCOPTS="-D_GNU_SOURCE %optflags -Wstrict-prototypes -fPIC -DXT_LIB_DIR=\\\"$xtlibdir\\\"" cd doc -make pdf +#make pdf
%install install -d %buildroot/{etc/,sbin/,usr/{sbin,share/man/man{3,8}}} @@ -125,8 +126,8 @@
%files doc %defattr(-,root,root) -%doc doc/api-ip6-flowlabels.pdf doc/arpd.pdf doc/ip-cref.pdf -%doc doc/ip-tunnels.pdf doc/nstat.pdf doc/rtstat.pdf doc/ss.pdf +#%doc doc/api-ip6-flowlabels.pdf doc/arpd.pdf doc/ip-cref.pdf +#%doc doc/ip-tunnels.pdf doc/nstat.pdf doc/rtstat.pdf doc/ss.pdf %doc ChangeLog examples/ ip/ifcfg ip/routef ip/routel
%files -n libnetlink-devel </diff>
Regards,
Joop.
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On Fri, 14 Oct 2011 at 00:20, Alexander Graf wrote:
I'll submit a patched to work texlive tonight. Please wait for that.
It might still be a good idea to generate the PDFs at package submission time, so that relatively small, but important packages like iproute2 don't have to wait for huge things like texlive. IIRC there even was an official recommendation a few years back, to handle build-time generated documentation this way. Another alternative would be to build the iproute2-doc subpackage from a separate spec file to get rid of the texlive build dependency in the main package. cu Reinhard -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am Freitag, 14. Oktober 2011, 17:54:43 schrieb Reinhard Max:
On Fri, 14 Oct 2011 at 00:20, Alexander Graf wrote:
I'll submit a patched to work texlive tonight. Please wait for that.
It might still be a good idea to generate the PDFs at package submission time, so that relatively small, but important packages like iproute2 don't have to wait for huge things like texlive. IIRC there even was an official recommendation a few years back, to handle build-time generated documentation this way.
while this is no arm specific thing (it should be discussed on -factory in general) just one note: we should avoid to run local "precheckin" scripts, because none of us has the time to review them each time if they are maybe dangerous.
Another alternative would be to build the iproute2-doc subpackage from a separate spec file to get rid of the texlive build dependency in the main package.
cu Reinhard -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
participants (4)
-
Adrian Schröter
-
Alexander Graf
-
Joop Boonen
-
Reinhard Max