Skip to content

Commit 4ebc2ba

Browse files
authored
Upgrade: jose version to 14 (#13791)
1 parent 2240600 commit 4ebc2ba

3 files changed

Lines changed: 75 additions & 17 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"jose-10.tar.bz2": "5c9cdcfb535c4d9f781393d7530521c72b1dd81caa9934cab6dd752cc7efcd72"
3+
"jose-14.tar.xz": "cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b"
44
}
55
}

SPECS-EXTENDED/jose/jose.spec

Lines changed: 72 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
Vendor: Microsoft Corporation
22
Distribution: Azure Linux
33
Name: jose
4-
Version: 10
5-
Release: 7%{?dist}
4+
Version: 14
5+
Release: 3%{?dist}
66
Summary: Tools for JSON Object Signing and Encryption (JOSE)
77

8-
License: ASL 2.0
8+
License: Apache-2.0
99
URL: https://github.com/latchset/%{name}
10-
Source0: https://github.com/latchset/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2
10+
Source0: https://github.com/latchset/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
1111

1212
BuildRequires: gcc
1313
BuildRequires: pkgconfig
1414
BuildRequires: jansson-devel >= 2.10
1515
BuildRequires: openssl-devel
1616
BuildRequires: zlib-devel
17+
BuildRequires: git-core
18+
BuildRequires: meson
19+
BuildRequires: ninja-build
20+
BuildRequires: asciidoc
1721
Requires: lib%{name}%{?_isa} = %{version}-%{release}
1822

1923
%description
@@ -46,28 +50,26 @@ Obsoletes: lib%{name}-zlib-devel < %{version}-%{release}
4650
This package contains development files for lib%{name}.
4751

4852
%prep
49-
%setup -q
53+
%autosetup -S git
5054

5155
%build
52-
%if 0%{?rhel}
53-
%__sed -i 's|libcrypto >= 1\.0\.2|libcrypto >= 1\.0\.1|' configure
54-
%endif
55-
%configure --disable-openmp
56-
make %{?_smp_mflags}
56+
%meson
57+
%meson_build
5758

5859
%install
5960
rm -rf %{buildroot}
60-
%make_install
61+
%meson_install
6162
rm -rf %{buildroot}/%{_libdir}/lib%{name}.la
6263

6364
%check
64-
make %{?_smp_mflags} check
65+
%meson_test
6566

6667
%ldconfig_scriptlets -n lib%{name}
6768

6869
%files
6970
%{_bindir}/%{name}
7071
%{_mandir}/man1/jose*.1*
72+
%license COPYING
7173

7274
%files -n lib%{name}
7375
%license COPYING
@@ -81,8 +83,64 @@ make %{?_smp_mflags} check
8183
%{_mandir}/man3/jose*.3*
8284

8385
%changelog
84-
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 10-7
85-
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
86+
* Mon May 12 2025 Archana Shettigar <v-shettigara@microsoft.com> - 14-3
87+
- Initial Azure Linux import from Fedora 41 (license: MIT).
88+
- License verified
89+
90+
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 14-2
91+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
92+
93+
* Thu May 23 2024 Sergio Arroutbi <sarroutb@redhat.com> - 14-1
94+
- Update to release 14
95+
96+
* Wed Apr 03 2024 Sergio Correia <scorreia@redhat.com> - 13-1
97+
- Update to release 13
98+
99+
* Fri Feb 02 2024 Sergio Arroutbi <sarroutb@redhat.com> - 12-1
100+
- Update to release v12
101+
102+
* Tue Jan 30 2024 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 11-11
103+
- Fix test when using zlib-ng
104+
105+
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 11-10
106+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
107+
108+
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 11-9
109+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
110+
111+
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 11-8
112+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
113+
114+
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 11-7
115+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
116+
117+
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 11-6
118+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
119+
120+
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 11-5
121+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
122+
123+
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 11-4
124+
- Rebuilt with OpenSSL 3.0.0
125+
126+
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11-3
127+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
128+
129+
* Fri May 07 2021 Sergio Correia <scorreia@redhat.com> - 11-2
130+
- Update sources file to v11.
131+
132+
* Fri May 07 2021 Sergio Correia <scorreia@redhat.com> - 11-1
133+
- Update to new jose upstream release, v11.
134+
135+
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 10-9
136+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
137+
138+
* Tue Jul 28 2020 Tom Stellard <tstellar@redhat.com> - 10-8
139+
- Use make macros
140+
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
141+
142+
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10-7
143+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
86144

87145
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10-6
88146
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7981,8 +7981,8 @@
79817981
"type": "other",
79827982
"other": {
79837983
"name": "jose",
7984-
"version": "10",
7985-
"downloadUrl": "https://github.com/latchset/jose/releases/download/v10/jose-10.tar.bz2"
7984+
"version": "14",
7985+
"downloadUrl": "https://github.com/latchset/jose/releases/download/v14/jose-14.tar.xz"
79867986
}
79877987
}
79887988
},

0 commit comments

Comments
 (0)