git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Regarding: Debian: packaging updates.

From
Junio C Hamano <junkio@cox.net>
Date
Nov 9, 2005, 23:06 UTC
Message-ID
<7v7jbha0ap.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<4370FE57.7010304@debian.org>
Simon Richter <sjr@debian.org> writes:
Show 7 quoted lines
> Junio C Hamano wrote:
>
>> Since you have debian.org e-mail address, perhaps you can feed
>> me patches to debian/ area and deb: rule in the main Makefile?
>
> Sure. I have also talked this over with a few people and am going to 
> make official uploads occasionally.

Simon, I've received a patch to do *.changes file from Carl Baldwin, and with his permission I am forwarding it to you, hoping that you could include it (or reject it with explanation to Carl and me) when you feed me your debian/ updates. Carl says he wants to use dupload to populate his private apt-get repository and the process wants the generated *.changes file.

Myself, I've been either installing with "dpkg -i" directly or populating the apt-get repository by hand (yuck) but if dupload is the preferred way to maintain private apt-get repository and if having *.changes file helps that procedure, then...

---
diff --git a/Makefile b/Makefile
index bfdaf76..c1fcecb 100644
--- a/Makefile
+++ b/Makefile
@@ -452,8 +452,7 @@ rpm: dist
 deb: dist
        rm -rf $(GIT_TARNAME)
        $(TAR) zxf $(GIT_TARNAME).tar.gz
-       dpkg-source -b $(GIT_TARNAME)
-       cd $(GIT_TARNAME) && fakeroot debian/rules binary
+       cd $(GIT_TARNAME) && dpkg-buildpackage -rfakeroot -us -uc

 ### Cleaning rules

@@ -464,6 +463,7 @@ clean:
        rm -rf $(GIT_TARNAME)
        rm -f $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz
        rm -f git-core_$(GIT_VERSION)-*.dsc
+       rm -f git-core_$(GIT_VERSION)-*.changes
        rm -f git-*_$(GIT_VERSION)-*.deb
        $(MAKE) -C Documentation/ clean
        $(MAKE) -C templates clean
Previous: Simon Richter
Message 5 of 5 in “Regarding: Debian: packaging updates.”
  1. Johannes SchindelinNov 8, 2005
  2. Simon RichterNov 8, 2005
  3. Junio C HamanoNov 8, 2005
  4. Simon RichterNov 8, 2005
  5. Junio C HamanoNov 9, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.