On Sat, 2009-05-09 at 06:15 +0530, Rahul Sundaram wrote: > On 05/09/2009 12:48 AM, Ankur Sinha wrote: > > > 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 > > This one is a explicit override of the compiler flags for the package to > pick up the right compiler options. Not sure that is actually necessary > in this case. Refer to > > http://fedoraproject.org/wiki/Packaging/cmake > > > %{?_without_debug:%define debug_package %{nil}} > > %{?_without_debug:export RPM_OPT_FLAGS="${RPM_OPT_FLAGS//-g/}"} > > %{?_without_debug:export CFLAGS="${CFLAGS//-g/}"} > > Remove these and check if the debuginfo packages are generated > correctly. If they are, there is no need for this. > > desktop-file-install should have not use a vendor option. So remove that > as well. > > > PS : Do i need to start a new topic for these queries? > > Sure. > > Rahul > > _______________________________________________ > Fedora-india mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/fedora-india
hi, I packaged it..Mock built it successfully too..It did give a few warnings though.. In the src files.. Stuff like "unused parameters" etc.. Here are all the files.. I haven't put it up for review yet.. I thought I'd let you folks have a look at it first.. http://ankursinha.fedorapeople.org/panini/ Another query.. The source1 and source2 (the .desktop and .png files) were not available in the source tar.. I used the ones at http://hanzlici.cz/packages/fedora/panini/ If they weren't available what was I supposed to do? Am I supposed to generate them?? regards, Ankur _______________________________________________ Fedora-india mailing list [email protected] https://www.redhat.com/mailman/listinfo/fedora-india
