Improving our processes for new contributors.

Michael Schwendt mschwendt at gmail.com
Thu Jul 16 18:04:12 UTC 2015


On Thu, 16 Jul 2015 17:53:31 +0000, Zbigniew Jędrzejewski-Szmek wrote:

> One thing which I find very annoying when creating new packages is the
> need to use bare rpmbuild commands. I find the split between
> ~/rpmbuild/{SPECS,SOURCES} anachronistic (*), and much prefer the
> fedpkg / distgit approach of having everything in one directory.
> I now usually use the single directory approach from the beginning:
> - git init new-package && cd new-pagkage
> - emacs new-package.spec &
> - spectool -g *spec
> - md5sum ... | tee sources
> - git add new-package.spec sources && git commit -m 'Initial version'
> - git remote add ssh://pkgs.fedoraproject.org/new-package.git
> - fedpkg --dist master {srpm,mockbuild,etc}

You can redefine %_topdir, %_sourcedir and %_specdir in ~/.rpmmacros,
as well as various other macros, to modify the tree as you like.


More information about the devel mailing list