[libsolv] fixed source

jsilhan jsilhan at fedoraproject.org
Mon Mar 2 10:27:57 UTC 2015


commit 29160579618b22141dff9d0423dc456b9c4910fa
Author: Jan Silhan <jsilhan at redhat.com>
Date:   Mon Mar 2 11:27:54 2015 +0100

    fixed source

 libsolv.spec | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/libsolv.spec b/libsolv.spec
index 34a268f..dd8b8f1 100644
--- a/libsolv.spec
+++ b/libsolv.spec
@@ -1,4 +1,4 @@
-%global gitrev 78c8a55
+%global gitrev 78c8a55bc087f45e231276ed5c33c84aed55463c
 %{!?ruby_vendorarch: %global ruby_vendorarch %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorarchdir"] ')}
 %filter_provides_in %{perl_vendorarch}/.*\.so$
 %filter_provides_in %{python3_sitearch}/.*\.so$
@@ -10,9 +10,7 @@ Version:	0.6.8
 Release:	3%{?dist}
 License:	BSD
 Url:		https://github.com/openSUSE/libsolv
-# git clone https://github.com/openSUSE/libsolv.git
-# git archive %{gitrev} --prefix=libsolv/ | xz > libsolv-%{gitrev}.tar.xz
-Source:		libsolv-%{gitrev}.tar.xz
+Source:		https://github.com/openSUSE/libsolv/archive/%{gitrev}.tar.gz
 Patch0:		libsolv-rubyinclude.patch
 Patch1:		libsolv-ruby22-rbconfig.patch
 Group:		Development/Libraries
@@ -82,7 +80,7 @@ Requires:	perl
 Perl bindings for sat solver.
 
 %prep
-%setup -q -n libsolv
+%setup -q -n libsolv-%{gitrev}
 %patch0 -p1 -b .rubyinclude
 %patch1 -p1 -b .ruby-rbconfig
 


More information about the scm-commits mailing list