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

Attachment: opkgc_9504.svndiff
Description: opkgc_9504.svndiff

------------------------------------------------------------------------------
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