Geoffroy,

Thanks a lot for your support, :-)

Can you tell me the problem you are encountering, maybe I can help.

Cheers,

Olivier.
--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR

________________________________________
De : geoffroy.val...@free.fr [geoffroy.val...@free.fr]
Date d'envoi : jeudi 13 décembre 2012 17:02
À : oscar-devel@lists.sourceforge.net
Cc: LAHAYE Olivier
Objet : Re: [Oscar-devel] opkgc SPEC Clean fix.

Despite what you claim, i can assure you that it does not work on my CentOS 6.3 
system (basic, minimal CentOS 6.3 configuration). Otherwise, i will not have 
spent the time commented out the faulty part of the spec file.

I will try to test the attached spec file, meanwhile, if you have write access 
to SVN, feel free to check in.


----- Mail original -----
De: "LAHAYE Olivier" <olivier.lah...@cea.fr>
À: oscar-devel@lists.sourceforge.net
Cc: valle...@ornl.gov
Envoyé: Jeudi 13 Décembre 2012 09:15:16
Objet: [Oscar-devel] opkgc SPEC Clean fix.




Geoffroy,

I've seen that you worked on opkgc spec file by removing man pages.
On CentOS-6.3" it realy works despite your comment. (same for de %doc section).

Anyway, here is a full fix of all issues in the spec file

1/ Manage the the manuals using wildcars so it works even on latest mandriva 
linux that compress those man using xz.
2/ Fixed the configure.ac by commenting the AC_CANONICAL_TARGET
According to this link https://bugzilla.redhat.com/show_bug.cgi?id=204177
noarch package should not set this otherwise, when the %configure macro will 
define
"--target noarch", configure script will fail with: "Invalid configuration 
`noarch-redhat-linux-gnu'"

3/ Fixed the spec file to:
a/ use macros for make and smp flags
b/ use macro for configure

c/ man are ok even on modern distro like Mandriva wich compress mans with .xz
d/ %doc section cleaned and re-enabled.

You were right about autogen.sh which is not in the tarball. Though we must 
keep in mind that in the future, il we want to rebuild the package on a distro 
that has an incompatible autotools, the configure script may fail. maybe the 
"autoreconf" is the way to go?

All above tested using make dist-gzip and building the rpm by hand to cross 
check that everything is ok.

Cheers,

Olivier.


--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to