gnuhealth.noarch: W: explicit-lib-dependency python3-matplotlib You must let rpm find the library dependencies by itself. Do not put unneeded explicit Requires: tags. gnuhealth.noarch: W: files-duplicate /usr/share/doc/packages/gnuhealth/examples/README.rst /usr/share/doc/packages/gnuhealth/README.rst gnuhealth.noarch: W: files-duplicate /usr/share/doc/packages/gnuhealth/examples/samples/interfaces/lab/TEST006.csv.license /usr/share/doc/packages/gnuhealth/examples/samples/interfaces/demographics/demographics.csv.license:/usr/share/doc/packages/gnuhealth/examples/samples/interfaces/products/products_sample.csv.license gnuhealth.src:36: W: macro-in-comment %{name} gnuhealth.src:36: W: macro-in-comment %{version} There is a unescaped macro after a shell style comment in the specfile. Macros are expanded everywhere, so check if it can cause a problem in this case and escape the macro with another leading % if appropriate. gnuhealth-orthanc.noarch: W: no-version-in-last-changelog gnuhealth.noarch: W: no-version-in-last-changelog gnuhealth.src: W: no-version-in-last-changelog The latest changelog entry doesn't contain a version. Please insert the version that is coherent with the version of the package and rebuild it. gnuhealth.noarch: W: non-executable-script /usr/lib/python3.6/site-packages/trytond/modules/health_caldav/tests/scenario_health_caldav.py 644 /usr/bin/python3 gnuhealth.noarch: W: non-executable-script /usr/lib/python3.6/site-packages/trytond/modules/health_icu/health_icu.py 644 /usr/bin/python3 gnuhealth.noarch: W: non-executable-script /usr/lib/python3.6/site-packages/trytond/modules/health_imaging/health_imaging.py 644 /usr/bin/python3 gnuhealth.noarch: W: non-executable-script /usr/lib/python3.6/site-packages/trytond/modules/health_inpatient/health_inpatient.py 644 /usr/bin/python3 gnuhealth.noarch: W: non-executable-script /usr/lib/python3.6/site-packages/trytond/modules/health_lab/health_lab.py 644 /usr/bin/python3 gnuhealth.noarch: W: non-executable-script /usr/lib/python3.6/site-packages/trytond/modules/health_lifestyle/health_lifestyle.py 644 /usr/bin/python3 gnuhealth.noarch: W: non-executable-script /usr/lib/python3.6/site-packages/trytond/modules/health_mdg6/health_mdg6.py 644 /usr/bin/python3 gnuhealth.noarch: W: non-executable-script /usr/lib/python3.6/site-packages/trytond/modules/health_ntd/health_ntd.py 644 /usr/bin/python3 gnuhealth.noarch: W: non-executable-script /usr/lib/python3.6/site-packages/trytond/modules/health_ntd_chagas/health_ntd_chagas.py 644 /usr/bin/python3 gnuhealth.noarch: W: non-executable-script /usr/lib/python3.6/site-packages/trytond/modules/health_ntd_dengue/health_ntd_dengue.py 644 /usr/bin/python3 gnuhealth.noarch: W: non-executable-script /usr/lib/python3.6/site-packages/trytond/modules/health_nursing/health_nursing.py 644 /usr/bin/python3 gnuhealth.noarch: W: non-executable-script /usr/lib/python3.6/site-packages/trytond/modules/health_ophthalmology/health_ophthalmology.py 644 /usr/bin/python3 gnuhealth.noarch: W: non-executable-script /usr/lib/python3.6/site-packages/trytond/modules/health_surgery/__init__.py 644 /usr/bin/python3 gnuhealth.noarch: W: non-executable-script /usr/lib/python3.6/site-packages/trytond/modules/health_surgery/health_surgery.py 644 /usr/bin/python3 gnuhealth.noarch: W: non-executable-script /usr/lib/python3.6/site-packages/trytond/modules/health_who_essential_medicines/__init__.py 644 /usr/bin/python3 This text file contains a shebang or is located in a path dedicated for executables, but lacks the executable bits and cannot thus be executed. If the file is meant to be an executable script, add the executable bits, otherwise remove the shebang or move the file elsewhere. gnuhealth.noarch: W: zero-length /usr/lib/python3.6/site-packages/trytond/modules/health_ntd/locale/zh_CN.po gnuhealth.noarch: E: env-script-interpreter (Badness: 9) /usr/bin/install_demo_database.sh /usr/bin/env bash gnuhealth.noarch: E: env-script-interpreter (Badness: 9) /usr/share/doc/packages/gnuhealth/gnuhealth-setup /usr/bin/env bash This script uses 'env' as an interpreter. For the rpm runtime dependency detection to work, the shebang #!/usr/bin/env python needs to be patched into #!/usr/bin/python otherwise the package dependency generator merely adds a dependency on /usr/bin/env rather than the actual interpreter /usr/bin/python. Alternatively, if the file should not be executed, then ensure that it is not marked as executable or don't install it in a path that is reserved for executables. 3 packages and 0 specfiles checked; 2 errors, 24 warnings.