Accepting request 220443 from devel:tools:scm
- Put additional documentation formats (~8 MB) into a separate subpackage (forwarded request 220426 from jengelh) OBS-URL: https://build.opensuse.org/request/show/220443 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=129
This commit is contained in:
parent
14a27b1f8d
commit
5c40df9005
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 30 15:03:34 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Put additional documentation formats (~8 MB) into a separate
|
||||||
|
subpackage
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 14 15:19:17 UTC 2014 - iartarisi@suse.com
|
Tue Jan 14 15:19:17 UTC 2014 - iartarisi@suse.com
|
||||||
|
|
||||||
|
30
git.spec
30
git.spec
@ -90,6 +90,21 @@ full access to internals.
|
|||||||
|
|
||||||
These are the core tools with minimal dependencies.
|
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
|
%package svn
|
||||||
Summary: Git tools for importing Subversion repositories
|
Summary: Git tools for importing Subversion repositories
|
||||||
Group: Development/Tools/Version Control
|
Group: Development/Tools/Version Control
|
||||||
@ -281,6 +296,11 @@ if ! test -f $RPM_BUILD_ROOT%{gitexecdir}/git-add; then
|
|||||||
echo "git-add is not a regular file, apparmor profile won't work!" >&2
|
echo "git-add is not a regular file, apparmor profile won't work!" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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}
|
%find_lang %{name}
|
||||||
cat %{name}.lang >>bin-man-doc-files
|
cat %{name}.lang >>bin-man-doc-files
|
||||||
# use symlinks instead of hardlinks in sub-commands
|
# use symlinks instead of hardlinks in sub-commands
|
||||||
@ -306,7 +326,13 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README
|
%dir %_docdir/%name
|
||||||
|
%_docdir/%name/README
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_docdir/%name/
|
||||||
|
%exclude %_docdir/%name/README
|
||||||
|
|
||||||
%files svn
|
%files svn
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -378,8 +404,6 @@ fi
|
|||||||
%{_datadir}/git-core/
|
%{_datadir}/git-core/
|
||||||
%dir %{gitexecdir}
|
%dir %{gitexecdir}
|
||||||
%dir %{gitexecdir}/mergetools
|
%dir %{gitexecdir}/mergetools
|
||||||
%doc README COPYING Documentation/*.txt
|
|
||||||
%{!?_without_docs: %doc Documentation/*.html }
|
|
||||||
%if 0%{?suse_version} < 1140
|
%if 0%{?suse_version} < 1140
|
||||||
/var/adm/perl-modules/%{name}
|
/var/adm/perl-modules/%{name}
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user