{"thread":{"id":"43648","subject":"git-*arch* in git-arch rpm","startedAt":"2006-10-24T20:02:11Z","lastAt":"2006-10-25T18:35:51Z","messageCount":4,"participants":["Gerrit Pape","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"296313","messageId":"20061024200211.17221.qmail@9f622d681978b5.315fe32.mid.smarden.org","threadId":"43648","inReplyTo":null,"subject":"git-*arch* in git-arch rpm","fromName":"Gerrit Pape","fromEmail":"pape@smarden.org","sentAt":"2006-10-24T20:02:11Z","receivedAt":"2006-10-24T20:02:11Z","isPatch":false,"sender":{"key":"pape@smarden.org","avatar":"https://avatars.githubusercontent.com/u/143170252?v=4"},"body":"Hi, there're two programs in the git-arch rpm that shouldn't be there:\n\n $ rpm -qlp git-arch-1.4.3.2-1.i386.rpm \n /usr/bin/git-archimport\n /usr/bin/git-archive\n /usr/bin/git-upload-archive\n /usr/share/doc/git-arch-1.4.3.2\n /usr/share/doc/git-arch-1.4.3.2/git-archimport.html\n /usr/share/doc/git-arch-1.4.3.2/git-archimport.txt\n /usr/share/doc/git-arch-1.4.3.2/git-archive.html\n /usr/share/doc/git-arch-1.4.3.2/git-archive.txt\n /usr/share/doc/git-arch-1.4.3.2/git-upload-archive.html\n /usr/share/doc/git-arch-1.4.3.2/git-upload-archive.txt\n /usr/share/man/man1/git-archimport.1.gz\n /usr/share/man/man1/git-archive.1.gz\n /usr/share/man/man1/git-upload-archive.1.gz\n $ \n\n"},{"id":"296830","messageId":"7viri9dkk5.fsf@assigned-by-dhcp.cox.net","threadId":"43648","inReplyTo":"20061024200211.17221.qmail@9f622d681978b5.315fe32.mid.smarden.org","subject":"Re: git-*arch* in git-arch rpm","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-10-25T05:35:38Z","receivedAt":"2006-10-25T05:35:38Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Gerrit Pape <pape@smarden.org> writes:\n\n> Hi, there're two programs in the git-arch rpm that shouldn't be there:\n>\n>  $ rpm -qlp git-arch-1.4.3.2-1.i386.rpm \n>  /usr/bin/git-archimport\n>  /usr/bin/git-archive\n>  /usr/bin/git-upload-archive\n>  /usr/share/doc/git-arch-1.4.3.2\n>  /usr/share/doc/git-arch-1.4.3.2/git-archimport.html\n>  /usr/share/doc/git-arch-1.4.3.2/git-archimport.txt\n>  /usr/share/doc/git-arch-1.4.3.2/git-archive.html\n>  /usr/share/doc/git-arch-1.4.3.2/git-archive.txt\n>  /usr/share/doc/git-arch-1.4.3.2/git-upload-archive.html\n>  /usr/share/doc/git-arch-1.4.3.2/git-upload-archive.txt\n>  /usr/share/man/man1/git-archimport.1.gz\n>  /usr/share/man/man1/git-archive.1.gz\n>  /usr/share/man/man1/git-upload-archive.1.gz\n>  $ \n>\n> Regards, Gerrit.\n\nSo we need at least this?\n\ndiff --git a/git.spec.in b/git.spec.in\nindex 9b1217a..b61a338 100644\n--- a/git.spec.in\n+++ b/git.spec.in\n@@ -126,10 +126,10 @@ # These are no files in the root package\n \n %files arch\n %defattr(-,root,root)\n-%doc Documentation/*arch*.txt\n-%{_bindir}/*arch*\n-%{!?_without_docs: %{_mandir}/man1/*arch*.1*}\n-%{!?_without_docs: %doc Documentation/*arch*.html }\n+%doc Documentation/git-archimport.txt\n+%{_bindir}/git-archimport\n+%{!?_without_docs: %{_mandir}/man1/git-archimport.1*}\n+%{!?_without_docs: %doc Documentation/git-archimport.html }\n \n %files email\n %defattr(-,root,root)\n"},{"id":"296322","messageId":"20061025112327.16220.qmail@e5d824cd35b8a9.315fe32.mid.smarden.org","threadId":"43648","inReplyTo":"7viri9dkk5.fsf@assigned-by-dhcp.cox.net","subject":"Re: git-*arch* in git-arch rpm","fromName":"Gerrit Pape","fromEmail":"pape@smarden.org","sentAt":"2006-10-25T11:23:27Z","receivedAt":"2006-10-25T11:23:27Z","isPatch":false,"sender":{"key":"pape@smarden.org","avatar":"https://avatars.githubusercontent.com/u/143170252?v=4"},"body":"On Tue, Oct 24, 2006 at 10:35:38PM -0700, Junio C Hamano wrote:\n> Gerrit Pape <pape@smarden.org> writes:\n> > Hi, there're two programs in the git-arch rpm that shouldn't be there:\n\n> So we need at least this?\n\nAnd this I think, but can't test it.\n\ndiff --git a/git.spec.in b/git.spec.in\nindex 9b1217a..0dbee39 100644\n--- a/git.spec.in\n+++ b/git.spec.in\n@@ -96,10 +96,10 @@ find $RPM_BUILD_ROOT -type f -name .pack\n find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'\n find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';'\n \n-(find $RPM_BUILD_ROOT%{_bindir} -type f | grep -vE \"arch|svn|cvs|email|gitk\" | sed -e s@^$RPM_BUILD_ROOT@@)               > bin-man-doc-files\n+(find $RPM_BUILD_ROOT%{_bindir} -type f | grep -vE \"git-archimport|svn|cvs|email|gitk\" | sed -e s@^$RPM_BUILD_ROOT@@)               > bin-man-doc-files\n (find $RPM_BUILD_ROOT%{perl_vendorlib} -type f | sed -e s@^$RPM_BUILD_ROOT@@) >> perl-files\n %if %{!?_without_docs:1}0\n-(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\n+(find $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/Documentation -type f | grep -vE \"git-archimport|svn|git-cvs|email|gitk\" | sed -e s@^$RPM_BUILD_ROOT@@ -e 's/$/*/' ) >> bin-man-doc-files\n %else\n rm -rf $RPM_BUILD_ROOT%{_mandir}\n %endif\n\n> diff --git a/git.spec.in b/git.spec.in\n> index 9b1217a..b61a338 100644\n> --- a/git.spec.in\n> +++ b/git.spec.in\n> @@ -126,10 +126,10 @@ # These are no files in the root package\n>  \n>  %files arch\n>  %defattr(-,root,root)\n> -%doc Documentation/*arch*.txt\n> -%{_bindir}/*arch*\n> -%{!?_without_docs: %{_mandir}/man1/*arch*.1*}\n> -%{!?_without_docs: %doc Documentation/*arch*.html }\n> +%doc Documentation/git-archimport.txt\n> +%{_bindir}/git-archimport\n> +%{!?_without_docs: %{_mandir}/man1/git-archimport.1*}\n> +%{!?_without_docs: %doc Documentation/git-archimport.html }\n>  \n>  %files email\n"},{"id":"297753","messageId":"7vslhcb5vc.fsf@assigned-by-dhcp.cox.net","threadId":"43648","inReplyTo":"20061025112327.16220.qmail@e5d824cd35b8a9.315fe32.mid.smarden.org","subject":"Re: git-*arch* in git-arch rpm","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-10-25T18:35:51Z","receivedAt":"2006-10-25T18:35:51Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Gerrit Pape <pape@smarden.org> writes:\n\n> On Tue, Oct 24, 2006 at 10:35:38PM -0700, Junio C Hamano wrote:\n>> Gerrit Pape <pape@smarden.org> writes:\n>> > Hi, there're two programs in the git-arch rpm that shouldn't be there:\n>\n>> So we need at least this?\n>\n> And this I think, but can't test it.\n\nThanks.\n\nI ended up doing something very similar to yours after sending\nout the initial patch (my FC box is a notebook resurrected from\nboneyard and I need to sneakernet to do any RPM work, so latency\nof feedback from that box is rather long X-<).\n\n"}]}