Re: Understanding popd pushd usage in RPM spec file

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

 




pushd and popd are bash commands (man pushd) 


On Wed, 2018-07-18 at 22:17 +0300, Vascom wrote:
It is same as 
cd <directory>
...
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 <germano.massullo@xxxxxxxxx>:
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






-- 
Sérgio M. B.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx/message/NCETUJXAULLW2443NLPY6ZYHSP7INP3R/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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