diff --git a/libjcat.changes b/libjcat.changes index 726d48c..261b5e9 100644 --- a/libjcat.changes +++ b/libjcat.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jan 10 09:17:52 UTC 2024 - Dominique Leuenberger + +- Do not install test files: pass -Dtest=false to meson instead of + Dtest=true (aids with reproducible build, boo#1218715). +- Add check section and run meson test. + ------------------------------------------------------------------- Thu Jan 4 16:39:57 UTC 2024 - Dominique Leuenberger diff --git a/libjcat.spec b/libjcat.spec index 526f4fd..60dd8f4 100644 --- a/libjcat.spec +++ b/libjcat.spec @@ -87,14 +87,15 @@ Files for development with %{name}. %meson \ -Dgtkdoc=true \ -Dintrospection=true \ - -Dtests=true \ + -Dtests=false \ %{nil} %meson_build %install %meson_install -# remove unreproducible signature file to make package build reproducible -rm -f %{buildroot}%{_libexecdir}/installed-tests/libjcat/colorhug/firmware.bin.p7c + +%check +%meson_test %post -n %{name}%{sover} -p /sbin/ldconfig %postun -n %{name}%{sover} -p /sbin/ldconfig @@ -110,8 +111,6 @@ rm -f %{buildroot}%{_libexecdir}/installed-tests/libjcat/colorhug/firmware.bin.p %doc NEWS README.md %{_bindir}/jcat-tool %{_mandir}/man1/jcat-tool.1.gz -%{_libexecdir}/installed-tests/ -%{_datadir}/installed-tests/ %files devel %doc %{_datadir}/gtk-doc/html/%{name}