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"] ')} %{!?ruby_vendorarch: %global ruby_vendorarch %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorarchdir"] ')}
%filter_provides_in %{perl_vendorarch}/.*\.so$ %filter_provides_in %{perl_vendorarch}/.*\.so$
%filter_provides_in %{python3_sitearch}/.*\.so$ %filter_provides_in %{python3_sitearch}/.*\.so$
@ -10,9 +10,7 @@ Version: 0.6.8
Release: 3%{?dist} Release: 3%{?dist}
License: BSD License: BSD
Url: https://github.com/openSUSE/libsolv Url: https://github.com/openSUSE/libsolv
# git clone https://github.com/openSUSE/libsolv.git Source: https://github.com/openSUSE/libsolv/archive/%{gitrev}.tar.gz
# git archive %{gitrev} --prefix=libsolv/ | xz > libsolv-%{gitrev}.tar.xz
Source: libsolv-%{gitrev}.tar.xz
Patch0: libsolv-rubyinclude.patch Patch0: libsolv-rubyinclude.patch
Patch1: libsolv-ruby22-rbconfig.patch Patch1: libsolv-ruby22-rbconfig.patch
Group: Development/Libraries Group: Development/Libraries
@ -82,7 +80,7 @@ Requires: perl
Perl bindings for sat solver. Perl bindings for sat solver.
%prep %prep
%setup -q -n libsolv %setup -q -n libsolv-%{gitrev}
%patch0 -p1 -b .rubyinclude %patch0 -p1 -b .rubyinclude
%patch1 -p1 -b .ruby-rbconfig %patch1 -p1 -b .ruby-rbconfig