Skip to content

Commit 7af29b7

Browse files
Build fix for uw-imap (microsoft#15000)
1 parent 3f02853 commit 7af29b7

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

SPECS-EXTENDED/uw-imap/uw-imap.spec

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ Distribution: Azure Linux
2424
Summary: UW Server daemons for IMAP and POP network mail protocols
2525
Name: uw-imap
2626
Version: 2007f
27-
Release: 26%{?dist}
27+
Release: 27%{?dist}
2828

2929
# See LICENSE.txt, http://www.apache.org/licenses/LICENSE-2.0
3030
License: ASL 2.0
3131
URL: https://github.com/uw-imap/imap
32-
# Source0: https://github.com/uw-imap/imap/archive/refs/tags/imap-2007f_upstream.tar.gz
33-
Source0: https://github.com/uw-imap/imap/archive/refs/tags/imap-%{version}%{?beta}%{?dev}%{?snap}.tar.gz
32+
Source0: https://github.com/uw-imap/imap/archive/refs/tags/imap-%{version}_upstream.tar.gz#/imap-%{version}.tar.gz
3433

3534
%global soname c-client
3635
%global shlibname lib%{soname}.so.%{somajor}
@@ -202,7 +201,7 @@ export EXTRACFLAGS="$EXTRACFLAGS -Wno-pointer-sign"
202201

203202

204203
echo -e "y\ny" | \
205-
make %{?_smp_mflags} lnp \
204+
make -j1 lnp \
206205
IP=6 \
207206
EXTRACFLAGS="$EXTRACFLAGS" \
208207
EXTRALDFLAGS="$EXTRALDFLAGS $RPM_LD_FLAGS" \
@@ -328,7 +327,7 @@ done
328327
%ldconfig_scriptlets -n %{imap_libs}
329328

330329
%files -n %{imap_libs}
331-
%doc LICENSE.txt NOTICE SUPPORT
330+
%license LICENSE.txt NOTICE SUPPORT
332331
%doc docs/RELNOTES docs/*.txt
333332
%ghost %config(missingok,noreplace) %{_sysconfdir}/c-client.cf
334333
%{_libdir}/lib%{soname}.so.*
@@ -348,6 +347,10 @@ done
348347

349348

350349
%changelog
350+
* Thu Nov 20 2025 Akhila Guruju <[email protected]> - 2007f-27
351+
- Fix build
352+
- License verified
353+
351354
* Fri Oct 15 2021 Pawel Winogrodzki <[email protected]> - 2007f-26
352355
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
353356

cgmanifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29747,7 +29747,7 @@
2974729747
"other": {
2974829748
"name": "uw-imap",
2974929749
"version": "2007f",
29750-
"downloadUrl": "https://github.com/uw-imap/imap/archive/refs/tags/imap-2007f.tar.gz"
29750+
"downloadUrl": "https://github.com/uw-imap/imap/archive/refs/tags/imap-2007f_upstream.tar.gz"
2975129751
}
2975229752
}
2975329753
},

0 commit comments

Comments
 (0)