summary refs log tree commit diff
path: root/fedora
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2009-11-02 15:45:40 +0100
committerAndreas Schwab <schwab@redhat.com>2009-11-02 15:45:40 +0100
commit74bad6a85652af19a81aed13ec3409f89eec602e (patch)
treeaf61a5cae8aca357ffd265275474f07505b01a21 /fedora
parent27a4a1d867462f6faeb93bfaf6ced524f428fe39 (diff)
downloadglibc-74bad6a85652af19a81aed13ec3409f89eec602e.tar.gz
glibc-74bad6a85652af19a81aed13ec3409f89eec602e.tar.xz
glibc-74bad6a85652af19a81aed13ec3409f89eec602e.zip
No longer try to use separate libidn addon
Diffstat (limited to 'fedora')
-rw-r--r--fedora/Makefile3
-rw-r--r--fedora/glibc.spec.in11
2 files changed, 3 insertions, 11 deletions
diff --git a/fedora/Makefile b/fedora/Makefile
index 779bd1ca3f..85919e45d5 100644
--- a/fedora/Makefile
+++ b/fedora/Makefile
@@ -121,8 +121,7 @@ $(tar-name)-$(branch-name).tar.bz2: glibc.spec Makefile
 $(tar-name).tar.bz2: $(dep-upstream-branch) Makefile
 	@if $(upstream-pristine); then \
 	   echo 'Fetching from $(releases-url)...'; \
-	   curl $(addprefix -C - -O $(releases-url),\
-			    $@ $(@:glibc-%=glibc-libidn-%)); \
+	   curl -C - -O $(releases-url)/$@; \
 	 else \
 	   $(call git-tar,$(merge-base-id)); \
 	 fi
diff --git a/fedora/glibc.spec.in b/fedora/glibc.spec.in
index b285d54966..bb7fdcd42d 100644
--- a/fedora/glibc.spec.in
+++ b/fedora/glibc.spec.in
@@ -31,13 +31,7 @@ License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+
 Group: System Environment/Libraries
 URL: http://sources.redhat.com/glibc/
 Source0: %{?glibc_release_url}%{glibcsrcdir}.tar.bz2
-%if 0%{?glibc_release_url:1}
-%define glibc_libidn_srcdir %(echo %{glibcsrcdir} | sed s/glibc-/glibc-libidn-/)
-Source1: %{glibc_release_url}%{glibc_libidn_srcdir}.tar.bz2
-%define glibc_release_unpack -a1
-%define glibc_release_setup mv %{glibc_libidn_srcdir} libidn
-%endif
-Source2: %{glibcsrcdir}-fedora.tar.bz2
+Source1: %{glibcsrcdir}-fedora.tar.bz2
 Patch0: %{name}-fedora.patch
 Patch1: %{name}-ia64-lib64.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -238,8 +232,7 @@ package or when debugging this package.
 %endif
 
 %prep
-%setup -q -n %{glibcsrcdir} %{?glibc_release_unpack} -b2
-%{?glibc_release_setup}
+%setup -q -n %{glibcsrcdir} -b1
 %patch0 -E -p1
 %ifarch ia64
 %if "%{_lib}" == "lib64"