As i already told you before, oscar-packager was designed for this. It is strongly advised to use it rather than try to generate the RPMs directly.
Thanks, ----- Mail original ----- De: "LAHAYE Olivier" <olivier.lah...@cea.fr> À: oscar-devel@lists.sourceforge.net Envoyé: Lundi 4 Février 2013 07:49:39 Objet: [Oscar-devel] centos-6 build all rpms: need advice. hi, I'm trying to build all OSCAR CentOS-6 rpms. I'm sure that there is an official way to do that, unfortunately, many stuffs seem broken and I don't know if it's due to an obsolete material (in this case there is another way to build stuffs) or if it needs to be fixed. Right now, I'm doing this: cd pkgsrc/opkgc/trunk ./autogen.sh && ./configure && make dist rpmbuild -tb opkgc-<version>.tar.gz rpm -UVh opkgc-<version>.*rpm cd ../.. for i in */trunk do (cd $i; make rpm) done cd ../oscar make rpms cd packages for i in * do opkgc --dist rhel --input $i --output <my_repo> done then I have a directory full of rpms and I should be able to create the repo ready to be uploaded. What I've noted so far: - pkgsrc/tools/build_oscar_rpms wants to be in oscar/scripts. Is it obsolete or does it needs fixing? - pkgsrc/tools/build_rpms idem - oscar/scripts/build_oscar_repo ?? Many thanks for any tips and advices. Best regards, Olivier. -- Olivier LAHAYE CEA DRT/LIST/DCSI/DIR ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ Oscar-devel mailing list Oscar-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oscar-devel ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ Oscar-devel mailing list Oscar-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oscar-devel