packages (LINUX_2_6_27): kernel/kernel.spec - move -doc files to %{_docdir}
glen
glen at pld-linux.org
Fri Oct 30 18:36:26 CET 2009
Author: glen Date: Fri Oct 30 17:36:26 2009 GMT
Module: packages Tag: LINUX_2_6_27
---- Log message:
- move -doc files to %{_docdir}
---- Files affected:
packages/kernel:
kernel.spec (1.441.2.2036.2.50 -> 1.441.2.2036.2.51)
---- Diffs:
================================================================
Index: packages/kernel/kernel.spec
diff -u packages/kernel/kernel.spec:1.441.2.2036.2.50 packages/kernel/kernel.spec:1.441.2.2036.2.51
--- packages/kernel/kernel.spec:1.441.2.2036.2.50 Fri Oct 30 18:06:58 2009
+++ packages/kernel/kernel.spec Fri Oct 30 18:36:20 2009
@@ -1342,6 +1342,10 @@
# remove unnecessary dir with dead symlink
rm -rf $RPM_BUILD_ROOT/arch/i386
+# move to %{_docdir} so we wouldn't depend on any kernel package for dirs
+install -d $RPM_BUILD_ROOT%{_docdir}
+mv $RPM_BUILD_ROOT{%{_kernelsrcdir}/Documentation,%{_docdir}/%{name}-%{version}}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -1614,8 +1618,7 @@
%files doc
%defattr(644,root,root,755)
-%dir %{_kernelsrcdir}
-%{_kernelsrcdir}/Documentation
+%doc %{_docdir}/%{name}-%{version}
%if %{with source}
%files source -f aux_files_exc
@@ -1674,6 +1677,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.441.2.2036.2.51 2009/10/30 17:36:20 glen
+- move -doc files to %{_docdir}
+
Revision 1.441.2.2036.2.50 2009/10/30 17:06:58 glen
- caps
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel/kernel.spec?r1=1.441.2.2036.2.50&r2=1.441.2.2036.2.51&f=u
More information about the pld-cvs-commit
mailing list