diff options
| author | Thomas Schneider <qsx@chaotikum.eu> | 2024-04-04 00:33:44 +0200 |
|---|---|---|
| committer | Thomas Schneider <qsx@chaotikum.eu> | 2024-04-04 00:33:44 +0200 |
| commit | 6ba37d502719c1f525b4242d54d7e12138b8ef48 (patch) | |
| tree | fc6eb5a7da0668dd07284c02a364876c767adc1e | |
| parent | 5dc8aba0cdf7dea89bf43eeb2fe72371b04aaea4 (diff) | |
Fix manpages, bundled catch2 path, tests
| -rw-r--r-- | chr.spec | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -29,7 +29,7 @@ gedit, to facilitate the transition from desktop to console editor. %prep %forgeautosetup -p1 -rm -rf third-party/catch.hpp +rm -rf third-party/catch2 %build @@ -39,21 +39,22 @@ rm -rf third-party/catch.hpp %install %meson_install -install -D -m0644 manpages/%{name}.1 -t %{buildroot}%{_mandir}/man1/ -install -D -m0644 manpages/%{name}.de.1 -t %{buildroot}%{_mandir}/de/man1/ +install -D -m0644 manpages/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 +install -D -m0644 manpages/%{name}.de.1 %{buildroot}%{_mandir}/de/man1/%{name}.1 -# TODO -#check -#meson_test +%check +pushd %{_vpath_builddir}/src +./tests +popd %files %doc README.md %license COPYING AUTHORS %{_bindir}/%{name} -%{_mandir}/man1/%{name}.* -%{_mandir}/de/man1/%{name}.* +%{_mandir}/man1/%{name}.1* +%{_mandir}/de/man1/%{name}.1* %changelog |
