SHA256
1
0
forked from pool/libjcat

Accepting request 1138193 from Base:System

OBS-URL: https://build.opensuse.org/request/show/1138193
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libjcat?expand=0&rev=13
This commit is contained in:
Ana Guerrero 2024-01-12 22:44:44 +00:00 committed by Git OBS Bridge
commit 45f8daa161
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jan 10 09:17:52 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- 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 <dimstar@opensuse.org>

View File

@ -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}