]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
More tweaks to use released tarballs
authorRoland McGrath <roland@gnu.org>
Thu, 7 Apr 2005 08:30:40 +0000 (08:30 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 7 Apr 2005 08:30:40 +0000 (08:30 +0000)
fedora/Makefile
fedora/glibc.spec.in

index 0513a8efaead9b083e3075d00f786e785fe8ba07..5b240f6fbecd581d244551a8edd6628a18867729 100644 (file)
@@ -63,6 +63,7 @@ glibc.spec: glibc.spec.in ../version.h branch.mk
        (echo '%define glibcdate $(snapshot-name)'; \
         echo '%define glibcname $(tar-name)'; \
         echo '%define glibcsrcdir $(srcdir-name)'; \
+        echo '%define glibc_release_tarballs $(if $(upstream),1,0)'; \
         sed -n '/VERSION/s/^.*"\([^"]*\)"$$/%define glibcversion \1/p' \
             ../version.h; \
         cat $<) > $@.new
@@ -126,6 +127,7 @@ $(tar-name)-$(branch-name)-$(snapshot-name).tar.bz2: Makefile branch.mk \
        rm -rf libc
        mv -f $@.new $@
 
+glibc-tarballs = $(srcdir-name).tar.bz2
 ifeq (,$(upstream))
 $(srcdir-name).tar.bz2: Makefile branch.mk
        @rm -rf $(srcdir-name)
@@ -134,13 +136,17 @@ $(srcdir-name).tar.bz2: Makefile branch.mk
        rm -rf $(srcdir-name)
        mv -f $@.new $@
 else
-$(srcdir-name).tar.bz2:
+glibc-tarballs += $(srcdir-name:glibc-%=glibc-linuxthreads-%).tar.bz2 \
+                 $(srcdir-name:glibc-%=glibc-libidn-%).tar.bz2
+
+$(glibc-tarballs):
        curl -O $(releases-url)/$@
 endif
 
 archives = $(srcdir-name).tar.bz2 \
           $(tar-name)-$(branch-name)-$(snapshot-name).tar.bz2 \
           $(tar-name)-$(branch-name).patch
+
 finish_archive: $(archives)
 
 archive: glibc.spec
index 743c65445e152e8129c215ad030851c69605346e..55df7f9c461447ef4546f4f57c4fb0f0aa3f18ab 100644 (file)
@@ -1,4 +1,4 @@
-%define glibcrelease 2.fc3.6
+%define glibcrelease 0.fc3.1
 %define auxarches i586 i686 athlon sparcv9 alphaev6
 %define prelinkarches noarch
 %define nptlarches i386 i686 athlon x86_64 ia64 s390 s390x sparcv9 ppc ppc64
@@ -13,7 +13,12 @@ Release: %{glibcrelease}
 License: LGPL
 Group: System Environment/Libraries
 Source0: %{glibcsrcdir}.tar.bz2
-Source1: %{glibcname}-fedora-%{glibcdate}.tar.bz2
+%if %{glibc_release_tarballs}
+Source1: %(echo %{glibcsrcdir} | sed s/glibc-/glibc-linuxthreads-/).tar.bz2
+Source2: %(echo %{glibcsrcdir} | sed s/glibc-/glibc-libidn-/).tar.bz2
+%define glibc_release_unpack -a1 -a2
+%endif
+Source3: %{glibcname}-fedora-%{glibcdate}.tar.bz2
 Patch0: %{glibcname}-fedora.patch
 Patch1: %{name}-nptl-check.patch
 Patch2: %{name}-ppc-assume.patch
@@ -247,7 +252,7 @@ package or when debugging this package.
 %endif
 
 %prep
-%setup -q -n %{glibcsrcdir} -a1
+%setup -q -n %{glibcsrcdir} %{glibc_release_unpack} -a3
 %patch0 -E -p1
 case "`gcc --version | head -1`" in
 gcc*\ 3.[34]*)
@@ -1269,8 +1274,8 @@ rm -f *.filelist*
 %endif
 
 %changelog
-* Tue Apr  5 2005 Roland McGrath <roland@redhat.com> 2.3.4-2.fc3.6
-- update from CVS (glibc-2_3-branch)
+* Thu Apr  7 2005 Roland McGrath <roland@redhat.com> 2.3.5-0.fc3.1
+- update to glibc 2.3.5 release
   - dlclose fixes merged (#145810, #150414, BZ#821)
   - fix a typo in WINDOWS-31J charmap (#151739, BZ#823)
   - fix NIS ypprot_err (#151469, BZ#822)