Re: Understanding popd pushd usage in RPM spec file
Germano Massullo wrote: > Hi, I need some help in understanding how popd and pushd work in rpm > files creation. Those commands are shell commands, not specific to RPM. They maintain a stack (una pila) of directories, so you can temporarily switch to a directory and then switch back. https://en.wikipedia.org/wiki/Stack_(abstract_data_type) https://it.wikipedia.org/wiki/Pila_(informatica) Kevin Kofler ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/WVULTOZSR73LCY5U4FV77SGFQEMESUFS/
Re: Understanding popd pushd usage in RPM spec file
pushd and popd are bash commands (man pushd) On Wed, 2018-07-18 at 22:17 +0300, Vascom wrote: > It is same as cd > ... > cd .. > > But build/install can finish in some internal directory and not exit > to top level. So pushd popd always work properly. > > ср, 18 июл. 2018 г., 22:10 Germano Massullo om>: > > Hi, I need some help in understanding how popd and pushd work in > > rpm > > > > files creation. > > > > Today I started working on enhancing darktable spec file [1] in > > order to > > > > add basecurve-tool and noise-tool subpackages, and I had some > > > > difficulties in understanding popd/pushd usage in that spec file. > > > > Despite is a package that I maintain, the popd/pushd usage has been > > > > implemented by past Fedora maintainers. > > > > I have spent the afternoon searching on internet and reading again > > the > > > > guide https://rpm-packaging-guide.github.io/ > > > > and I also made some practise after having read StackOverflow > > question > > > > [2], but I still do not get it. > > > > > > > > Thank you for your time > > > > > > > > [1]: https://src.fedoraproject.org/rpms/darktable/blob/f28/f/darkta > > ble.spec > > > > [2]: > > > > https://unix.stackexchange.com/questions/77077/how-do-i-use-pushd-a > > nd-popd-commands > > > > -- Sérgio M. B. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/NCETUJXAULLW2443NLPY6ZYHSP7INP3R/
Re: Understanding popd pushd usage in RPM spec file
It is same as cd ... cd .. But build/install can finish in some internal directory and not exit to top level. So pushd popd always work properly. ср, 18 июл. 2018 г., 22:10 Germano Massullo : > Hi, I need some help in understanding how popd and pushd work in rpm > files creation. > Today I started working on enhancing darktable spec file [1] in order to > add basecurve-tool and noise-tool subpackages, and I had some > difficulties in understanding popd/pushd usage in that spec file. > Despite is a package that I maintain, the popd/pushd usage has been > implemented by past Fedora maintainers. > I have spent the afternoon searching on internet and reading again the > guide https://rpm-packaging-guide.github.io/ > and I also made some practise after having read StackOverflow question > [2], but I still do not get it. > > Thank you for your time > > [1]: > https://src.fedoraproject.org/rpms/darktable/blob/f28/f/darktable.spec > [2]: > > https://unix.stackexchange.com/questions/77077/how-do-i-use-pushd-and-popd-commands > > ___ > devel mailing list -- devel@lists.fedoraproject.org > To unsubscribe send an email to devel-le...@lists.fedoraproject.org > Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/3JSTVEJP4XASQEWNWFRSG77ABMFEK3EG/ > ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/JPTHVV2OPISJKPBQTAHPKZVARXXQIGTF/
Understanding popd pushd usage in RPM spec file
Hi, I need some help in understanding how popd and pushd work in rpm files creation. Today I started working on enhancing darktable spec file [1] in order to add basecurve-tool and noise-tool subpackages, and I had some difficulties in understanding popd/pushd usage in that spec file. Despite is a package that I maintain, the popd/pushd usage has been implemented by past Fedora maintainers. I have spent the afternoon searching on internet and reading again the guide https://rpm-packaging-guide.github.io/ and I also made some practise after having read StackOverflow question [2], but I still do not get it. Thank you for your time [1]: https://src.fedoraproject.org/rpms/darktable/blob/f28/f/darktable.spec [2]: https://unix.stackexchange.com/questions/77077/how-do-i-use-pushd-and-popd-commands ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/3JSTVEJP4XASQEWNWFRSG77ABMFEK3EG/