From 8385a86ecfc0ff549fb83a79041eebd859c17199b362790c61e5bc21920082a0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 22 Jan 2021 22:02:50 +0000 Subject: [PATCH 1/4] - fixup libtextstyle autofoo with adding use-acinit-for-libtextstyle.patch - fixup libtextstyle autofoo with adding use-acinit-for-libtextstyle.patch - Reintroduce autoreconf call OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=172 --- gettext-csharp.spec | 2 +- gettext-java.spec | 2 +- gettext-runtime-mini.changes | 6 ++++++ gettext-runtime-mini.spec | 15 ++++++++------- gettext-runtime.changes | 8 +++++++- gettext-runtime.spec | 13 +++++++------ use-acinit-for-libtextstyle.patch | 16 ++++++++++++++++ 7 files changed, 46 insertions(+), 16 deletions(-) create mode 100644 use-acinit-for-libtextstyle.patch diff --git a/gettext-csharp.spec b/gettext-csharp.spec index 17bf236..9de8d83 100644 --- a/gettext-csharp.spec +++ b/gettext-csharp.spec @@ -1,7 +1,7 @@ # # spec file for package gettext-csharp # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/gettext-java.spec b/gettext-java.spec index 0d83211..b819bb5 100644 --- a/gettext-java.spec +++ b/gettext-java.spec @@ -1,7 +1,7 @@ # # spec file for package gettext-java # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/gettext-runtime-mini.changes b/gettext-runtime-mini.changes index 3b01c86..08ebcaa 100644 --- a/gettext-runtime-mini.changes +++ b/gettext-runtime-mini.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 22 21:45:16 UTC 2021 - Dirk Müller + +- fixup libtextstyle autofoo with adding + use-acinit-for-libtextstyle.patch + ------------------------------------------------------------------- Fri Aug 7 07:46:39 UTC 2020 - Marketa Calabkova diff --git a/gettext-runtime-mini.spec b/gettext-runtime-mini.spec index b29b705..a7eb739 100644 --- a/gettext-runtime-mini.spec +++ b/gettext-runtime-mini.spec @@ -1,7 +1,7 @@ # # spec file for package gettext-runtime-mini # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,12 +22,12 @@ Name: gettext-runtime-mini Version: 0.21 Release: 0 -BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool # To get an updated linkdupes.sh (in case there are new dupes), temproarily enable: #BuildRequires: fdupes %if %{without mini} +BuildRequires: automake BuildRequires: glib2-devel BuildRequires: libcroco-devel BuildRequires: libxml2-devel @@ -52,18 +52,18 @@ Provides: gettext-runtime = %{version} Summary: Tools for Native Language Support (NLS) License: GPL-3.0-or-later AND LGPL-2.0-or-later Group: Development/Tools/Other -URL: http://www.gnu.org/software/gettext/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz -Source1: gettext-rpmlintrc +URL: https://www.gnu.org/software/gettext/ +Source0: https://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz +Source1: https://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz.sig Source2: suse-start-po-mode.el Source3: gettext-linkdupes.sh Source4: baselibs.conf -Source5: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz.sig +Source5: gettext-rpmlintrc Source6: %name.keyring Patch: gettext-0.12.1-sigfpe.patch Patch1: gettext-0.19.3-fix-bashisms.patch Patch2: gettext-0.12.1-gettextize.patch +Patch3: use-acinit-for-libtextstyle.patch Patch4: gettext-po-mode.diff Patch5: gettext-initialize_vars.patch # PATCH-FIX-OPENSUSE gettext-dont-test-gnulib.patch -- coolo@suse.de @@ -158,6 +158,7 @@ This package provides headers and static libraries for libtextstyle %patch %patch1 -p1 %patch2 +%patch3 -p1 %patch4 %patch5 %patch6 -p1 diff --git a/gettext-runtime.changes b/gettext-runtime.changes index f59d2a0..08ebcaa 100644 --- a/gettext-runtime.changes +++ b/gettext-runtime.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 22 21:45:16 UTC 2021 - Dirk Müller + +- fixup libtextstyle autofoo with adding + use-acinit-for-libtextstyle.patch + ------------------------------------------------------------------- Fri Aug 7 07:46:39 UTC 2020 - Marketa Calabkova @@ -5,7 +11,7 @@ Fri Aug 7 07:46:39 UTC 2020 - Marketa Calabkova - Add patches: * 0001-msgcat-Add-feature-to-use-the-newest-po-file.patch * 0002-msgcat-Merge-headers-when-use-first.patch -- Reintroduce utoreconf call +- Reintroduce autoreconf call ------------------------------------------------------------------- Tue Jul 28 09:33:34 UTC 2020 - Christian Vögl diff --git a/gettext-runtime.spec b/gettext-runtime.spec index bdc5597..497a731 100644 --- a/gettext-runtime.spec +++ b/gettext-runtime.spec @@ -1,7 +1,7 @@ # # spec file for package gettext-runtime # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -52,18 +52,18 @@ Provides: gettext-runtime = %{version} Summary: Tools for Native Language Support (NLS) License: GPL-3.0-or-later AND LGPL-2.0-or-later Group: Development/Tools/Other -URL: http://www.gnu.org/software/gettext/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source0: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz -Source1: gettext-rpmlintrc +URL: https://www.gnu.org/software/gettext/ +Source0: https://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz +Source1: https://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz.sig Source2: suse-start-po-mode.el Source3: gettext-linkdupes.sh Source4: baselibs.conf -Source5: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz.sig +Source5: gettext-rpmlintrc Source6: %name.keyring Patch: gettext-0.12.1-sigfpe.patch Patch1: gettext-0.19.3-fix-bashisms.patch Patch2: gettext-0.12.1-gettextize.patch +Patch3: use-acinit-for-libtextstyle.patch Patch4: gettext-po-mode.diff Patch5: gettext-initialize_vars.patch # PATCH-FIX-OPENSUSE gettext-dont-test-gnulib.patch -- coolo@suse.de @@ -158,6 +158,7 @@ This package provides headers and static libraries for libtextstyle %patch %patch1 -p1 %patch2 +%patch3 -p1 %patch4 %patch5 %patch6 -p1 diff --git a/use-acinit-for-libtextstyle.patch b/use-acinit-for-libtextstyle.patch new file mode 100644 index 0000000..547d27e --- /dev/null +++ b/use-acinit-for-libtextstyle.patch @@ -0,0 +1,16 @@ +--- gettext-0.21/libtextstyle/configure.ac ++++ gettext-0.21/libtextstyle/configure.ac +@@ -17,11 +17,10 @@ + dnl Process this file with autoconf to produce a configure script. + + AC_PREREQ([2.63]) +-AC_INIT ++AC_INIT([libtextstyle], ++ m4_esyscmd([source ./version.sh; echo $VERSION_NUMBER | tr -d '\n'])) + AC_CONFIG_SRCDIR([version.sh]) + AC_CONFIG_AUX_DIR([build-aux]) +-. $srcdir/version.sh +-gl_INIT_PACKAGE([libtextstyle], [$VERSION_NUMBER]) + AM_INIT_AUTOMAKE([1.13 silent-rules]) + AM_CONFIG_HEADER([config.h]) + From 314450d13d59bd670cf729d5115995b71721ad73a9e52e96e5fce150633c6fd1 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 22 Jan 2021 22:07:21 +0000 Subject: [PATCH 2/4] - use https for urls - spec-cleaner run - use https for urls OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=173 --- gettext-csharp.changes | 6 ++++ gettext-csharp.spec | 75 +++++++++++++++++++----------------------- gettext-java.changes | 5 +++ gettext-java.spec | 8 ++--- 4 files changed, 49 insertions(+), 45 deletions(-) diff --git a/gettext-csharp.changes b/gettext-csharp.changes index 2e3c499..83c5a04 100644 --- a/gettext-csharp.changes +++ b/gettext-csharp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 22 22:06:46 UTC 2021 - Dirk Müller + +- use https for urls +- spec-cleaner run + ------------------------------------------------------------------- Tue Jul 28 10:33:41 UTC 2020 - Christian Vögl diff --git a/gettext-csharp.spec b/gettext-csharp.spec index 9de8d83..d423642 100644 --- a/gettext-csharp.spec +++ b/gettext-csharp.spec @@ -16,7 +16,26 @@ # +%if 0%{?fedora_version} || 0%{?centos_version} <= 600 || 0%{?scilin_version} <= 600 || 0%{?rhel_version} <= 600 +%global debug_package %{nil} +%endif Name: gettext-csharp +Version: 0.21 +Release: 0 +Summary: Native Language Support (NLS) for C# +License: LGPL-2.1-or-later +Group: Development/Tools/Other +URL: https://www.gnu.org/software/gettext/ +Source0: https://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz +Source1: https://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz.sig +Source2: suse-start-po-mode.el +Source3: gettext-linkdupes.sh +Source4: gettext-rpmlintrc +Source5: %{name}.keyring +Patch0: gettext-0.12.1-sigfpe.patch +Patch2: gettext-0.12.1-gettextize.patch +Patch4: gettext-po-mode.diff +Patch5: gettext-initialize_vars.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: glib2-devel @@ -27,27 +46,6 @@ BuildRequires: mono-devel BuildRequires: perl-libintl-perl BuildRequires: tcl Requires: mono -URL: http://www.gnu.org/software/gettext/ -Version: 0.21 -Release: 0 -Summary: Native Language Support (NLS) for C# -License: LGPL-2.1-or-later -Group: Development/Tools/Other -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Source: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz -Source1: gettext-rpmlintrc -Source2: suse-start-po-mode.el -Source3: gettext-linkdupes.sh -Source4: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz.sig -Source5: %name.keyring -Patch: gettext-0.12.1-sigfpe.patch -Patch2: gettext-0.12.1-gettextize.patch -Patch4: gettext-po-mode.diff -Patch5: gettext-initialize_vars.patch - -%if 0%{?fedora_version} || 0%{?centos_version} <= 600 || 0%{?scilin_version} <= 600 || 0%{?rhel_version} <= 600 -%global debug_package %{nil} -%endif %description Mono with its 'resgen' program uses a design that Microsoft created and @@ -70,10 +68,9 @@ The included GNU.Gettext.dll gives the user this freedom back and the also included msgfmt.net.exe and msgunfmt.net.exe handle PO files more reliably than 'resgen'. - %prep %setup -q -n gettext-%{version} -%patch +%patch0 %patch2 %patch4 %patch5 @@ -85,11 +82,11 @@ export CXXFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint" #autoreconf -fiv #sh autogen.sh %configure --enable-shared --enable-csharp -make %{?_smp_mflags} GMSGFMT=../src/msgfmt V=1 +%make_build GMSGFMT=../src/msgfmt %install export LC_CTYPE=ISO-8859-15 -%makeinstall +%make_install mkdir examples mv %{buildroot}/%{_datadir}/doc/gettext/examples/*csharp* examples mv %{buildroot}/%{_datadir}/doc/gettext/csharpdoc csharpdoc @@ -109,24 +106,20 @@ mkdir -p %{buildroot}/%{_defaultdocdir}/%{name} mv examples %{buildroot}/%{_defaultdocdir}/%{name} mv csharpdoc %{buildroot}/%{_defaultdocdir}/%{name} # exclude files packaged via other spec files -rm -Rf %{buildroot}/%_bindir -rm -f %{buildroot}/%_libdir/lib* -rm -f %{buildroot}/%_libdir/gettext/hostname -rm -f %{buildroot}/%_libdir/gettext/project-id -rm -f %{buildroot}/%_libdir/gettext/urlget -rm -f %{buildroot}/%_libdir/gettext/user-email -rm -f %{buildroot}/%_libdir/gettext/cldr-plurals -rm -Rf %{buildroot}/%_includedir -rm -f %{buildroot}/%_libdir/preloadable_libintl.so - -%clean -rm -rf %{buildroot} +rm -Rf %{buildroot}/%{_bindir} +rm -f %{buildroot}/%{_libdir}/lib* +rm -f %{buildroot}/%{_libdir}/gettext/hostname +rm -f %{buildroot}/%{_libdir}/gettext/project-id +rm -f %{buildroot}/%{_libdir}/gettext/urlget +rm -f %{buildroot}/%{_libdir}/gettext/user-email +rm -f %{buildroot}/%{_libdir}/gettext/cldr-plurals +rm -Rf %{buildroot}/%{_includedir} +rm -f %{buildroot}/%{_libdir}/preloadable_libintl.so %files -%defattr(-,root,root) %doc %{_defaultdocdir}/%{name} -%_libdir/GNU.Gettext.dll -%_libdir/gettext/msgfmt.net.exe -%_libdir/gettext/msgunfmt.net.exe +%{_libdir}/GNU.Gettext.dll +%{_libdir}/gettext/msgfmt.net.exe +%{_libdir}/gettext/msgunfmt.net.exe %changelog diff --git a/gettext-java.changes b/gettext-java.changes index 8e18ced..a89d167 100644 --- a/gettext-java.changes +++ b/gettext-java.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 22 22:06:58 UTC 2021 - Dirk Müller + +- use https for urls + ------------------------------------------------------------------- Tue Jul 28 10:20:58 UTC 2020 - Christian Vögl diff --git a/gettext-java.spec b/gettext-java.spec index b819bb5..4e9da19 100644 --- a/gettext-java.spec +++ b/gettext-java.spec @@ -22,12 +22,12 @@ Release: 0 Summary: Java Support for Native Language Support (NLS) License: LGPL-2.1-or-later Group: Development/Tools/Other -URL: http://www.gnu.org/software/gettext/ -Source0: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz -Source1: gettext-rpmlintrc +URL: https://www.gnu.org/software/gettext/ +Source0: https://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz +Source1: https://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz.sig Source2: suse-start-po-mode.el Source3: gettext-linkdupes.sh -Source4: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz.sig +Source4: gettext-rpmlintrc Source5: %{name}.keyring Patch0: gettext-0.12.1-sigfpe.patch Patch2: gettext-0.12.1-gettextize.patch From cd689fc3c8398ac33a480b978b5bccdf411450a127e472a4d1d2889b297c502d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 24 Jan 2021 10:15:40 +0000 Subject: [PATCH 3/4] - apply all the patches from gettext-runtime - apply all the patches from gettext-runtime OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=174 --- gettext-csharp.changes | 1 + gettext-csharp.spec | 20 +++++++++++++++++++- gettext-java.changes | 1 + gettext-java.spec | 18 ++++++++++++++++++ gettext-runtime-mini.spec | 4 ++-- gettext-runtime.spec | 4 ++-- 6 files changed, 43 insertions(+), 5 deletions(-) diff --git a/gettext-csharp.changes b/gettext-csharp.changes index 83c5a04..ccd3796 100644 --- a/gettext-csharp.changes +++ b/gettext-csharp.changes @@ -3,6 +3,7 @@ Fri Jan 22 22:06:46 UTC 2021 - Dirk Müller - use https for urls - spec-cleaner run +- apply all the patches from gettext-runtime ------------------------------------------------------------------- Tue Jul 28 10:33:41 UTC 2020 - Christian Vögl diff --git a/gettext-csharp.spec b/gettext-csharp.spec index d423642..b3b8a4b 100644 --- a/gettext-csharp.spec +++ b/gettext-csharp.spec @@ -32,10 +32,21 @@ Source2: suse-start-po-mode.el Source3: gettext-linkdupes.sh Source4: gettext-rpmlintrc Source5: %{name}.keyring -Patch0: gettext-0.12.1-sigfpe.patch +Patch: gettext-0.12.1-sigfpe.patch +Patch1: gettext-0.19.3-fix-bashisms.patch Patch2: gettext-0.12.1-gettextize.patch +Patch3: use-acinit-for-libtextstyle.patch Patch4: gettext-po-mode.diff Patch5: gettext-initialize_vars.patch +# PATCH-FIX-OPENSUSE gettext-dont-test-gnulib.patch -- coolo@suse.de +Patch6: gettext-dont-test-gnulib.patch +# PATCH-FIX-UPSTREAM boo#941629 -- pth@suse.com +Patch11: boo941629-unnessary-rpath-on-standard-path.patch +# PATCH-FIX-SUSE Bug boo#1106843 +Patch13: reproducible.patch +# PATCH-FEATURE bsc#1165138 +Patch14: 0001-msgcat-Add-feature-to-use-the-newest-po-file.patch +Patch15: 0002-msgcat-Merge-headers-when-use-first.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: glib2-devel @@ -71,9 +82,16 @@ reliably than 'resgen'. %prep %setup -q -n gettext-%{version} %patch0 +%patch1 -p1 %patch2 +%patch3 -p1 %patch4 %patch5 +%patch6 -p1 +%patch11 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 %build export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint -lm" diff --git a/gettext-java.changes b/gettext-java.changes index a89d167..f53f1f0 100644 --- a/gettext-java.changes +++ b/gettext-java.changes @@ -2,6 +2,7 @@ Fri Jan 22 22:06:58 UTC 2021 - Dirk Müller - use https for urls +- apply all the patches from gettext-runtime ------------------------------------------------------------------- Tue Jul 28 10:20:58 UTC 2020 - Christian Vögl diff --git a/gettext-java.spec b/gettext-java.spec index 4e9da19..404ea61 100644 --- a/gettext-java.spec +++ b/gettext-java.spec @@ -30,9 +30,20 @@ Source3: gettext-linkdupes.sh Source4: gettext-rpmlintrc Source5: %{name}.keyring Patch0: gettext-0.12.1-sigfpe.patch +Patch1: gettext-0.19.3-fix-bashisms.patch Patch2: gettext-0.12.1-gettextize.patch +Patch3: use-acinit-for-libtextstyle.patch Patch4: gettext-po-mode.diff Patch5: gettext-initialize_vars.patch +# PATCH-FIX-OPENSUSE gettext-dont-test-gnulib.patch -- coolo@suse.de +Patch6: gettext-dont-test-gnulib.patch +# PATCH-FIX-UPSTREAM boo#941629 -- pth@suse.com +Patch11: boo941629-unnessary-rpath-on-standard-path.patch +# PATCH-FIX-SUSE Bug boo#1106843 +Patch13: reproducible.patch +# PATCH-FEATURE bsc#1165138 +Patch14: 0001-msgcat-Add-feature-to-use-the-newest-po-file.patch +Patch15: 0002-msgcat-Merge-headers-when-use-first.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: glib2-devel @@ -56,9 +67,16 @@ java+swing. %prep %setup -q -n gettext-%{version} %patch0 +%patch1 -p1 %patch2 +%patch3 -p1 %patch4 %patch5 +%patch6 -p1 +%patch11 -p1 +%patch13 -p1 +%patch14 -p1 +%patch15 -p1 %build # expect a couple "You should update your `aclocal.m4' by running aclocal." diff --git a/gettext-runtime-mini.spec b/gettext-runtime-mini.spec index a7eb739..9e4e7cb 100644 --- a/gettext-runtime-mini.spec +++ b/gettext-runtime-mini.spec @@ -60,7 +60,7 @@ Source3: gettext-linkdupes.sh Source4: baselibs.conf Source5: gettext-rpmlintrc Source6: %name.keyring -Patch: gettext-0.12.1-sigfpe.patch +Patch0: gettext-0.12.1-sigfpe.patch Patch1: gettext-0.19.3-fix-bashisms.patch Patch2: gettext-0.12.1-gettextize.patch Patch3: use-acinit-for-libtextstyle.patch @@ -155,7 +155,7 @@ This package provides headers and static libraries for libtextstyle %prep %setup -q -n %{pacname}-%{version} -%patch +%patch0 %patch1 -p1 %patch2 %patch3 -p1 diff --git a/gettext-runtime.spec b/gettext-runtime.spec index 497a731..1ff4c90 100644 --- a/gettext-runtime.spec +++ b/gettext-runtime.spec @@ -60,7 +60,7 @@ Source3: gettext-linkdupes.sh Source4: baselibs.conf Source5: gettext-rpmlintrc Source6: %name.keyring -Patch: gettext-0.12.1-sigfpe.patch +Patch0: gettext-0.12.1-sigfpe.patch Patch1: gettext-0.19.3-fix-bashisms.patch Patch2: gettext-0.12.1-gettextize.patch Patch3: use-acinit-for-libtextstyle.patch @@ -155,7 +155,7 @@ This package provides headers and static libraries for libtextstyle %prep %setup -q -n %{pacname}-%{version} -%patch +%patch0 %patch1 -p1 %patch2 %patch3 -p1 From 53add0a45921c5c769a31bf9765b2a7d7f0211d9fa0a89c8bcadc678050cb996 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 24 Jan 2021 18:18:42 +0000 Subject: [PATCH 4/4] OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=175 --- gettext-csharp.spec | 3 +-- gettext-java.spec | 1 - gettext-runtime-mini.spec | 1 - gettext-runtime.spec | 1 - 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/gettext-csharp.spec b/gettext-csharp.spec index b3b8a4b..8689329 100644 --- a/gettext-csharp.spec +++ b/gettext-csharp.spec @@ -97,8 +97,7 @@ reliably than 'resgen'. export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint -lm" export CXXFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint" # expect a couple "You should update your `aclocal.m4' by running aclocal." -#autoreconf -fiv -#sh autogen.sh +autoreconf -fiv %configure --enable-shared --enable-csharp %make_build GMSGFMT=../src/msgfmt diff --git a/gettext-java.spec b/gettext-java.spec index 404ea61..9e8a32b 100644 --- a/gettext-java.spec +++ b/gettext-java.spec @@ -81,7 +81,6 @@ java+swing. %build # expect a couple "You should update your `aclocal.m4' by running aclocal." autoreconf -fiv -#sh autogen.sh export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint -lm" export CXXFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint" %configure --enable-shared --enable-java diff --git a/gettext-runtime-mini.spec b/gettext-runtime-mini.spec index 9e4e7cb..261e4f4 100644 --- a/gettext-runtime-mini.spec +++ b/gettext-runtime-mini.spec @@ -171,7 +171,6 @@ This package provides headers and static libraries for libtextstyle %define _lto_cflags %{nil} # expect a couple "You should update your `aclocal.m4' by running aclocal." autoreconf -fiv -#sh autogen.sh export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint" export CXXFLAGS="$CFLAGS -Dgcc_is_lint" export LDFLAGS="-lm" diff --git a/gettext-runtime.spec b/gettext-runtime.spec index 1ff4c90..bbbfeda 100644 --- a/gettext-runtime.spec +++ b/gettext-runtime.spec @@ -171,7 +171,6 @@ This package provides headers and static libraries for libtextstyle %define _lto_cflags %{nil} # expect a couple "You should update your `aclocal.m4' by running aclocal." autoreconf -fiv -#sh autogen.sh export CFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint" export CXXFLAGS="$CFLAGS -Dgcc_is_lint" export LDFLAGS="-lm"