RPM package re-classification.
Grabbing anything that had *arch* in its name into git-arch package was a wrong idea and we lost git-archive from git-core by mistake. Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:

committed by
Junio C Hamano

parent
04d24455ce
commit
a4e3bddc76
12
git.spec.in
12
git.spec.in
@ -96,10 +96,10 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|||||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
||||||
find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';'
|
||||||
|
|
||||||
(find $RPM_BUILD_ROOT%{_bindir} -type f | grep -vE "arch|svn|cvs|email|gitk" | sed -e s@^$RPM_BUILD_ROOT@@) > bin-man-doc-files
|
(find $RPM_BUILD_ROOT%{_bindir} -type f | grep -vE "archimport|svn|cvs|email|gitk" | sed -e s@^$RPM_BUILD_ROOT@@) > bin-man-doc-files
|
||||||
(find $RPM_BUILD_ROOT%{perl_vendorlib} -type f | sed -e s@^$RPM_BUILD_ROOT@@) >> perl-files
|
(find $RPM_BUILD_ROOT%{perl_vendorlib} -type f | sed -e s@^$RPM_BUILD_ROOT@@) >> perl-files
|
||||||
%if %{!?_without_docs:1}0
|
%if %{!?_without_docs:1}0
|
||||||
(find $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/Documentation -type f | grep -vE "arch|svn|git-cvs|email|gitk" | sed -e s@^$RPM_BUILD_ROOT@@ -e 's/$/*/' ) >> bin-man-doc-files
|
(find $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/Documentation -type f | grep -vE "archimport|svn|git-cvs|email|gitk" | sed -e s@^$RPM_BUILD_ROOT@@ -e 's/$/*/' ) >> bin-man-doc-files
|
||||||
%else
|
%else
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
||||||
%endif
|
%endif
|
||||||
@ -126,10 +126,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files arch
|
%files arch
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc Documentation/*arch*.txt
|
%doc Documentation/git-archimport.txt
|
||||||
%{_bindir}/*arch*
|
%{_bindir}/git-archimport
|
||||||
%{!?_without_docs: %{_mandir}/man1/*arch*.1*}
|
%{!?_without_docs: %{_mandir}/man1/git-archimport.1*}
|
||||||
%{!?_without_docs: %doc Documentation/*arch*.html }
|
%{!?_without_docs: %doc Documentation/git-archimport.html }
|
||||||
|
|
||||||
%files email
|
%files email
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Reference in New Issue
Block a user