On Thu, Jul 16, 2015 at 08:04:12PM +0200, Michael Schwendt wrote: > 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. Sure, but I would prefer not to muck around with that. fedpgk does that already for me, and I would prefer to make use of that. Zbyszek -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct