The package rpms/purple-telegram.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/purple-telegram.git/commit/?id=d1243....
Change: +ExcludeArch: s390x
Thanks.
Full change: ============
commit d12430ab64418c91e02c6186f8c7ecd496699739 Author: Jiri Eischmann eischmann@redhat.com Date: Wed Jun 28 12:58:07 2017 +0200
Adding a tl-parser.c patch
diff --git a/purple-telegram.spec b/purple-telegram.spec index fa2f48d..3cdea4a 100644 --- a/purple-telegram.spec +++ b/purple-telegram.spec @@ -1,11 +1,13 @@ Name: purple-telegram Version: 1.3.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Libpurple protocol plugin for Telegram support Group: Applications/Internet License: GPLv2+ and LGPLv2+ URL: https://github.com/majn/telegram-purple Source0: https://github.com/majn/telegram-purple/releases/download/v%%7Bversion%7D/te... +Patch0: tl-parser.patch +ExcludeArch: s390x ExcludeArch: ppc64 BuildRequires: gettext BuildRequires: libgcrypt-devel >= 1.6 @@ -13,7 +15,6 @@ BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(purple) BuildRequires: pkgconfig(libwebp) BuildRequires: libappstream-glib -BuildRequires: git Provides: bundled(tgl) = 2.0.1 #Upstream is not interested in unbundling tgl
@@ -22,6 +23,7 @@ Adds support for Telegram IM to purple-based clients such as Pidgin.
%prep %setup -n telegram-purple +%patch0 -p1
%build %configure @@ -50,6 +52,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/telegram- %{_datadir}/appdata/telegram-purple.metainfo.xml
%changelog +* Wed Jun 28 2017 Jiri Eischmann eischmann@redhat.com - 1.3.1-2 +- Backporting a patch to build with Werror=format-overflow + * Mon Jun 26 2017 Jiri Eischmann eischmann@redhat.com - 1.3.1-1 - Update to 1.3.1
diff --git a/tl-parser.patch b/tl-parser.patch new file mode 100644 index 0000000..ba543d2 --- /dev/null +++ b/tl-parser.patch @@ -0,0 +1,36 @@ +--- a/tgl/tl-parser/tl-parser.c ++++ b/tgl/tl-parser/tl-parser.c +@@ -1591,7 +1591,7 @@ + assert (T->type == type_nat_const); + assert (!T->nc); + if (s > 0) { +- TL_ERROR ("Nat const can not preceed with %%\n"); ++ TL_ERROR ("Nat const can not precede with %%\n"); + TL_FAIL; + } + assert (T->type == type_nat_const); +@@ -1619,7 +1619,7 @@ + L->act = act_var; + L->type = v->type ? type_num : type_type; + if (L->type == type_num && s) { +- TL_ERROR ("Nat var can not preceed with %%\n"); ++ TL_ERROR ("Nat var can not precede with %%\n"); + TL_FAIL; + } else { + if (s) { +@@ -1900,12 +1900,11 @@ + } + } + if (tt >= 0) { +- //assert (S->data); + char *name = S->data; ++ static char s[21]; + if (!name) { +- static char s[20]; + sprintf (s, "%lld", lrand48 () * (1ll << 32) + lrand48 ()); +- name = s; ++ name = s; // will be strdup'd, so reference-to-stack is fine. + } + struct tl_var *v = tl_add_var (name, S, tt); + if (!v) {TL_FAIL;} +
arch-excludes@lists.fedoraproject.org