fixed source

This commit is contained in:
Jan Silhan 2015-03-02 11:27:54 +01:00
parent 722189b8bb
commit 2916057961

View File

@ -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