I used this tutorial to build the Krita from sources:
https://docs.krita.org/en/untranslatable_pages/building_krita.html#prepar....
This is the result of the rpmlint tool:
rpmlint krita.spec ../SRPMS/krita* ../RPMS/*/krita*
(none): E: no installed packages by name ../SRPMS/krita*
(none): E: no installed packages by name ../RPMS/*/krita*
0 packages and 1 specfiles checked; 0 errors, 0 warnings.
the krita.spec has this content:
Name: krita
Version: 4.2.2
Release: 1%{?dist}
Summary: Krita software version 4.2.2
License: GPLv3+
URL:
https://krita.org/
Source0:
https://download.kde.org/stable/krita/4.4.2/krita-4.4.2.tar.gz
BuildRequires: bash
Requires: info
%description
Krita software version 4.2.2
%prep
%autosetup
%build
cmake ../krita \
-DCMAKE_INSTALL_PREFIX=$HOME/kritadev/install \
-DCMAKE_BUILD_TYPE=Debug \
-DKRITA_DEVS=ON
%configure
%make_build
make
make install
%install
rm -rf $RPM_BUILD_ROOT
%make_install
../install/bin/krita
%files
%license add-license-file-here
%doc add-docs-here
%changelog
* Sat Jan 23 2021 catafest <catafest(a)yahoo.com>
Any idea what is wrong ?