Basically, you could build this spec file via
rpmbuild --undefine=_disable_source_fetch -ba /path/to/specfile
Cătălin George Feștilă <mythcat(a)fedoraproject.org> 于 2021年1月23日周六 下午10:21写道:
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 ?
_______________________________________________
users mailing list -- users(a)lists.fedoraproject.org
To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org