https://bugzilla.redhat.com/show_bug.cgi?id=1540833 --- Comment #11 from Robert-André Mauchin <zebob.m@xxxxxxxxx> --- - This is not needed, as it is now done automatically: %post update-mime-database %{_datadir}/mime &> /dev/null || : update-desktop-database &> /dev/null || : %postun update-mime-database %{_datadir}/mime &> /dev/null || : update-desktop-database &> /dev/null || : - The libracket3m.so file should go to the devel package: "The versioned shared library files (/usr/lib/libfoo.so.3.2.0 and /usr/lib/libfoo.so.3) are necessary for users to run programs linked against libfoo, so they belong in the base package. The other, unversioned, shared library file (/usr/lib/libfoo.so) is only used to actually link libfoo to code being compiled, and is not necessary to be installed on a users system. This means that it belongs in a -devel package." https://fedoraproject.org/wiki/Packaging:Guidelines#Devel_Packages %files %{_bindir}/* %{_libdir}/racket %{_libdir}/libracket3m*.so %{_datadir}/racket %{_datadir}/applications/* %{_datadir}/man/* %{_sysconfdir}/racket/config.rktd %files devel %{_includedir}/* %{_libdir}/libracket3m.so The versioning of the library is also highly suspicious, it should be in the format libfoo.so.3.2.0, not libfoo-3.2.0.so. See with upstream the rationale for doing it this way instead of the typical one. - I don't think distributing startup.inc as is is an issue. - Since you install a .so in %{_libdir}, you need to run %ldconfig_scriptlets after %install - As per the guidelines: "each architecture listed in ExcludeArch needs to have a bug filed in bugzilla, describing the reason that the package does not compile/build/work on that architecture." See https://fedoraproject.org/wiki/Packaging:Guidelines#Architecture_Build_Failures on how to file these bugs once approved. Also file bugs apstream reporting the failures, there's already once for Debian/s390x: https://github.com/racket/racket/issues/2018 - Remove: # Prevent empty debuginfo package. %global debug_package %{nil} Instead pass --disable-strip to %configure: %configure \ --enable-pthread \ --enable-shared \ --enable-libffi \ --disable-strip - You must include the license in %files with %license: %files %license COPYING.txt COPYING_LESSER.txt COPYING-libscheme.txt All those licenses must also be reflected in the License: field of the header. License: GPLv3 and LGPLv3 and MIT - You need to validate the .desktop files in %install with: desktop-file-validate %{buildroot}/%{_datadir}/applications/*.desktop See https://fedoraproject.org/wiki/Packaging:Guidelines#desktop-file-install_usage - You must own %{_sysconfdir}/racket [!]: Package must own all directories that it creates. Note: Directories without known owners: /etc/racket Add this to do so: %dir %{_sysconfdir}/racket %{_sysconfdir}/racket/config.rktd - You need to include the Release info in your %changelog entries and you must increment the Release: field as well for each release you make: Name: racket Version: 6.12 Release: 3%{?dist} And the corresponding %changelog entries: * Tue Mar 20 2018 David Benoit <dbenoit@xxxxxxxxxx> 6.12-3 * Wed Jan 31 2018 David Benoit <dbenoit@xxxxxxxxxx> - 6.12-1 * Thu Oct 26 2017 David Benoit <dbenoit@xxxxxxxxxx> - 6.10-1 * Thu Jul 6 2017 David Benoit <dbenoit@xxxxxxxxxx> - 6.9-1 * Fri Jan 22 2016 Brandon Thomas <bthomaszx@xxxxxxxxx> - 6.3-1 - You should be more specific in which man to include. Don't use: %{_datadir}/man/* instead use: %{_datadir}/man/man1/* Package Review ============== Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed Issues: ======= - Development (unversioned) .so files in -devel subpackage, if present. Note: Unversioned so-files directly in %_libdir. See: http://fedoraproject.org/wiki/Packaging/Guidelines#DevelPackages - If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package is included in %license. Note: License file COPYING-libscheme.txt is not marked as %license See: http://fedoraproject.org/wiki/Packaging/LicensingGuidelines#License_Text - Package installs a %{name}.desktop using desktop-file-install or desktop- file-validate if there is such a file. ===== MUST items ===== C/C++: [x]: Package does not contain kernel modules. [x]: Package contains no static executables. [x]: Header files in -devel subpackage, if present. [x]: Package does not contain any libtool archives (.la) [x]: Rpath absent or only used for internal libs. Generic: [x]: Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [!]: License field in the package spec file matches the actual license. Note: Checking patched sources after %prep for licenses. Licenses found: "BSL LGPL", "Public domain", "LGPL (v2 or later)", "*No copyright* CC by", "LGPL (v3 or later)", "GPL (v2 or later) (with incorrect FSF address)", "GPL (v3)", "MIT (old)", "GPL (v2 or later)", "MIT/X11 (BSD like)", "*No copyright* bdwgc", "SIL (v1.1)", "*No copyright* LGPL", "BSD (3 clause)", "bdwgc", "LGPL (v2)", "LGPL", "Unknown or generated", "BSD (4 clause)", "NTP", "CC0", "LGPL (v2.1 or later)". 7859 files have unknown license. Detailed output of licensecheck in /home/bob/packaging/review/racket/review- racket/licensecheck.txt [!]: License file installed when any subpackage combination is installed. [x]: Package requires other packages for directories it uses. Note: No known owner of /etc/racket [!]: Package must own all directories that it creates. Note: Directories without known owners: /etc/racket [x]: Package does not own files or directories owned by other packages. Note: Dirs in package are owned also by: /usr/share/man/man1(filesystem) [x]: %build honors applicable compiler flags or justifies otherwise. [x]: Package contains no bundled libraries without FPC exception. [x]: Changelog in prescribed format. [x]: Sources contain only permissible code or content. [x]: Development files must be in a -devel package [x]: Package uses nothing in %doc for runtime. [x]: Package consistently uses macros (instead of hard-coded directory names). [x]: Package is named according to the Package Naming Guidelines. [x]: Package does not generate any conflict. [x]: Package obeys FHS, except libexecdir and /usr/target. [-]: If the package is a rename of another package, proper Obsoletes and Provides are present. [x]: Requires correct, justified where necessary. [x]: Spec file is legible and written in American English. [-]: Package contains systemd file(s) if in need. [!]: Useful -debuginfo package or justification otherwise. [!]: Package is not known to require an ExcludeArch tag. [x]: Package complies to the Packaging Guidelines [x]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [x]: Package installs properly. [x]: Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). [x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT [x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [x]: Macros in Summary, %description expandable at SRPM build time. [x]: Package contains desktop file if it is a GUI application. [x]: Dist tag is present. [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [x]: Package use %makeinstall only when make install DESTDIR=... doesn't work. [x]: Package is named using only allowed ASCII characters. [x]: Package does not use a name that already exists. [x]: Package is not relocatable. [x]: Sources used to build the package match the upstream source, as provided in the spec URL. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [x]: File names are valid UTF-8. [x]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 0 bytes in 0 files. [x]: Packages must not store files under /srv, /opt or /usr/local ===== SHOULD items ===== Generic: [-]: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. [x]: Final provides and requires are sane (see attachments). [?]: Package functions as described. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [x]: Patches link to upstream bugs/comments/lists or are otherwise justified. [-]: Description and summary sections in the package spec file contains translations for supported Non-English languages, if available. [x]: Package should compile and build into binary rpms on all supported architectures. [-]: %check is present and all tests pass. [x]: Packages should try to preserve timestamps of original installed files. [x]: Reviewer should test that the package builds in mock. [x]: Buildroot is not present [x]: Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT) [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: Fully versioned dependency in subpackages if applicable. [x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file [x]: Sources can be downloaded from URI in Source: tag [x]: SourceX is a working URL. [x]: Spec use %global instead of %define unless justified. ===== EXTRA items ===== Generic: [!]: Large data in /usr/share should live in a noarch subpackage if package is arched. Note: Arch-ed rpms have a total of 262410240 bytes in /usr/share racket-6.12-1.fc29.x86_64.rpm:262410240 See: http://fedoraproject.org/wiki/Packaging:ReviewGuidelines#Package_Review_Guidelines [x]: Rpmlint is run on debuginfo package(s). Note: There are rpmlint messages (see attachment). [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). [x]: Spec file according to URL is the same as in SRPM. Rpmlint ------- Checking: racket-6.12-1.fc29.x86_64.rpm racket-debuginfo-6.12-1.fc29.x86_64.rpm racket-debugsource-6.12-1.fc29.x86_64.rpm racket-devel-6.12-1.fc29.x86_64.rpm racket-doc-6.12-1.fc29.noarch.rpm racket-6.12-1.fc29.src.rpm racket.x86_64: E: explicit-lib-dependency glib2 racket.x86_64: E: explicit-lib-dependency libjpeg-turbo racket.x86_64: E: explicit-lib-dependency libpng racket.x86_64: W: incoherent-version-in-changelog 6.12 ['6.12-1.fc29', '6.12-1'] racket.x86_64: W: non-conffile-in-etc /etc/racket/config.rktd racket.x86_64: E: zero-length /usr/lib64/racket/starter-sh racket.x86_64: E: script-without-shebang /usr/lib64/racket/starter-sh racket.x86_64: E: standard-dir-owned-by-package /usr/share/man/man1 racket.x86_64: W: pem-certificate /usr/share/racket/collects/openssl/test.pem racket.x86_64: W: hidden-file-or-dir /usr/share/racket/pkgs/.LOCKpkgs.rktd racket.x86_64: E: zero-length /usr/share/racket/pkgs/.LOCKpkgs.rktd racket.x86_64: E: zero-length /usr/share/racket/pkgs/datalog/tests/examples/empty.txt racket.x86_64: E: zero-length /usr/share/racket/pkgs/datalog/tests/paren-examples/empty.txt racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/htdp-lib/2htdp/uchat/xrun 644 /bin/sh racket.x86_64: W: devel-file-in-non-devel-package /usr/share/racket/pkgs/mzscheme-lib/mzscheme/examples/bitmatrix.c racket.x86_64: W: devel-file-in-non-devel-package /usr/share/racket/pkgs/mzscheme-lib/mzscheme/examples/catch.c racket.x86_64: W: devel-file-in-non-devel-package /usr/share/racket/pkgs/mzscheme-lib/mzscheme/examples/curses.c racket.x86_64: W: devel-file-in-non-devel-package /usr/share/racket/pkgs/mzscheme-lib/mzscheme/examples/fmod.c racket.x86_64: W: devel-file-in-non-devel-package /usr/share/racket/pkgs/mzscheme-lib/mzscheme/examples/hello.c racket.x86_64: W: devel-file-in-non-devel-package /usr/share/racket/pkgs/mzscheme-lib/mzscheme/examples/helloprint.c racket.x86_64: W: devel-file-in-non-devel-package /usr/share/racket/pkgs/mzscheme-lib/mzscheme/examples/idmodule.c racket.x86_64: W: devel-file-in-non-devel-package /usr/share/racket/pkgs/mzscheme-lib/mzscheme/examples/makeadder.c racket.x86_64: W: devel-file-in-non-devel-package /usr/share/racket/pkgs/mzscheme-lib/mzscheme/examples/makeadder3m.c racket.x86_64: W: devel-file-in-non-devel-package /usr/share/racket/pkgs/mzscheme-lib/mzscheme/examples/tree.cxx racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/r6rs-lib/r6rs/private/io-conds.rkt r6rs racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/r6rs-lib/r6rs/private/io-conds.rkt 644 r6rs racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/r6rs-lib/r6rs/private/records-core.rkt r6rs racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/r6rs-lib/r6rs/private/records-core.rkt 644 r6rs racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/r6rs-lib/r6rs/private/records-explicit.rkt r6rs racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/r6rs-lib/r6rs/private/records-explicit.rkt 644 r6rs racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/r6rs-lib/rnrs/lists-6.rkt r6rs racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/r6rs-lib/rnrs/lists-6.rkt 644 r6rs racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/r6rs-lib/rnrs/records/inspection-6.rkt r6rs racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/r6rs-lib/rnrs/records/inspection-6.rkt 644 r6rs racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/r6rs-lib/rnrs/records/procedural-6.rkt r6rs racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/r6rs-lib/rnrs/records/procedural-6.rkt 644 r6rs racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/r6rs-lib/rnrs/records/syntactic-6.rkt r6rs racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/r6rs-lib/rnrs/records/syntactic-6.rkt 644 r6rs racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/racket-doc/ffi/examples/use-c-printf.rkt /usr/bin/env racket racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/racket-doc/ffi/examples/use-c-printf.rkt 644 /usr/bin/env racket racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/racket-doc/ffi/examples/use-crypt.rkt /usr/bin/env racket racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/racket-doc/ffi/examples/use-crypt.rkt 644 /usr/bin/env racket racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/racket-doc/ffi/examples/use-esd.rkt /usr/bin/env racket racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/racket-doc/ffi/examples/use-esd.rkt 644 /usr/bin/env racket racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/racket-doc/ffi/examples/use-magick.rkt /usr/bin/env racket racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/racket-doc/ffi/examples/use-magick.rkt 644 /usr/bin/env racket racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/racket-doc/ffi/examples/use-sndfile.rkt /usr/bin/env racket racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/racket-doc/ffi/examples/use-sndfile.rkt 644 /usr/bin/env racket racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/racket-doc/ffi/examples/use-tcl.rkt /usr/bin/env racket racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/racket-doc/ffi/examples/use-tcl.rkt 644 /usr/bin/env racket racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/racket-doc/ffi/examples/use-xmmsctrl.rkt /usr/bin/env racket racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/racket-doc/ffi/examples/use-xmmsctrl.rkt 644 /usr/bin/env racket racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/racket-doc/ffi/examples/use-xosd.rkt /usr/bin/env racket racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/racket-doc/ffi/examples/use-xosd.rkt 644 /usr/bin/env racket racket.x86_64: E: zero-length /usr/share/racket/pkgs/scribble-lib/scribble/jfp/jfp.css racket.x86_64: E: zero-length /usr/share/racket/pkgs/scribble-lib/scribble/scribble-style.css racket.x86_64: E: zero-length /usr/share/racket/pkgs/scribble-lib/scribble/scribble-style.tex racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/srfi-lib/srfi/%3a1.rkt r6rs racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/srfi-lib/srfi/%3a1.rkt 644 r6rs racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/srfi-lib/srfi/%3a67.rkt r6rs racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/srfi-lib/srfi/%3a67.rkt 644 r6rs racket.x86_64: E: wrong-script-interpreter /usr/share/racket/pkgs/srfi-lib/srfi/%3a8.rkt r6rs racket.x86_64: E: non-executable-script /usr/share/racket/pkgs/srfi-lib/srfi/%3a8.rkt 644 r6rs racket.x86_64: W: no-manual-page-for-binary gracket-text racket.x86_64: W: no-manual-page-for-binary mred-text racket.x86_64: W: no-manual-page-for-binary mzpp racket.x86_64: W: no-manual-page-for-binary mztext racket.x86_64: W: no-manual-page-for-binary pdf-slatex racket.x86_64: W: no-manual-page-for-binary plt-games racket.x86_64: W: no-manual-page-for-binary plt-r5rs racket.x86_64: W: no-manual-page-for-binary plt-r6rs racket.x86_64: W: no-manual-page-for-binary plt-web-server racket.x86_64: W: no-manual-page-for-binary scribble racket.x86_64: W: no-manual-page-for-binary slatex racket.x86_64: W: no-manual-page-for-binary slideshow racket.x86_64: W: no-manual-page-for-binary swindle racket-debugsource.x86_64: W: no-documentation racket-devel.x86_64: W: only-non-binary-in-usr-lib racket-devel.x86_64: W: no-documentation racket-devel.x86_64: E: wrong-script-interpreter /usr/include/racket/ext.exp .. racket-devel.x86_64: E: non-executable-script /usr/include/racket/ext.exp 644 .. racket-devel.x86_64: E: wrong-script-interpreter /usr/include/racket/mzscheme.exp .. racket-devel.x86_64: E: non-executable-script /usr/include/racket/mzscheme.exp 644 .. racket-devel.x86_64: E: wrong-script-interpreter /usr/include/racket/mzscheme3m.exp .. racket-devel.x86_64: E: non-executable-script /usr/include/racket/mzscheme3m.exp 644 .. racket-doc.noarch: E: zero-length /usr/share/doc/racket/doc-site.css racket-doc.noarch: E: zero-length /usr/share/doc/racket/doc-site.js racket-doc.noarch: E: zero-length /usr/share/doc/racket/local-redirect/local-user-redirect.js racket-doc.noarch: E: zero-length /usr/share/doc/racket/scribble-style.css 6 packages and 0 specfiles checked; 59 errors, 30 warnings. -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx