]> git.pld-linux.org Git - packages/glibc.git/blobdiff - glibc.spec
- fixes from upstream
[packages/glibc.git] / glibc.spec
index 36a2d7b25263060bb905c6e5dc8d411e226b00d9..bd5794f90679795b03d4b832631d20bd79a9e710 100644 (file)
@@ -27,7 +27,7 @@
 %undefine      with_memusage
 %endif
 
-%define                core_version    2.22
+%define                core_version    2.23
 %define                llh_version     7:2.6.32.1-1
 
 Summary:       GNU libc
@@ -41,22 +41,22 @@ Summary(tr.UTF-8):  GNU libc
 Summary(uk.UTF-8):     GNU libc версії
 Name:          glibc
 Version:       %{core_version}
-Release:       7
+Release:       1
 Epoch:         6
 License:       LGPL v2.1+
 Group:         Libraries
 Source0:       http://ftp.gnu.org/gnu/glibc/%{name}-%{version}.tar.xz
-# Source0-md5: e51e02bf552a0a1fbbdc948fb2f5e83c
+# Source0-md5: 456995968f3acadbed39f5eba31678df
 Source2:       nscd.init
 Source3:       nscd.sysconfig
 Source4:       nscd.logrotate
 # from man-pages.spec --with tars
 Source5:       %{name}-man-pages.tar.xz
-# Source5-md5: 3a4eabb7d28db7d35d8204fdb471a863
+# Source5-md5: 465a940929350ceea2302ec4fbc90729
 Source6:       %{name}-localedb-gen
 Source7:       %{name}-LD-path.c
 Source9:       nscd.tmpfiles
-# git diff glibc-2.22..release/2.22/master
+# git diff glibc-2.23..release/2.23/master
 Patch0:                glibc-git.patch
 # against GNU TP (libc domain)
 #Patch1:               %{name}-pl.po-update.patch
@@ -80,9 +80,9 @@ Patch17:      %{name}-morelocales.patch
 Patch18:       %{name}-locale_fixes.patch
 Patch19:       %{name}-ZA_collate.patch
 Patch20:       %{name}-thread_start.patch
-Patch22:       %{name}-with-stroke.patch
+
 Patch23:       %{name}-pt_pax.patch
-Patch25:       %{name}-cv_gnu89_inline.patch
+
 Patch27:       %{name}-locale-C.patch.xz
 # Patch27-md5: 34ebe52a2afb923e33af0fb7c541f540
 Patch28:       %{name}-locale-C-pld.patch
@@ -101,7 +101,7 @@ BuildRequires:      binutils >= 2:2.15.90.0.3
 %endif
 %{!?with_cross:BuildRequires:  dietlibc-static}
 BuildRequires: gawk
-BuildRequires: gcc >= 6:4.6
+BuildRequires: gcc >= 6:4.7
 %{?with_memusage:BuildRequires:        gd-devel >= 2.0.1}
 BuildRequires: gettext-tools >= 0.10.36
 %{?with_selinux:BuildRequires: libselinux-devel >= 1.18}
@@ -981,10 +981,9 @@ exit 1
 %patch18 -p1
 %patch19 -p1
 %patch20 -p1
-%patch22 -p1
+
 %patch23 -p0
 
-%patch25 -p1
 %patch27 -p1
 %patch28 -p1
 %patch29 -p1
@@ -1036,7 +1035,7 @@ AWK="gawk" \
 
 %{__make} \
        AWK="gawk" \
-       localedir=%{_prefix}/lib/locale \
+       complocaledir=%{_prefix}/lib/locale \
        sLIBdir=%{_libdir}
 
 cd ..
@@ -1061,14 +1060,14 @@ cd builddir
 env LANGUAGE=C LC_ALL=C \
 %{__make} install \
        install_root=$RPM_BUILD_ROOT \
-       localedir=%{_prefix}/lib/locale \
+       complocaledir=%{_prefix}/lib/locale \
        infodir=%{_infodir} \
        mandir=%{_mandir}
 
 %if %{with localedb}
 env LANGUAGE=C LC_ALL=C \
 %{__make} localedata/install-locales \
-       localedir=%{_prefix}/lib/locale \
+       complocaledir=%{_prefix}/lib/locale \
        install_root=$RPM_BUILD_ROOT
 %else
 install -d $RPM_BUILD_ROOT%{_prefix}/lib/locale
@@ -1137,7 +1136,7 @@ cp -p %{SOURCE9} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/nscd.conf
 rm -rf documentation
 install -d documentation
 
-for f in ChangeLog.old DESIGN-{barrier,condvar,rwlock,systemtap-probes}.txt TODO{,-kernel,-testing}; do
+for f in ChangeLog.old DESIGN-{condvar,rwlock,systemtap-probes}.txt TODO{,-kernel,-testing}; do
        cp -af nptl/$f documentation/$f.nptl
 done
 cp -af crypt/README.ufc-crypt ChangeLog* documentation
@@ -1161,30 +1160,35 @@ done
 #   tlh - Klingon (bzflag)
 #
 # To be added when they become supported by glibc:
-#   ach    (vlc)
+#   ach    (vlc, libreport)
 #   ak     (gtkspell3)
-#   bal    (newt,pessulus)
+#   aln    (vlc, libreport)
+#   bal    (libosinfo, libreport, newt, pessulus)
 #   cgg    (vlc)
 #   co     (vlc)
 #   frp    (xfce, lxlauncher)
 #   gn     (gn_BR in gnome, maybe gn_PY)
 #   haw    (iso-codes, stellarium)
 #   hrx    (stellarium)
-#   ilo    (kudzu)
+#   ilo    (kudzu, libosinfo, libreport)
 #   io     (gtk+2, gnome, alacarte)
-#   jv     (gmpc, avant-window-navigator, kdesudo)
+#   jv     (gmpc, avant-window-navigator, kdesudo, mate-desktop)
 #   kmr    (vlc)
 #   ku_IQ  (mate-menus,mozo)
+#   kw@kkcor, kw@uccor (libosinfo - currently empty) - add as supported variants when non-empty?
 #   man    (ccsm; incorrectly named md)
 #   mus    (bluez-gnome)
 #   nah    (mate-system-monitor)
+#   nqo           (mate-desktop)
 #   pms    (deluge)
 #   sco    (gnomad2, picard, stellarium)
 #   son    (gtkspell3)
 #   swg    (sim)
 #   syr    (iso-codes)
 #   tet    (vlc)
+#   tw     (libosinfo)
 #   vec    (mate-applet-indicator)
+#   wba    (libosinfo)
 #
 # To be removed (after fixing packages still using it):
 #   sr@Latn (use sr@latin instead)
@@ -1192,6 +1196,7 @@ done
 #
 # Short forms (omitted country code, used instead of long form) for ambiguous or unclear cases:
 # aa=aa_ER
+# anp=anp_IN
 # ar=common? (AE, BH, DZ, EG, IQ, JO, KW, LB, LY, MA, OM, QA, SA, SD, SY, TN, YE)
 # az=az_AZ
 # bn=bn_BD
@@ -1239,7 +1244,7 @@ done
 #   be ca cs da de el en_GB es fi fr gl hr hu it ja ko nb nl pl pt_BR ru rw sk
 #   sv tr zh_CN zh_TW
 #
-for i in aa aa@saaho af am an ang ar ar_TN as ast az az_IR be@latin be@tarask bem \
+for i in aa aa@saaho af am an ang anp ar ar_TN as ast az az_IR be@latin be@tarask bem \
        bg bho bn bn_IN bo br brx bs byn ca@valencia ckb cmn crh csb cv cy de_AT de_CH doi dv dz en \
        en@boldquot en@quot en@shaw en_AU en_CA en_NZ en_US eo es_AR es_CL es_CO es_CR \
        es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_SV es_UY \
@@ -1260,7 +1265,7 @@ done
 
 # LC_TIME category, used for localized date formats (at least by coreutils)
 for i in af be bg ca cs da de el en eo es et eu fi fr ga gl hr hu ia id it ja kk ko lg lt \
-       ms nb nl pl pt pt_BR ro ru rw sk sl sv tr uk vi zh_CN zh_TW; do
+       ms nb nl pl pt pt_BR ro ru rw sk sl sr sv tr uk vi zh_CN zh_TW; do
        if [ ! -d $RPM_BUILD_ROOT%{_localedir}/$i ]; then
                echo "%lang($lang) %{_localedir}/$i" >> glibc.lang
        fi
@@ -1309,6 +1314,11 @@ if [ "$1" != 1 ]; then
        %service -q crond restart
 fi
 
+%triggerin -- apache-base
+if [ "$1" != 1 ]; then
+       %service -q httpd restart
+fi
+
 %ifarch %{x8664}
 # when upgrading from glibc < 6:2.19-3 copy locale-archive
 # from /usr/lib64/locale to /usr/lib/locale
@@ -1822,6 +1832,9 @@ fi
 %{_libdir}/libc.so
 %{_libdir}/libpthread.so
 # static-only libs
+%ifarch %{x8664} x32
+%{_libdir}/libmvec_nonshared.a
+%endif
 %{_libdir}/libc_nonshared.a
 %{_libdir}/libg.a
 %{_libdir}/libieee.a
This page took 0.034207 seconds and 4 git commands to generate.