[Bug 1170875] Review Request: budgie-desktop - An elegant desktop with GNOME integration

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1170875



--- Comment #6 from Ralf Corsepius <rc040203@xxxxxxxxxx> ---
(In reply to Michel Alexandre Salim from comment #5)

> On that note, what's the difference between ${prefix} and %prefix% ? Thanks.

Let me try to elaborate.

When building, the *.spec receives values/settings from rpm. 
Inside of the spec, these rpm-provided values are referenced as %{XXXX} and
used to propagate them into a package's build process. 
Here, to "configure", as options being passed to configure. configure
interprets/processes these parameters and generates source-files from "*.in"
files, substituting all "@name@" patterns with the corresponding values.

In this case, this means

The spec's 
%configure
expands to
./configure .. --libdir=%{_libdir} ...
expands to 
./configure .. --libdir=/usr/lib64 ...

./configure interprets the values being passed as argument to --libdir=...
and substitutes the sed pattern @libdir@ in all *.ins with the value it
received through --libdir=...

In this case, configure creates a file budgie-plugin/budgie-1.0.pc
using budgie-plugin/budgie-1.0.pc.in as input files, substituing 
@libdir@ with /usr/lib64

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]