[debmirror] Disabling IPv6 to solve dep problems (INET6Glue is not yet packaged)

Patrick Uiterwijk puiterwijk at fedoraproject.org
Sat Jul 21 16:32:45 UTC 2012


commit 806fbe6d3c3eb7b2ea0a2cdc99b48223f3fd5b9f
Author: Patrick Uiterwijk <puiterwijk at gmail.com>
Date:   Sat Jul 21 18:31:32 2012 +0200

    Disabling IPv6 to solve dep problems (INET6Glue is not yet packaged)

 debmirror.disableipv6.patch |   11 +++++++++++
 debmirror.spec              |   10 +++++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/debmirror.disableipv6.patch b/debmirror.disableipv6.patch
new file mode 100644
index 0000000..b482de5
--- /dev/null
+++ b/debmirror.disableipv6.patch
@@ -0,0 +1,11 @@
+--- debmirror	2012-06-27 01:28:46.000000000 +0200
++++ debmirror	2012-07-21 18:27:54.038189733 +0200
+@@ -537,7 +537,7 @@ use LockFile::Simple;
+ use Compress::Zlib;
+ use Digest::MD5;
+ use Digest::SHA;
+-use Net::INET6Glue;
++# use Net::INET6Glue;
+ use Net::FTP;
+ use LWP::UserAgent;
+ 
diff --git a/debmirror.spec b/debmirror.spec
index d6d87c7..7f0ddd8 100644
--- a/debmirror.spec
+++ b/debmirror.spec
@@ -1,12 +1,16 @@
 Name:		debmirror
 Version:	2.14
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Debian partial mirror script, with ftp and package pool support
 
 Group:		Applications/Internet
 License:	GPLv2+
 URL:		http://packages.qa.debian.org/d/%{name}.html
 Source:		http://ftp.debian.org/debian/pool/main/d/%{name}/%{name}_%{version}.tar.gz
+
+# Disable IPv6, because INET6Glue is not yet package into Fedora
+Patch0:		%{name}.disableipv6.patch
+
 BuildArch:	noarch
 Requires:	patch, ed, gnupg, rsync, coreutils, findutils, gzip, bzip2
 
@@ -19,6 +23,7 @@ pools are fully supported. It also does locking and updates trace files.
 
 %prep
 %setup -q -n %{name}
+%patch0 -p0
 
 %build
 
@@ -41,6 +46,9 @@ pod2man %{name} %{buildroot}%{_mandir}/man1/%{name}.1
 
 
 %changelog
+* Sat Jul 21 2012 Patrick Uiterwijk <puiterwijk at gmail.com> - 2.14-2
+- Disabling IPv6 to solve dep problems (INET6Glue is not yet packaged)
+
 * Sat Jul 21 2012 Patrick Uiterwijk <puiterwijk at gmail.com> - 2.14-1
 - Updating to upstream 2.14
 


More information about the scm-commits mailing list