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

Re: [fedora-india] What software is missing in the Fedora repository?



On Fri, 2009-05-08 at 16:01 +0530, Rahul Sundaram wrote:
> http://sourceforge.net/projects/pvqt/
> 
> A spec and rpm can be found at
> 
> http://hanzlici.cz/packages/fedora/panini/
> 

hi,

Giving this one a try.. 

There is this macro that I don't know enough about.. I'm sure I'll have
more doubts as I package this, but this one's the only doubt currently. 

In the spec file http://hanzlici.cz/packages/fedora/panini/panini.spec ,
the build section is like this :

%build
# --without debug hack:
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS
%{?_without_debug:%define debug_package %{nil}}
%{?_without_debug:export RPM_OPT_FLAGS="${RPM_OPT_FLAGS//-g/}"}
%{?_without_debug:export CFLAGS="${CFLAGS//-g/}"}

This is what I got from the wiki on macros..
http://fedoraproject.org/wiki/Packaging/RPMMacros


%{_global_cflags}     -O2 -g -pipe
%{_optflags}          %{__global_cflags} -m32 -march=i386v
-mtune=pentium4 

Didn't help much.. I'll go through the gcc docs for explanations on the
flags.. 

What I want to know is why these are needed? The build file in the
source specifies only "qmake-qt4 panini.pro" to build it from source..
Nothing about gcc flags there.. Can I leave these out?

A little insight to the "?_without_debug" thing would also be helpful.

regards,

Ankur

PS : Do i need to start a new topic for these queries? 


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