[packages/jose] Up to 15
arekm
arekm at pld-linux.org
Sat Nov 28 17:51:42 CET 2026
commit 87b5e1534ab258d5c1e05bb1761411edc65c3cd1
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Nov 27 16:21:52 2026 +0100
Up to 15
jose.spec | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/jose.spec b/jose.spec
index ef92d43..79f9e44 100644
--- a/jose.spec
+++ b/jose.spec
@@ -4,12 +4,12 @@
#
Summary: Tools for JSON Object Signing and Encryption (JOSE)
Name: jose
-Version: 14
+Version: 15
Release: 1
License: Apache v2.0
Group: Applications
Source0: https://github.com/latchset/jose/releases/download/v%{version}/%{name}-%{version}.tar.xz
-# Source0-md5: 6efd8115360e6f04f2851f90ce9d62db
+# Source0-md5: 2c450792b447a1bb910523a725c740d7
URL: https://github.com/latchset/jose
BuildRequires: asciidoc
BuildRequires: gcc
@@ -47,8 +47,12 @@ This package contains development files for jose.
%prep
%setup -q
+%if %{with tests}
+# tests rely on no brace expansion of unquoted variables, which mksh (/bin/sh) does
+%{__sed} -i -e '1s,^#!/bin/sh,#!/bin/bash,' tests/jose-*
+%endif
+
%build
-export CFLAGS="%{rpmcflags} -Wno-unused-variable -Wno-unused-function"
%meson
%meson_build
@@ -58,6 +62,8 @@ export CFLAGS="%{rpmcflags} -Wno-unused-variable -Wno-unused-function"
rm -rf $RPM_BUILD_ROOT
%meson_install
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/licenses
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -66,6 +72,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%doc COPYING
%attr(755,root,root) %{_bindir}/%{name}
%{_mandir}/man1/jose*.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/jose.git/commitdiff/87b5e1534ab258d5c1e05bb1761411edc65c3cd1
More information about the pld-cvs-commit
mailing list