[Mageia-dev] Generic 64-bit building question

Radu-Cristian FOTESCU beranger5ca at yahoo.ca
Wed Jul 13 12:22:16 CEST 2011


>> Why not `lib64ksane-devel` ?
>
>You are right, the package name libksane-devel is incorrect. See 
>http://www.mageia.org/wiki/doku.php?id=libraries


Thanks for the pointer, Christiaan!

OTOH, as a self-apprentice packager, I've collected a number of pages to help me with understanding the building issues, e.g. rpmlint -i warnings and errors,  etc.

From http://mageia.org/wiki/doku.php?id=packager_start
=> http://mageia.org/wiki/doku.php?id=rpm_start
=> http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/index.html

Extras, bookmarked for consulting:
http://wiki.mandriva.com/en/Development/Packaging/Problems  (!)
http://wiki.mandriva.com/en/Policies/Library
http://wiki.mandriva.com/en/Development/Howto/RPM (obsolete)
http://wiki.mandriva.com/en/Policies/RpmSpecProposal
http://fedoraproject.org/wiki/Packaging/Guidelines
http://fedoraproject.org/wiki/Common_Rpmlint_issues (!)
http://en.opensuse.org/openSUSE:Packaging_checks (!)
http://www.rpm.org/max-rpm/ (root)
http://www.rpm.org/max-rpm/p5208.html
http://www.rpm.org/max-rpm/s1-rpm-inside-macros.html
http://www.rpm.org/wiki/PackagerDocs/ArchDependencies
http://www.mageia.org/wiki/doku.php?id=libraries

Am I right to do this? Mageia's wiki pages are not clarifying enough.

E.g. 


-- it does not say about %{buildroot} vs. $RPM_BUILD_ROOT used consistently, ie, no mixing of %{buildroot} and $RPM_BUILD_ROOT, see https://fedoraproject.org/wiki/Packaging/Guidelines#Using_.25.7Bbuildroot.7D_and_.25.7Boptflags.7D_vs_.24RPM_BUILD_ROOT_and_.24RPM_OPT_FLAGS

-- it does not say about desktop-file-install vs.desktop-file-validate see https://fedoraproject.org/wiki/Packaging/Guidelines#desktop-file-install_usage


-- it does not tell the apprentice packagers about what rpmlint errors or warnings should *never* be ignored (e.g. explicit-lib-dependency, binary-or-shlib-defines-rpath, no-cleaning-of-buildroot, no-buildroot-tag, hardcoded-library-path, etc.)

Actually, it was `invalid-build-requires` that made me inspect the 64-bit library thing!


-- it does not tell what rpmlint errors/warnings *should* usually be ignored, e.g.:
1. non-standard-group when the Group is valid in Mageia, e.g.: Graphics, Video, ...
2. no-documentation, no-manual-page-for-binary, manpage-not-compressed, incorrect-fsf-address, file-not-utf8, name-repeated-in-summary, etc.

I'm still not sure about library-without-ldconfig-postin/library-without-ldconfig-postun, because as long as the SPRM was taken from MDV or F15... and as long as the installed package works...


André, what do you think?


R-C aka beranger


More information about the Mageia-dev mailing list