Hello community,

here is the log from the commit of package git for openSUSE:Factory checked in 
at 2014-02-02 07:35:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/git (Old)
 and      /work/SRC/openSUSE:Factory/.git.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "git"

Changes:
--------
--- /work/SRC/openSUSE:Factory/git/git.changes  2014-01-23 15:43:45.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.git.new/git.changes     2014-02-02 
07:35:07.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Jan 30 15:03:34 UTC 2014 - [email protected]
+
+- Put additional documentation formats (~8 MB) into a separate
+  subpackage
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ git.spec ++++++
--- /var/tmp/diff_new_pack.u47z1c/_old  2014-02-02 07:35:08.000000000 +0100
+++ /var/tmp/diff_new_pack.u47z1c/_new  2014-02-02 07:35:08.000000000 +0100
@@ -90,6 +90,21 @@
 
 These are the core tools with minimal dependencies.
 
+%package doc
+Summary:        Documentation for the Git version control system
+Group:          Documentation/HTML
+%if 0%{?suse_version} >= 1210
+BuildArch:      noarch
+%endif
+
+%description doc
+Git is a fast, scalable, distributed revision control system with an
+unusually rich command set that provides both high-level operations and
+full access to internals.
+
+This subpackage contains Git's documentation in text/plain and
+text/html formats. (The manpages are in the main package.)
+
 %package svn
 Summary:        Git tools for importing Subversion repositories
 Group:          Development/Tools/Version Control
@@ -281,6 +296,11 @@
   echo "git-add is not a regular file, apparmor profile won't work!" >&2
   exit 1
 fi
+
+mkdir -p "%buildroot/%_docdir/git"
+cp -a README COPYING Documentation/*.txt "%buildroot/%_docdir/git/"
+%{!?_without_docs: cp -a Documentation/*.html "%buildroot/%_docdir/git/"}
+
 %find_lang %{name}
 cat %{name}.lang >>bin-man-doc-files
 # use symlinks instead of hardlinks in sub-commands
@@ -306,7 +326,13 @@
 
 %files
 %defattr(-,root,root)
-%doc README
+%dir %_docdir/%name
+%_docdir/%name/README
+
+%files doc
+%defattr(-,root,root)
+%_docdir/%name/
+%exclude %_docdir/%name/README
 
 %files svn
 %defattr(-,root,root)
@@ -378,8 +404,6 @@
 %{_datadir}/git-core/
 %dir %{gitexecdir}
 %dir %{gitexecdir}/mergetools
-%doc README COPYING Documentation/*.txt
-%{!?_without_docs: %doc Documentation/*.html }
 %if 0%{?suse_version} < 1140
 /var/adm/perl-modules/%{name}
 %endif

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to