Re: git-*arch* in git-arch rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gerrit Pape <pape@xxxxxxxxxxx> writes:

> Hi, there're two programs in the git-arch rpm that shouldn't be there:
>
>  $ rpm -qlp git-arch-1.4.3.2-1.i386.rpm 
>  /usr/bin/git-archimport
>  /usr/bin/git-archive
>  /usr/bin/git-upload-archive
>  /usr/share/doc/git-arch-1.4.3.2
>  /usr/share/doc/git-arch-1.4.3.2/git-archimport.html
>  /usr/share/doc/git-arch-1.4.3.2/git-archimport.txt
>  /usr/share/doc/git-arch-1.4.3.2/git-archive.html
>  /usr/share/doc/git-arch-1.4.3.2/git-archive.txt
>  /usr/share/doc/git-arch-1.4.3.2/git-upload-archive.html
>  /usr/share/doc/git-arch-1.4.3.2/git-upload-archive.txt
>  /usr/share/man/man1/git-archimport.1.gz
>  /usr/share/man/man1/git-archive.1.gz
>  /usr/share/man/man1/git-upload-archive.1.gz
>  $ 
>
> Regards, Gerrit.

So we need at least this?

diff --git a/git.spec.in b/git.spec.in
index 9b1217a..b61a338 100644
--- a/git.spec.in
+++ b/git.spec.in
@@ -126,10 +126,10 @@ # These are no files in the root package
 
 %files arch
 %defattr(-,root,root)
-%doc Documentation/*arch*.txt
-%{_bindir}/*arch*
-%{!?_without_docs: %{_mandir}/man1/*arch*.1*}
-%{!?_without_docs: %doc Documentation/*arch*.html }
+%doc Documentation/git-archimport.txt
+%{_bindir}/git-archimport
+%{!?_without_docs: %{_mandir}/man1/git-archimport.1*}
+%{!?_without_docs: %doc Documentation/git-archimport.html }
 
 %files email
 %defattr(-,root,root)

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]