commit b24ee102c8a070ce5a3e40b8bfb2402195fdd914
OBS-URL: https://build.opensuse.org/package/show/Kernel:stable/kernel-source?expand=0&rev=709
This commit is contained in:
parent
39c0b29a50
commit
3ec67efe1e
@ -1,5 +1,5 @@
|
||||
# The version of the main tarball to use
|
||||
SRCVERSION=4.12
|
||||
SRCVERSION=4.11
|
||||
# variant of the kernel-source package, either empty or "-rt"
|
||||
VARIANT=
|
||||
# buildservice projects to build the kernel against
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:66afba31634cd306f83384df44bdafe0b30dd36df677b4747d36b0102ed09794
|
||||
size 173542
|
||||
oid sha256:f4fe2c1a213de93dd5da92758209164b3beab73d30aeedd238c01d07dd3d7914
|
||||
size 171573
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
%define srcversion 4.12
|
||||
%define patchversion 4.12.0
|
||||
%define patchversion 4.12.1
|
||||
%define variant %{nil}
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
@ -29,9 +29,9 @@
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb})
|
||||
|
||||
Name: dtb-aarch64
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
%define srcversion 4.12
|
||||
%define patchversion 4.12.0
|
||||
%define patchversion 4.12.1
|
||||
%define variant %{nil}
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
@ -29,9 +29,9 @@
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb})
|
||||
|
||||
Name: dtb-armv6l
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
%define srcversion 4.12
|
||||
%define patchversion 4.12.0
|
||||
%define patchversion 4.12.1
|
||||
%define variant %{nil}
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
@ -29,9 +29,9 @@
|
||||
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb})
|
||||
|
||||
Name: dtb-armv7l
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -65,7 +65,6 @@ cd linux-%srcversion
|
||||
%build
|
||||
source=linux-%srcversion
|
||||
cp $source/COPYING .
|
||||
SRCDIR=`pwd`/$source
|
||||
mkdir pp
|
||||
PPDIR=`pwd`/pp
|
||||
export DTC_FLAGS="-R 4 -p 0x1000"
|
||||
@ -77,7 +76,7 @@ cd $source/$DTS_folder
|
||||
for dts in $ALL_SUPPORTED_DTB; do
|
||||
target=${dts%*.dts}
|
||||
mkdir -p $PPDIR/$(dirname $target)
|
||||
cpp -x assembler-with-cpp -undef -D__DTS__ -nostdinc -I. -I$SRCDIR/include/ -I$SRCDIR/scripts/dtc/include-prefixes/ -P $target.dts -o $PPDIR/$target.dts
|
||||
cpp -x assembler-with-cpp -undef -D__DTS__ -nostdinc -I. -I./include/ -P $target.dts -o $PPDIR/$target.dts
|
||||
dtc $DTC_FLAGS -I dts -O dtb -i ./$(dirname $target) -o $PPDIR/$target.dtb $PPDIR/$target.dts
|
||||
done
|
||||
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
%define srcversion 4.12
|
||||
%define patchversion 4.12.0
|
||||
%define patchversion 4.12.1
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -58,9 +58,9 @@ Name: kernel-64kb
|
||||
Summary: Kernel with 64kb PAGE_SIZE
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
%define srcversion 4.12
|
||||
%define patchversion 4.12.0
|
||||
%define patchversion 4.12.1
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -58,9 +58,9 @@ Name: kernel-debug
|
||||
Summary: A Debug Version of the Kernel
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
%define srcversion 4.12
|
||||
%define patchversion 4.12.0
|
||||
%define patchversion 4.12.1
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -58,9 +58,9 @@ Name: kernel-default
|
||||
Summary: The Standard Kernel
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -16,18 +16,13 @@
|
||||
#
|
||||
|
||||
|
||||
%define patchversion 4.12.0
|
||||
%define patchversion 4.12.1
|
||||
%define variant %{nil}
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
|
||||
%define use_fop 1
|
||||
|
||||
%if %{?is_opensuse}
|
||||
%define use_sphinx 1
|
||||
%else
|
||||
%define use_sphinx 0
|
||||
%endif
|
||||
# rst2pdf is broken with Sphinx 1.3.x, so disabled for now
|
||||
%define build_pdf 0
|
||||
|
||||
# copy the whole tree to generate some images (sigh...)
|
||||
%define local_copy 1
|
||||
@ -42,31 +37,20 @@ Name: kernel-docs
|
||||
Summary: Kernel Documentation (man pages)
|
||||
License: GPL-2.0
|
||||
Group: Documentation/Man
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
BuildRequires: kernel-source%variant
|
||||
%if %use_sphinx
|
||||
# remaining stuff, to be fixed after 4.12
|
||||
BuildRequires: xmlto
|
||||
# ReST handling
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: python-Sphinx
|
||||
# rst2pdf is broken with Sphinx 1.3.x, so disabled for now
|
||||
# BuildRequires: python-rst2pdf
|
||||
%endif
|
||||
BuildRequires: xmlto
|
||||
%if %use_fop
|
||||
BuildRequires: fop
|
||||
%else
|
||||
BuildRequires: docbook-toys
|
||||
BuildRequires: docbook-utils
|
||||
BuildRequires: texlive-courier
|
||||
BuildRequires: texlive-dvips
|
||||
BuildRequires: texlive-ec
|
||||
BuildRequires: texlive-helvetic
|
||||
BuildRequires: texlive-jadetex
|
||||
BuildRequires: texlive-times
|
||||
%if %build_pdf
|
||||
BuildRequires: python-rst2pdf
|
||||
%endif
|
||||
Url: http://www.kernel.org/
|
||||
Provides: %name = %version-%source_rel
|
||||
@ -79,6 +63,7 @@ These are the man pages (section 9) built from the current kernel sources.
|
||||
|
||||
%source_timestamp
|
||||
|
||||
%if %build_pdf
|
||||
%package pdf
|
||||
Summary: Kernel Documentation (PDF)
|
||||
Group: Documentation/Other
|
||||
@ -87,6 +72,7 @@ Group: Documentation/Other
|
||||
These are PDF documents built from the current kernel sources.
|
||||
|
||||
%source_timestamp
|
||||
%endif
|
||||
|
||||
%package html
|
||||
Summary: Kernel Documentation (HTML)
|
||||
@ -98,15 +84,6 @@ These are HTML documents built from the current kernel sources.
|
||||
%source_timestamp
|
||||
|
||||
%prep
|
||||
%if !%use_fop
|
||||
cp -av /etc/texmf/web2c/texmf.cnf .
|
||||
cat << EOF >> texmf.cnf
|
||||
main_memory.pdfjadetex = 5000000
|
||||
hash_extra.pdfjadetex = 140000
|
||||
max_strings.pdfjadetex = 240000
|
||||
save_size.pdfjadetex = 20000
|
||||
EOF
|
||||
%endif
|
||||
%setup -T -c
|
||||
%if %local_copy
|
||||
# FIXME: need to copy locally to generate some images...
|
||||
@ -114,61 +91,26 @@ cp -a /usr/src/linux%variant/* .
|
||||
%endif
|
||||
|
||||
%build
|
||||
%if !%use_fop
|
||||
# use texmf.cnf from local source
|
||||
export TEXMFCNF=$RPM_BUILD_DIR
|
||||
%endif
|
||||
export LANG=en_US
|
||||
mkdir -p man
|
||||
make %{?make_arg} O=$PWD/man mandocs %{?jobs:-j%jobs}
|
||||
mkdir -p html
|
||||
make %{?make_arg} O=$PWD/html htmldocs
|
||||
%if %build_pdf
|
||||
mkdir -p pdf
|
||||
make \
|
||||
%if %use_fop
|
||||
XMLTOFLAGS="-m %linux_src/Documentation/DocBook/stylesheet.xsl --skip-validation --with-fop" \
|
||||
make %{?make_arg} O=$PWD/pdf pdfdocs
|
||||
%endif
|
||||
%{?make_arg} O=$PWD/pdf pdfdocs
|
||||
|
||||
%install
|
||||
install -d $RPM_BUILD_ROOT/%{_mandir}/man9
|
||||
# filter out obscure device drivers - they clutter up the rpm and don't add any real value
|
||||
find man/Documentation/DocBook/ -name '*.9.gz' |
|
||||
grep -E -v 'man/(sis[69]|rio|fsl|struct_rio|RIO|mpc85|set_rx_mode|mdio_(read|write)|mii_ioctl|mca_|z8530|nand|sppp|piix|(read|write)_zs)' |
|
||||
while read i ; do
|
||||
cp $i $RPM_BUILD_ROOT/%{_mandir}/man9
|
||||
done
|
||||
if [ -d man/Documentation/kdb ] ; then
|
||||
for i in man/Documentation/kdb/*.m* ; do
|
||||
k=`basename $i`
|
||||
k=${k/man/9}
|
||||
k=${k/mm/9}
|
||||
cp $i $RPM_BUILD_ROOT/%{_mandir}/man9/$k
|
||||
done
|
||||
fi
|
||||
|
||||
#ln -s %{_mandir}/man9/request_threaded_irq.9.gz $RPM_BUILD_ROOT%{_mandir}/man9/request_irq.9.gz
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/rst
|
||||
cp -a html/Documentation/output/* $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/rst || true
|
||||
|
||||
%if %build_pdf
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/doc/kernel/pdf
|
||||
cp -a pdf/Documentation/DocBook/*.pdf $RPM_BUILD_ROOT%{_datadir}/doc/kernel/pdf || true
|
||||
%if %use_sphinx
|
||||
# copy PDF files generated by sphinx (once when it really works...)
|
||||
for i in pdf/Documentation/output/*.pdf; do
|
||||
test -s $i && cp -a $i $RPM_BUILD_ROOT%{_datadir}/doc/kernel/pdf
|
||||
done
|
||||
%endif
|
||||
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/DocBook
|
||||
cp -a html/Documentation/DocBook/* $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/DocBook || true
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/DocBook/*.xml
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/DocBook/*.db
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/DocBook/*.{gif,png}
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/DocBook/*/*.proc
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/rst
|
||||
%if %use_sphinx
|
||||
cp -a html/Documentation/output/* $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/rst || true
|
||||
%endif
|
||||
|
||||
%if !%local_copy
|
||||
cp -a %linux_src/{COPYING,CREDITS,MAINTAINERS,README} .
|
||||
%endif
|
||||
@ -176,13 +118,14 @@ cp -a %linux_src/{COPYING,CREDITS,MAINTAINERS,README} .
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING CREDITS MAINTAINERS README
|
||||
%{_mandir}/man9/*
|
||||
|
||||
%if %build_pdf
|
||||
%files pdf
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/doc/kernel
|
||||
%docdir %{_datadir}/doc/kernel/pdf
|
||||
%{_datadir}/doc/kernel/pdf
|
||||
%endif
|
||||
|
||||
%files html
|
||||
%defattr(-,root,root)
|
||||
|
@ -21,13 +21,8 @@
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
|
||||
%define use_fop 1
|
||||
|
||||
%if %{?is_opensuse}
|
||||
%define use_sphinx 1
|
||||
%else
|
||||
%define use_sphinx 0
|
||||
%endif
|
||||
# rst2pdf is broken with Sphinx 1.3.x, so disabled for now
|
||||
%define build_pdf 0
|
||||
|
||||
# copy the whole tree to generate some images (sigh...)
|
||||
%define local_copy 1
|
||||
@ -49,24 +44,13 @@ Release: <RELEASE>.g@COMMIT@
|
||||
Release: @RELEASE@
|
||||
%endif
|
||||
BuildRequires: kernel-source%variant
|
||||
%if %use_sphinx
|
||||
# remaining stuff, to be fixed after 4.12
|
||||
BuildRequires: xmlto
|
||||
# ReST handling
|
||||
BuildRequires: graphviz
|
||||
BuildRequires: python-Sphinx
|
||||
# rst2pdf is broken with Sphinx 1.3.x, so disabled for now
|
||||
# BuildRequires: python-rst2pdf
|
||||
%endif
|
||||
BuildRequires: xmlto
|
||||
%if %use_fop
|
||||
BuildRequires: fop
|
||||
%else
|
||||
BuildRequires: docbook-toys
|
||||
BuildRequires: docbook-utils
|
||||
BuildRequires: texlive-courier
|
||||
BuildRequires: texlive-dvips
|
||||
BuildRequires: texlive-ec
|
||||
BuildRequires: texlive-helvetic
|
||||
BuildRequires: texlive-jadetex
|
||||
BuildRequires: texlive-times
|
||||
%if %build_pdf
|
||||
BuildRequires: python-rst2pdf
|
||||
%endif
|
||||
Url: http://www.kernel.org/
|
||||
Provides: %name = %version-%source_rel
|
||||
@ -79,6 +63,7 @@ These are the man pages (section 9) built from the current kernel sources.
|
||||
|
||||
%source_timestamp
|
||||
|
||||
%if %build_pdf
|
||||
%package pdf
|
||||
Summary: Kernel Documentation (PDF)
|
||||
Group: Documentation/Other
|
||||
@ -87,6 +72,7 @@ Group: Documentation/Other
|
||||
These are PDF documents built from the current kernel sources.
|
||||
|
||||
%source_timestamp
|
||||
%endif
|
||||
|
||||
%package html
|
||||
Summary: Kernel Documentation (HTML)
|
||||
@ -98,15 +84,6 @@ These are HTML documents built from the current kernel sources.
|
||||
%source_timestamp
|
||||
|
||||
%prep
|
||||
%if !%use_fop
|
||||
cp -av /etc/texmf/web2c/texmf.cnf .
|
||||
cat << EOF >> texmf.cnf
|
||||
main_memory.pdfjadetex = 5000000
|
||||
hash_extra.pdfjadetex = 140000
|
||||
max_strings.pdfjadetex = 240000
|
||||
save_size.pdfjadetex = 20000
|
||||
EOF
|
||||
%endif
|
||||
%setup -T -c
|
||||
%if %local_copy
|
||||
# FIXME: need to copy locally to generate some images...
|
||||
@ -114,61 +91,26 @@ cp -a /usr/src/linux%variant/* .
|
||||
%endif
|
||||
|
||||
%build
|
||||
%if !%use_fop
|
||||
# use texmf.cnf from local source
|
||||
export TEXMFCNF=$RPM_BUILD_DIR
|
||||
%endif
|
||||
export LANG=en_US
|
||||
mkdir -p man
|
||||
make %{?make_arg} O=$PWD/man mandocs %{?jobs:-j%jobs}
|
||||
mkdir -p html
|
||||
make %{?make_arg} O=$PWD/html htmldocs
|
||||
%if %build_pdf
|
||||
mkdir -p pdf
|
||||
make \
|
||||
%if %use_fop
|
||||
XMLTOFLAGS="-m %linux_src/Documentation/DocBook/stylesheet.xsl --skip-validation --with-fop" \
|
||||
make %{?make_arg} O=$PWD/pdf pdfdocs
|
||||
%endif
|
||||
%{?make_arg} O=$PWD/pdf pdfdocs
|
||||
|
||||
%install
|
||||
install -d $RPM_BUILD_ROOT/%{_mandir}/man9
|
||||
# filter out obscure device drivers - they clutter up the rpm and don't add any real value
|
||||
find man/Documentation/DocBook/ -name '*.9.gz' |
|
||||
grep -E -v 'man/(sis[69]|rio|fsl|struct_rio|RIO|mpc85|set_rx_mode|mdio_(read|write)|mii_ioctl|mca_|z8530|nand|sppp|piix|(read|write)_zs)' |
|
||||
while read i ; do
|
||||
cp $i $RPM_BUILD_ROOT/%{_mandir}/man9
|
||||
done
|
||||
if [ -d man/Documentation/kdb ] ; then
|
||||
for i in man/Documentation/kdb/*.m* ; do
|
||||
k=`basename $i`
|
||||
k=${k/man/9}
|
||||
k=${k/mm/9}
|
||||
cp $i $RPM_BUILD_ROOT/%{_mandir}/man9/$k
|
||||
done
|
||||
fi
|
||||
|
||||
#ln -s %{_mandir}/man9/request_threaded_irq.9.gz $RPM_BUILD_ROOT%{_mandir}/man9/request_irq.9.gz
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/rst
|
||||
cp -a html/Documentation/output/* $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/rst || true
|
||||
|
||||
%if %build_pdf
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/doc/kernel/pdf
|
||||
cp -a pdf/Documentation/DocBook/*.pdf $RPM_BUILD_ROOT%{_datadir}/doc/kernel/pdf || true
|
||||
%if %use_sphinx
|
||||
# copy PDF files generated by sphinx (once when it really works...)
|
||||
for i in pdf/Documentation/output/*.pdf; do
|
||||
test -s $i && cp -a $i $RPM_BUILD_ROOT%{_datadir}/doc/kernel/pdf
|
||||
done
|
||||
%endif
|
||||
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/DocBook
|
||||
cp -a html/Documentation/DocBook/* $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/DocBook || true
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/DocBook/*.xml
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/DocBook/*.db
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/DocBook/*.{gif,png}
|
||||
rm -f $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/DocBook/*/*.proc
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/rst
|
||||
%if %use_sphinx
|
||||
cp -a html/Documentation/output/* $RPM_BUILD_ROOT%{_datadir}/doc/kernel/html/rst || true
|
||||
%endif
|
||||
|
||||
%if !%local_copy
|
||||
cp -a %linux_src/{COPYING,CREDITS,MAINTAINERS,README} .
|
||||
%endif
|
||||
@ -176,13 +118,14 @@ cp -a %linux_src/{COPYING,CREDITS,MAINTAINERS,README} .
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING CREDITS MAINTAINERS README
|
||||
%{_mandir}/man9/*
|
||||
|
||||
%if %build_pdf
|
||||
%files pdf
|
||||
%defattr(-,root,root)
|
||||
%dir %{_datadir}/doc/kernel
|
||||
%docdir %{_datadir}/doc/kernel/pdf
|
||||
%{_datadir}/doc/kernel/pdf
|
||||
%endif
|
||||
|
||||
%files html
|
||||
%defattr(-,root,root)
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
%define srcversion 4.12
|
||||
%define patchversion 4.12.0
|
||||
%define patchversion 4.12.1
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -58,9 +58,9 @@ Name: kernel-lpae
|
||||
Summary: Kernel for LPAE enabled systems
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#!BuildIgnore: post-build-checks
|
||||
|
||||
%define patchversion 4.12.0
|
||||
%define patchversion 4.12.1
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -57,9 +57,9 @@ BuildRequires: dracut
|
||||
Summary: package kernel and initrd for OBS VM builds
|
||||
License: GPL-2.0
|
||||
Group: SLES
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
# needsrootforbuild
|
||||
|
||||
|
||||
%define patchversion 4.12.0
|
||||
%define patchversion 4.12.1
|
||||
%define variant %{nil}
|
||||
|
||||
%include %_sourcedir/kernel-spec-macros
|
||||
@ -36,9 +36,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Basic QA tests for the kernel
|
||||
License: GPL-2.0
|
||||
Group: SLES
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
%define srcversion 4.12
|
||||
%define patchversion 4.12.0
|
||||
%define patchversion 4.12.1
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -58,9 +58,9 @@ Name: kernel-pae
|
||||
Summary: Kernel with PAE Support
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
%define srcversion 4.12
|
||||
%define patchversion 4.12.0
|
||||
%define patchversion 4.12.1
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -30,9 +30,9 @@ Name: kernel-source
|
||||
Summary: The Linux Kernel Sources
|
||||
License: GPL-2.0
|
||||
Group: Development/Sources
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -24,10 +24,10 @@ Name: kernel-syms
|
||||
Summary: Kernel Symbol Versions (modversions)
|
||||
License: GPL-2.0
|
||||
Group: Development/Sources
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if %using_buildservice
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
%define srcversion 4.12
|
||||
%define patchversion 4.12.0
|
||||
%define patchversion 4.12.1
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -58,9 +58,9 @@ Name: kernel-syzkaller
|
||||
Summary: Kernel used for fuzzing by syzkaller
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
%define srcversion 4.12
|
||||
%define patchversion 4.12.0
|
||||
%define patchversion 4.12.1
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -58,9 +58,9 @@ Name: kernel-vanilla
|
||||
Summary: The Standard Kernel - without any SUSE patches
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 12 17:08:35 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
- Linux 4.12.1 (bnc#1012628).
|
||||
- commit 77712d8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 10:20:24 CEST 2017 - tiwai@suse.de
|
||||
|
||||
- rpm/kernel-docs.spec.in: Fix and cleanup for 4.13 doc build (bsc#1048129)
|
||||
The whole DocBook stuff has been deleted. The PDF build still non-working
|
||||
thus the sub-packaging disabled so far.
|
||||
- commit c9542b9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 09:29:07 CEST 2017 - jslaby@suse.cz
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
%define srcversion 4.12
|
||||
%define patchversion 4.12.0
|
||||
%define patchversion 4.12.1
|
||||
%define variant %{nil}
|
||||
%define vanilla_only 0
|
||||
|
||||
@ -58,9 +58,9 @@ Name: kernel-zfcpdump
|
||||
Summary: The IBM System Z zfcpdump Kernel
|
||||
License: GPL-2.0
|
||||
Group: System/Kernel
|
||||
Version: 4.12.0
|
||||
Version: 4.12.1
|
||||
%if 0%{?is_kotd}
|
||||
Release: <RELEASE>.gae25ff8
|
||||
Release: <RELEASE>.gb24ee10
|
||||
%else
|
||||
Release: 0
|
||||
%endif
|
||||
|
3
linux-4.11.tar.xz
Normal file
3
linux-4.11.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b67ecafd0a42b3383bf4d82f0850cbff92a7e72a215a6d02f42ddbafcf42a7d6
|
||||
size 95447768
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a45c3becd4d08ce411c14628a949d08e2433d8cdeca92036c7013980e93858ab
|
||||
size 99186576
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a720d177f560c0d130f47e35cc948376f3c273e176cc734862f74780e21f544c
|
||||
size 6959
|
||||
oid sha256:b738ef929e0695cdba4ac4b5c3a70d37beed82e926aa18f795b2dd8106d2d2e9
|
||||
size 6762
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1cb57b1344928c29ad72e1abd8d3990517ed52ee68de293a094d20ad6b92ab27
|
||||
size 124673
|
||||
oid sha256:254790a79c05d181d651819a7b17546bc6688edeeafc01db6b9a010fce59169e
|
||||
size 125986
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aa4ae3c50b63ad2d165fd4c9c6fb71f9018804e2223c32a10c7bc07325194f27
|
||||
size 2996
|
||||
oid sha256:4f2697c0d45d6548f18053dcb6fdc2831d64926fc81b5be5c502753b501430b9
|
||||
size 27854
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:85a0b9bce2cb0680e72903a28413ab271a9a510fc1af7cfde9456bdcbb914d80
|
||||
size 13279
|
||||
oid sha256:0a4ed02ea3bfb87a54f1d565f1800976db1a74bb2785e3158eefb55ce4fa5922
|
||||
size 16786
|
||||
|
BIN
patches.kernel.org.tar.bz2
(Stored with Git LFS)
BIN
patches.kernel.org.tar.bz2
(Stored with Git LFS)
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ec85bdc7d3f4fff7069e7b6f02103706fa31932fc4e3f72642bb1ea6edaa2d2a
|
||||
size 105252
|
||||
oid sha256:492485500e0d9468065ebc554094ff036eb957c1432de780fc9ab2a1cbec8419
|
||||
size 55500
|
||||
|
@ -27,6 +27,7 @@
|
||||
# DO NOT MODIFY THEM!
|
||||
# Send separate patches upstream if you find a problem...
|
||||
########################################################
|
||||
patches.kernel.org/patch-4.12.1
|
||||
|
||||
########################################################
|
||||
# Build fixes that apply to the vanilla kernel too.
|
||||
|
@ -1,3 +1,3 @@
|
||||
2017-07-10 09:44:59 +0200
|
||||
GIT Revision: ae25ff80fb23f4b229ff95fbc9b2cba627c02751
|
||||
2017-07-12 17:08:48 +0200
|
||||
GIT Revision: b24ee102c8a070ce5a3e40b8bfb2402195fdd914
|
||||
GIT Branch: stable
|
||||
|
Loading…
Reference in New Issue
Block a user