[dnsyo/f20] fix build on fedora

Ricky Elrod codeblock at fedoraproject.org
Fri Nov 8 01:03:29 UTC 2013


commit 92a69f17bbb0ed1392cd7c5b6402091bff7f7f96
Author: Ricky Elrod <ricky at elrod.me>
Date:   Thu Nov 7 20:02:33 2013 -0500

    fix build on fedora

 dnsyo.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/dnsyo.spec b/dnsyo.spec
index 1ef4e6b..fb9bc88 100644
--- a/dnsyo.spec
+++ b/dnsyo.spec
@@ -7,7 +7,7 @@
 
 Name:           dnsyo
 Version:        1.1.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Check DNS against many global DNS servers
 
 Group:          Applications/Internet
@@ -59,7 +59,7 @@ Track the propagation of your domains around the world.
 
 %prep
 %setup -q
-sed -i 's/requests==2.0.0/requests>=1.1.0/' setup.py
+sed -i "s/'requests.*'/'requests >= 1.1.0'/" setup.py
 
 %build
 %{__python} setup.py build
@@ -108,6 +108,9 @@ help2man -N --version-string=%{version} %{buildroot}/%{_bindir}/%{name} > %{buil
 %endif
 
 %changelog
+* Thu Nov 7 2013 Ricky Elrod <codeblock at fedoraproject.org> - 1.1.4-2
+- Fix 'requests' sed to fix the build on Fedora.
+
 * Tue Nov 5 2013 Ricky Elrod <codeblock at fedoraproject.org> - 1.1.4-1
 - Latest upstream version.
 


More information about the scm-commits mailing list