[okhttp] Add obsoletes for okhttp-protocols

Mikolaj Izdebski mizdebsk at fedoraproject.org
Thu Mar 12 15:48:50 UTC 2015


commit 392adb51b922c518eb4230d7bbdc4abd8e3237e5
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Thu Mar 12 16:48:23 2015 +0100

    Add obsoletes for okhttp-protocols

 okhttp.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/okhttp.spec b/okhttp.spec
index 1ed3c45..76eb1e3 100644
--- a/okhttp.spec
+++ b/okhttp.spec
@@ -1,6 +1,6 @@
 Name:           okhttp
 Version:        2.2.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        An HTTP+SPDY client for Java applications
 
 License:        ASL 2.0
@@ -14,6 +14,8 @@ BuildRequires: mvn(com.squareup.okio:okio)
 BuildRequires: mvn(org.apache.maven.plugins:maven-checkstyle-plugin)
 BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
 
+Obsoletes:     %{name}-protocols < 2
+
 %description
 An HTTP+SPDY client for Android and Java applications.
 
@@ -104,6 +106,9 @@ sed 's|\${project.version}|%{version}|' okhttp/src/main/java-templates/com/squar
 
 
 %changelog
+* Thu Mar 12 2015 Mikolaj Izdebski <mizdebsk at redhat.com> - 2.2.0-2
+- Add obsoletes for %{name}-protocols
+
 * Wed Mar 11 2015 Mikolaj Izdebski <mizdebsk at redhat.com> - 2.2.0-1
 - Update to upstream version 2.2.0
 


More information about the scm-commits mailing list