https://bugzilla.redhat.com/show_bug.cgi?id=1771173
leigh scott leigh123linux@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value
--- Comment #1 from leigh scott leigh123linux@googlemail.com --- Change this from
BuildRequires: cmake >= 3.10
to
BuildRequires: cmake3 >= 3.10
and this
%build %cmake %make_build
to
%build %cmake3 %make_build
You also need to validate the appdata file
https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/#_app_data...
Also change the source url from
URL: https://github.com/%%7Bname%7D/%%7Bname%7D Source0: https://github.com/%%7Bname%7D/%%7Bname%7D/archive/%%7Bversion%7D.tar.gz#/%%...
to
URL: https://github.com/xournalpp/xournalpp Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
It makes it easier to read and navigate to the url
Also there is no need to use %{name}-%{version} in setup, change
%prep %autosetup -n %{name}-%{version}
to
%prep %autosetup