public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/libetpan] rawhide: update to 2.0.1
Date: Thu, 26 Nov 2026 05:14:20 GMT	[thread overview]
Message-ID: <179567006033.1.14915176319928803837.rpms-libetpan-d1eebc6b272c@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libetpan
Branch : rawhide
Commit : d1eebc6b272cdf13b3d96dbd8922dc574a7372a7
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date   : 2026-11-26T14:14:06+09:00
Stats  : +47/-358 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/libetpan/c/d1eebc6b272cdf13b3d96dbd8922dc574a7372a7?branch=rawhide

Log:
update to 2.0.1

---
diff --git a/libetpan-1.10.1-unittext-plaintext-rendering-fix-build.patch b/libetpan-1.10.1-unittext-plaintext-rendering-fix-build.patch
deleted file mode 100644
index 8b1d4d4..0000000
--- a/libetpan-1.10.1-unittext-plaintext-rendering-fix-build.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-From d3c9bd49e681660bafce6fc193650f0de5ad908f Mon Sep 17 00:00:00 2001
-From: Hoa Dinh <dinh.viet.hoa@gmail.com>
-Date: Mon, 22 Jun 2026 02:22:04 -0700
-Subject: [PATCH] Fix plaintext rendering test build
-
----
- unittest/Makefile                             | 14 ++++++++------
- unittest/plaintext-rendering/html_flattener.c | 14 +++++++++++---
- 2 files changed, 19 insertions(+), 9 deletions(-)
-
-diff --git a/unittest/Makefile b/unittest/Makefile
-index a2f23525..42dff3c3 100644
---- a/unittest/Makefile
-+++ b/unittest/Makefile
-@@ -12,11 +12,12 @@ CPPFLAGS += \
- 	-Icommon
- 
- CFLAGS += -Wall -Wextra -Werror -g
--LDLIBS += $(TOP)/src/.libs/libetpan.a -lz -liconv -lsasl2 -lpthread
-+LDLIBS += $(TOP)/src/.libs/libetpan.a -lz -lsasl2 -lpthread
- XML2_CPPFLAGS := -I$(shell xcrun --show-sdk-path)/usr/include/libxml2
- XML2_LDLIBS := -lxml2
--TIDY_CPPFLAGS := $(shell pkg-config --cflags tidy 2>/dev/null || printf '%s' "-I$$(brew --prefix tidy-html5)/include")
-+TIDY_CPPFLAGS := $(shell pkg-config --cflags tidy 2>/dev/null || printf '%s' "-I$$(brew --prefix tidy-html5)/include") -I /usr/include/tidy
- TIDY_LDLIBS := $(shell pkg-config --libs tidy 2>/dev/null || printf '%s' "-L$$(brew --prefix tidy-html5)/lib -ltidy")
-+MATH_LDLIBS := -lm
- 
- IMAP_TEST = imap/imap_test
- IMF_TEST = imf/imf_test
-@@ -133,7 +135,7 @@ $(CHARSET_DETECTION_TEST): $(CHARSET_DETECTION_TEST_DEPS) libetpan
- 	$(CC) $(CPPFLAGS) $(CFLAGS) $(CHARSET_DETECTION_TEST_SRCS) $(LDLIBS) -o $@
- 
- $(PLAINTEXT_RENDERING_TEST): $(PLAINTEXT_RENDERING_TEST_DEPS) libetpan
--	$(CC) $(CPPFLAGS) $(XML2_CPPFLAGS) $(TIDY_CPPFLAGS) $(CFLAGS) $(PLAINTEXT_RENDERING_TEST_SRCS) $(LDLIBS) $(XML2_LDLIBS) $(TIDY_LDLIBS) -o $@
-+	$(CC) $(CPPFLAGS) $(XML2_CPPFLAGS) $(TIDY_CPPFLAGS) $(CFLAGS) $(PLAINTEXT_RENDERING_TEST_SRCS) $(LDLIBS) $(XML2_LDLIBS) $(TIDY_LDLIBS) $(MATH_LDLIBS) -o $@
- 
- $(IMAP_UTF7_TEST): $(IMAP_UTF7_TEST_DEPS) libetpan
- 	$(CC) $(CPPFLAGS) $(CFLAGS) $(IMAP_UTF7_TEST_SRCS) $(LDLIBS) -o $@
-diff --git a/unittest/plaintext-rendering/html_flattener.c b/unittest/plaintext-rendering/html_flattener.c
-index 50d91272..23e3eb85 100644
---- a/unittest/plaintext-rendering/html_flattener.c
-+++ b/unittest/plaintext-rendering/html_flattener.c
-@@ -366,7 +366,7 @@ static void comment_parsed(void * ctx, const xmlChar * value)
-   (void) value;
- }
- 
--static void structured_error(void * user_data, xmlErrorPtr error)
-+static void structured_error(void * user_data, const xmlError * error)
- {
-   (void) user_data;
-   (void) error;
-@@ -375,6 +375,8 @@ static void structured_error(void * user_data, xmlErrorPtr error)
- char * plaintext_rendering_flatten_html(const char * html)
- {
-   xmlSAXHandler handler;
-+  htmlParserCtxtPtr parser_context;
-+  htmlDocPtr parsed_doc;
-   struct flatten_state state;
-   char * cleaned_html;
-   unsigned int i;
-@@ -391,9 +393,15 @@ char * plaintext_rendering_flatten_html(const char * html)
-   state.show_blockquote = 1;
-   state.show_link = 1;
-   state.last_char_is_whitespace = 1;
--  xmlSetStructuredErrorFunc(xmlGenericErrorContext, structured_error);
-+  parser_context = htmlNewSAXParserCtxt(&handler, &state);
-+  assert(parser_context != NULL);
-+  xmlCtxtSetErrorHandler(parser_context, structured_error, NULL);
-   cleaned_html = plaintext_rendering_cleaned_html(html);
--  htmlSAXParseDoc((xmlChar *) cleaned_html, "utf-8", &handler, &state);
-+  parsed_doc = htmlCtxtReadDoc(parser_context, (xmlChar *) cleaned_html, NULL,
-+      "utf-8", 0);
-+  if (parsed_doc != NULL)
-+    xmlFreeDoc(parsed_doc);
-+  htmlFreeParserCtxt(parser_context);
-   free(cleaned_html);
-   clean_terminal_space(state.result);
-   for (i = 0; i < state.link_count; i++)

diff --git a/libetpan-1.10.1-use-icu-for-japanese-conversion.patch b/libetpan-1.10.1-use-icu-for-japanese-conversion.patch
deleted file mode 100644
index 79ecd53..0000000
--- a/libetpan-1.10.1-use-icu-for-japanese-conversion.patch
+++ /dev/null
@@ -1,235 +0,0 @@
-From 0141aba7e56d0ae4450a94cc3e261567fbc47683 Mon Sep 17 00:00:00 2001
-From: Hoa Dinh <dinh.viet.hoa@gmail.com>
-Date: Wed, 24 Jun 2026 23:43:31 -0700
-Subject: [PATCH] Use ICU for Japanese charset conversion
-
----
- configure.ac               |  38 ++++++++++++++
- src/Makefile.am            |   3 +-
- src/data-types/Makefile.am |   2 +-
- src/data-types/charconv.c  | 105 +++++++++++++++++++++++++++++++++++++
- unittest/Makefile          |   1 +
- 5 files changed, 146 insertions(+), 3 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 0c8de6fe..c9600e07 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -348,6 +348,44 @@ if test x$enable_iconv = xyes; then
- fi
- AC_SUBST(LIBICONV)
- 
-+dnl ICU
-+ICULIB=""
-+ICUCPPFLAGS=""
-+
-+AC_ARG_WITH(icu, [AS_HELP_STRING([--with-icu], [use ICU for charset conversion before iconv (default=auto)])],
-+            [], [with_icu=auto])
-+if test "x$with_icu" != "xno"; then
-+  PKG_CHECK_MODULES([ICU], [icu-uc],
-+    [with_icu=yes],
-+    [if test "x$with_icu" = "xyes"; then
-+       AC_MSG_ERROR([ICU support requested but icu-uc was not found])
-+     else
-+       with_icu=no
-+     fi])
-+  if test "x$with_icu" = "xyes"; then
-+    SAVED_CPPFLAGS="$CPPFLAGS"
-+    SAVED_LIBS="$LIBS"
-+    CPPFLAGS="$CPPFLAGS $ICU_CFLAGS"
-+    LIBS="$LIBS $ICU_LIBS"
-+    AC_CHECK_HEADERS([unicode/ucnv.h unicode/ustring.h],
-+      [],
-+      [AC_MSG_ERROR([ICU headers are missing])])
-+    AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <unicode/ucnv.h>]],
-+      [[UErrorCode err = U_ZERO_ERROR;
-+        UConverter * conv = ucnv_open("UTF-8", &err);
-+        if (conv != NULL) ucnv_close(conv);
-+        return U_FAILURE(err);]])],
-+      [AC_DEFINE(HAVE_ICU, 1, [Define if you have ICU charset conversion.])
-+       ICUCPPFLAGS="$ICU_CFLAGS"
-+       ICULIB="$ICU_LIBS"],
-+      [AC_MSG_ERROR([ICU libraries are missing])])
-+    CPPFLAGS="$SAVED_CPPFLAGS"
-+    LIBS="$SAVED_LIBS"
-+  fi
-+fi
-+AC_SUBST(ICUCPPFLAGS)
-+AC_SUBST(ICULIB)
-+
- dnl Berkeley DB
- 
- DBVERS=0
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 1847099f..03b33448 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -81,5 +81,4 @@ libetpan@LIBSUFFIX@_la_LIBADD = \
- 	main/libmain.la \
- 	engine/libengine.la \
-         $(arch_lib) \
--	@LIBS@ @SSLLIBS@ @LIBICONV@ @DBLIB@ @GNUTLSLIB@ @SASLLIBS@
--
-+	@LIBS@ @SSLLIBS@ @LIBICONV@ @ICULIB@ @DBLIB@ @GNUTLSLIB@ @SASLLIBS@
-diff --git a/src/data-types/Makefile.am b/src/data-types/Makefile.am
-index d2f00301..99f9141d 100644
---- a/src/data-types/Makefile.am
-+++ b/src/data-types/Makefile.am
-@@ -38,7 +38,7 @@ etpaninclude_HEADERS = \
- 	carray.h clist.h chash.h \
- 	charconv.h mailsem.h maillock.h
- 
--AM_CPPFLAGS = -I$(top_builddir)/include
-+AM_CPPFLAGS = -I$(top_builddir)/include @ICUCPPFLAGS@
- 
- noinst_LTLIBRARIES = libdata-types.la
- 
-diff --git a/src/data-types/charconv.c b/src/data-types/charconv.c
-index bf716f84..6f719f8e 100644
---- a/src/data-types/charconv.c
-+++ b/src/data-types/charconv.c
-@@ -42,6 +42,9 @@
- #ifdef HAVE_ICONV
- #include <iconv.h>
- #endif
-+#ifdef HAVE_ICU
-+#include <unicode/ucnv.h>
-+#endif
- #include <stdlib.h>
- #include <string.h>
- #include <stdio.h>
-@@ -567,6 +570,45 @@ static size_t mail_iconv (iconv_t cd, const char **inbuf, size_t *inbytesleft,
- }
- #endif
- 
-+#ifdef HAVE_ICU
-+static int icu_should_try_charset(const char * fromcode)
-+{
-+  return strcasecmp(fromcode, "iso-2022-jp") == 0 ||
-+      strcasecmp(fromcode, "iso-2022-jp-2") == 0 ||
-+      strcasecmp(fromcode, "shift_jis") == 0 ||
-+      strcasecmp(fromcode, "shift-jis") == 0 ||
-+      strcasecmp(fromcode, "euc-jp") == 0 ||
-+      strcasecmp(fromcode, "eucjp") == 0;
-+}
-+
-+static int icu_charconv(const char * tocode, const char * fromcode,
-+    const char * str, size_t length, char * result, size_t * result_len)
-+{
-+  UErrorCode err = U_ZERO_ERROR;
-+  int32_t converted_len;
-+
-+  if (length > (size_t) 0x7fffffff || *result_len > (size_t) 0x7fffffff)
-+    return MAIL_CHARCONV_ERROR_MEMORY;
-+
-+  converted_len = ucnv_convert(tocode, fromcode, result, (int32_t) *result_len,
-+      str, (int32_t) length, &err);
-+  if (err == U_BUFFER_OVERFLOW_ERROR)
-+    return MAIL_CHARCONV_ERROR_MEMORY;
-+  if (U_FAILURE(err)) {
-+    if (err == U_FILE_ACCESS_ERROR || err == U_MISSING_RESOURCE_ERROR ||
-+        err == U_INVALID_TABLE_FORMAT)
-+      return MAIL_CHARCONV_ERROR_UNKNOWN_CHARSET;
-+    return MAIL_CHARCONV_ERROR_CONV;
-+  }
-+  if (converted_len < 0)
-+    return MAIL_CHARCONV_ERROR_CONV;
-+
-+  result[converted_len] = '\0';
-+  *result_len = (size_t) converted_len;
-+  return MAIL_CHARCONV_NO_ERROR;
-+}
-+#endif
-+
- static const char * get_valid_charset(const char * fromcode)
- {
-   if ((strcasecmp(fromcode, "GB2312") == 0) || (strcasecmp(fromcode, "GB_2312-80") == 0)) {
-@@ -639,6 +681,34 @@ int charconv(const char * tocode, const char * fromcode,
- 		/* else, let's try with iconv, if available */
- 	}
- 
-+#ifdef HAVE_ICU
-+	if (icu_should_try_charset(fromcode))
-+	{
-+		size_t allocated_length;
-+		size_t result_length;
-+
-+		res = charconv_get_output_size(length, &allocated_length);
-+		if (res != MAIL_CHARCONV_NO_ERROR)
-+			return res;
-+		result_length = allocated_length;
-+		*result = malloc(allocated_length + 1);
-+		if (*result == NULL)
-+			return MAIL_CHARCONV_ERROR_MEMORY;
-+		res = icu_charconv(tocode, fromcode, str, length, *result,
-+		    &result_length);
-+		if (res == MAIL_CHARCONV_NO_ERROR) {
-+			out = realloc(*result, result_length + 1);
-+			if (out != NULL)
-+				*result = out;
-+			return MAIL_CHARCONV_NO_ERROR;
-+		}
-+		free(*result);
-+		*result = NULL;
-+		if (res != MAIL_CHARCONV_ERROR_UNKNOWN_CHARSET)
-+			return res;
-+	}
-+#endif
-+
- #ifndef HAVE_ICONV
-   return MAIL_CHARCONV_ERROR_UNKNOWN_CHARSET;
- #else
-@@ -752,6 +822,41 @@ int charconv_buffer(const char * tocode, const char * fromcode,
- 		/* else, let's try with iconv, if available */
- 	}
- 
-+#ifdef HAVE_ICU
-+	if (icu_should_try_charset(fromcode))
-+	{
-+		size_t allocated_length;
-+		size_t result_length;
-+
-+		res = charconv_get_output_size(length, &allocated_length);
-+		if (res != MAIL_CHARCONV_NO_ERROR)
-+			return res;
-+		result_length = allocated_length;
-+		mmapstr = mmap_string_sized_new(allocated_length + 1);
-+		*result_len = 0;
-+		if (mmapstr == NULL)
-+			return MAIL_CHARCONV_ERROR_MEMORY;
-+		res = icu_charconv(tocode, fromcode, str, length, mmapstr->str,
-+		    &result_length);
-+		if (res == MAIL_CHARCONV_NO_ERROR) {
-+			int r;
-+
-+			*result = mmapstr->str;
-+			r = mmap_string_ref(mmapstr);
-+			if (r < 0) {
-+				mmap_string_free(mmapstr);
-+				return MAIL_CHARCONV_ERROR_MEMORY;
-+			}
-+			mmap_string_set_size(mmapstr, result_length);
-+			*result_len = result_length;
-+			return MAIL_CHARCONV_NO_ERROR;
-+		}
-+		mmap_string_free(mmapstr);
-+		if (res != MAIL_CHARCONV_ERROR_UNKNOWN_CHARSET)
-+			return res;
-+	}
-+#endif
-+
- #ifndef HAVE_ICONV
-   return MAIL_CHARCONV_ERROR_UNKNOWN_CHARSET;
- #else
-diff --git a/unittest/Makefile b/unittest/Makefile
-index 42dff3c3..c954d402 100644
---- a/unittest/Makefile
-+++ b/unittest/Makefile
-@@ -13,6 +13,7 @@ CPPFLAGS += \
- 
- CFLAGS += -Wall -Wextra -Werror -g
- LDLIBS += $(TOP)/src/.libs/libetpan.a -lz -lsasl2 -lpthread
-+LDLIBS += $(shell pkg-config --libs icu-uc 2>/dev/null)
- XML2_CPPFLAGS := -I$(shell xcrun --show-sdk-path)/usr/include/libxml2
- XML2_LDLIBS := -lxml2
- TIDY_CPPFLAGS := $(shell pkg-config --cflags tidy 2>/dev/null || printf '%s' "-I$$(brew --prefix tidy-html5)/include") -I /usr/include/tidy

diff --git a/libetpan-1.9.2-cryptopolicy.patch b/libetpan-1.9.2-cryptopolicy.patch
deleted file mode 100644
index 34e2dba..0000000
--- a/libetpan-1.9.2-cryptopolicy.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur libetpan-1.9.2-orig/src/data-types/mailstream_ssl.c libetpan-1.9.2/src/data-types/mailstream_ssl.c
---- libetpan-1.9.2-orig/src/data-types/mailstream_ssl.c	2018-12-18 00:18:48.000000000 +0100
-+++ libetpan-1.9.2/src/data-types/mailstream_ssl.c	2018-12-24 20:12:06.870080101 +0100
-@@ -622,7 +622,6 @@
-   gnutls_certificate_set_retrieve_function(xcred, mailstream_gnutls_client_cert_cb);
- #endif
-   gnutls_set_default_priority(session);
--  gnutls_priority_set_direct(session, "NORMAL", NULL);
- 
-   gnutls_record_disable_padding(session);
-   gnutls_dh_set_prime_bits(session, 512);

diff --git a/libetpan-2.0.1-cryptopolicy.patch b/libetpan-2.0.1-cryptopolicy.patch
new file mode 100644
index 0000000..3773928
--- /dev/null
+++ b/libetpan-2.0.1-cryptopolicy.patch
@@ -0,0 +1,11 @@
+diff -urp libetpan-2.0.1.orig/src/data-types/mailstream_gnutls.c libetpan-2.0.1/src/data-types/mailstream_gnutls.c
+--- libetpan-2.0.1.orig/src/data-types/mailstream_gnutls.c	2026-11-24 10:16:14.000000000 +0900
++++ libetpan-2.0.1/src/data-types/mailstream_gnutls.c	2026-11-24 16:04:42.445538055 +0900
+@@ -296,7 +296,6 @@ static struct mailstream_ssl_data * ssl_
+   gnutls_certificate_set_retrieve_function(xcred, mailstream_gnutls_client_cert_cb);
+ #endif
+   gnutls_set_default_priority(session);
+-  gnutls_priority_set_direct(session, "NORMAL", NULL);
+ 
+   gnutls_record_disable_padding(session);
+ #if GNUTLS_VERSION_NUMBER < 0x030107

diff --git a/libetpan.spec b/libetpan.spec
index 7e614a1..b6527d8 100644
--- a/libetpan.spec
+++ b/libetpan.spec
@@ -1,6 +1,6 @@
 Name:           libetpan
-Version:        1.10.1
-Release:        3%{?dist}
+Version:        2.0.1
+Release:        1%{?dist}
 Summary:        Portable, efficient middle-ware for different kinds of mail access
 
 # src/bsd/getopt.c BSD-4-Clause (not used)
@@ -10,18 +10,19 @@ License:        BSD-3-Clause AND BSD-3-Clause-Attribution AND BSD-4-Clause
 URL:            http://www.etpan.org/
 Source0:        https://github.com/dinhviethoa/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
 # system crypto policy (see rhbz#1179310)
-Patch10:        libetpan-1.9.2-cryptopolicy.patch
-# Upstream patches
-# https://github.com/dinhvh/libetpan/commit/d3c9bd49e681660bafce6fc193650f0de5ad908f
-Patch101:		libetpan-1.10.1-unittext-plaintext-rendering-fix-build.patch
-# https://github.com/dinhvh/libetpan/commit/0141aba7e56d0ae4450a94cc3e261567fbc47683
-Patch102:		libetpan-1.10.1-use-icu-for-japanese-conversion.patch
+Patch10:        libetpan-2.0.1-cryptopolicy.patch
 
 BuildRequires:  cyrus-sasl-devel
+BuildRequires:  curl-devel
 BuildRequires:  gnutls-devel
 BuildRequires:  libdb-devel < 5.4
 BuildRequires:  liblockfile-devel
 BuildRequires:  pkgconfig(icu-uc)
+BuildRequires:  pkgconfig(json-c)
+%ifnarch %{ix86}
+BuildRequires:  pkgconfig(librnp)
+%endif
+BuildRequires:  pkgconfig(libxml-2.0)
 BuildRequires:  zlib-devel
 
 BuildRequires:  autoconf
@@ -56,12 +57,9 @@ with %{name}.
 
 find . -name \*.gz -delete
 
-#%patch0 -b .libetpan-config-script
 sed -i.flags libetpan.pc.in \
     -e 's|-letpan@LIBSUFFIX@.*$|-letpan@LIBSUFFIX@|'
 %patch -P10 -p1 -b .crypto-policy
-%patch -P101 -p1 -b .plaintext
-%patch -P102 -p1 -b .jp_icu
 
 # 2013-08-05 F20 development, bz 992070: The configure scripts adds some
 # extra libs to the GnuTLS link options, which cause rebuilds to fail, since
@@ -70,10 +68,16 @@ sed -i.flags libetpan.pc.in \
 grep 'GNUTLSLIB="-lgnutls -lgcrypt -lgpg-error -lz"' configure.ac || exit -1
 sed -i '\@GNUTLSLIB=@s!-lgcrypt -lgpg-error -lz!!g' configure.ac
 
+sed -i.shared unittest/Makefile \
+	-e 's|-Werror | |' \
+	%{nil}
+
+iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv && mv -f ChangeLog.conv ChangeLog
+
+%conf
 env NOCONFIGURE=1 ./autogen.sh
 cp -p %{_bindir}/libtool .
 
-%build
 # Use poll instead of select on F40 and above (bug 2283446)
 %configure \
     --disable-static \
@@ -82,6 +86,7 @@ cp -p %{_bindir}/libtool .
     --with-poll=yes \
     %{nil}
 
+%build
 %make_build
 
 cd doc
@@ -92,31 +97,22 @@ make doc
 
 rm -rf $RPM_BUILD_ROOT%{_libdir}/libetpan.{,l}a
 
-iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.conv && mv -f ChangeLog.conv ChangeLog
-
 %check
 # unittest
 export LD_LIBRARY_PATH=$(pwd)/src/.libs
-pushd unittest
-
-sed -i.shared Makefile \
-	-e 's|libetpan.a|libetpan.so|' \
-	-e 's|-liconv ||' \
-	-e 's|-Werror |-Werror -Wno-error=deprecated-declarations |' \
-	%{nil}
 
+pushd unittest
 # plaintext_rendering_test: needs TZ (PDT)
-# also, one test fails
 export TZ="America/Los_Angeles"
-pushd plaintext-rendering/data
-if [ ! -d input-fail ] ; then
-	true
-#	mkdir input-fail
-#	mv input/5231-emoji.eml input-fail/
-fi
-popd
 
-make
+# MAILPGP_TEST requires rnp
+%ifarch %{ix86}
+sed -i Makefile \
+    -e '\@^TEST_PROGRAMS@,\@^COMMON_TEST_SRCS@s|^.*MAILPGP_TEST.*$||' \
+    -e 's|\(./unittest/mailpgp/mailpgp_low_level_test\)|true \1|' \
+    %{nil}
+%endif
+
 make check
 
 popd
@@ -124,17 +120,23 @@ popd
 
 %files
 %license COPYRIGHT
-%doc ChangeLog NEWS
-%{_libdir}/%{name}.so.26{,.*}
+%doc ChangeLog
+%doc NEWS
+%{_libdir}/%{name}.so.27{,.*}
 
 %files devel
-%doc doc/API.html doc/README.html doc/DOCUMENTATION
+%doc doc/API.html
+%doc doc/README.html
+%doc doc/DOCUMENTATION
 %{_libdir}/pkgconfig/%{name}.pc
 %{_includedir}/libetpan/
 %{_includedir}/libetpan.h
 %{_libdir}/%{name}.so
 
 %changelog
+* Tue Nov 24 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.0.1-1
+- 2.0.1
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index e902782..b72b8ca 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libetpan-1.10.1.tar.gz) = 0be1958c5ca26d57e0187000e09a33929136c08e20bd0c12571d77a7ab2572c43f56710b4d65812fe6f74a33c528e821c6e2685f5bab6923d6fd5ff872286d56
+SHA512 (libetpan-2.0.1.tar.gz) = 08b030edb36d542f85fedd38ac14b4b2c2993cba9b210f865351a0ce876d089b74191eb83e8750303ae4ea1be695755a0f1123694d3de2f7de5234a627e7620e

                 reply	other threads:[~2026-11-26  5:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179567006033.1.14915176319928803837.rpms-libetpan-d1eebc6b272c@fedoraproject.org \
    --to=mtasaka@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox