https://bugzilla.redhat.com/show_bug.cgi?id=2017179
--- Comment #16 from Graham Leggett minfrin@sharp.fm --- Thank you for this.
I have another build at https://copr.fedorainfracloud.org/coprs/minfrin/replxx/build/6600722/ - can you take a look?
Release: 3%{?dist}
'Release: %autorelease' and '%autochangelog' instead of an explicit changelog, see
https://docs.pagure.org/fedora-infra.rpmautospec/opting-in.html
I wasn't able to get this to work, working from a simple rpmbuild/SPECS file directory right now, I believe %autorelease needs git?
BuildRequires: cmake, gcc, gcc-c++
Please use separate lines for each of the items.
Done.
%setup -q %patch0 -p1
%autosetup -p1
Done.
%cmake .
Drop the '.'. https://docs.fedoraproject.org/en-US/packaging-guidelines/CMake/ don't use it.
Done.
ctest -V %{?_smp_mflags}
Just '%ctest', see https://docs.fedoraproject.org/en-US/packaging-guidelines/CMake/.
Done.
%{_libdir}/*.so
%{_libdir}/libreplxx*.so
Done.
The directory %{_datadir}/cmake/%{name} should be owned by the package. So change
%{_datadir}/cmake/%{name}/*.cmake
to '%{_datadir}/cmake/%{name}'.
Done.
%doc
Change that to '%doc README.md'.
Done.
Hmm, when I download the specified Source0 file, the top directory is called 'replxx-release-0.0.4/'. So it sounds like you need '%autosetup -p1 -n replxx-release-%{version}'
Done.
%description should be wrapped to <= 80 columns (right now it's ~65).
Done.