Re: Evolving standards for unpacked sources

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

 



On 5/30/12 9:33 AM, Peter Jones wrote:

diff --git a/ocaml.spec b/ocaml.spec
index bbf2669..2ab0ecc 100644
--- a/ocaml.spec
+++ b/ocaml.spec
@@ -233,9 +233,13 @@ man pages and info files.
git init
git config user.email "noone@xxxxxxxxxxx"
git config user.name "no one"
+git config sendemail.to "%{name}-owner@xxxxxxxxxxxxxxxxx"
git add .
git commit -a -q -m "%{version} baseline"
git am %{patches}

Sorry for the hijack, but this should be written as:

git am %{patches} < /dev/null

Otherwise in the admittedly lovely case where you have no patches to apply, your package will build in mock (because the standard fds are already thus redirected) but normal fedpkg commands will hang.

- ajax
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux