really upload sources + spec cleanup from patch
we should define which really git revision is in Release tag[0] as per packaging guidelines. Also patch is not needed, because Jan has updated git revision where patch already applied. [0] https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Snapshot_packages Cc: Colin Walters <walters@verbum.org> Cc: Jan Silhan <jsilhan@redhat.com> Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
parent
e1ce97e5d2
commit
22cd67cb4a
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@
|
|||||||
/850794025c60bf3efe8bd9e402a19cfe83b2fd7b.tar.gz
|
/850794025c60bf3efe8bd9e402a19cfe83b2fd7b.tar.gz
|
||||||
/99edb54e18f4971f50a359803633f44fdeb08428.tar.gz
|
/99edb54e18f4971f50a359803633f44fdeb08428.tar.gz
|
||||||
/2db517f87a8c0364d28c0fa2590ba034e866a4b8.tar.gz
|
/2db517f87a8c0364d28c0fa2590ba034e866a4b8.tar.gz
|
||||||
|
/libsolv-1f9abfb.tar.gz
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
%global gitrev 1f9abfb5b1bb18a8f46887fa2541957e74132567
|
%global gitrev 1f9abfb5b1bb18a8f46887fa2541957e74132567
|
||||||
|
%global shortcommit %(c=%{gitrev}; echo ${c:0:7})
|
||||||
%{!?ruby_vendorarch: %global ruby_vendorarch %(ruby -r rbconfig -e "puts RbConfig::CONFIG['vendorarchdir'].nil? ? RbConfig::CONFIG['sitearchdir'] : RbConfig::CONFIG['vendorarchdir']")}
|
%{!?ruby_vendorarch: %global ruby_vendorarch %(ruby -r rbconfig -e "puts RbConfig::CONFIG['vendorarchdir'].nil? ? RbConfig::CONFIG['sitearchdir'] : RbConfig::CONFIG['vendorarchdir']")}
|
||||||
%filter_provides_in %{perl_vendorarch}/.*\.so$
|
%filter_provides_in %{perl_vendorarch}/.*\.so$
|
||||||
%filter_provides_in %{python2_sitearch}/.*\.so$
|
%filter_provides_in %{python2_sitearch}/.*\.so$
|
||||||
@ -31,13 +32,11 @@
|
|||||||
|
|
||||||
Name: libsolv
|
Name: libsolv
|
||||||
Version: 0.6.11
|
Version: 0.6.11
|
||||||
Release: 3%{?dist}
|
Release: 3.git%{shortcommit}%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: https://github.com/openSUSE/libsolv
|
Url: https://github.com/openSUSE/libsolv
|
||||||
Source: https://github.com/openSUSE/libsolv/archive/%{gitrev}.tar.gz
|
Source: https://github.com/openSUSE/libsolv/archive/%{gitrev}.tar.gz#/%{name}-%{shortcommit}.tar.gz
|
||||||
Patch0: libsolv-rubyinclude.patch
|
Patch0: libsolv-rubyinclude.patch
|
||||||
# https://github.com/openSUSE/libsolv/commit/204406df09b45e1316f02f1f629ef79574530b3d
|
|
||||||
Patch1: 0001-Specify-PYTHONLIBS_VERSION_STRING-on-the-FIND_PACKAG.patch
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Package dependency solver
|
Summary: Package dependency solver
|
||||||
BuildRequires: cmake libdb-devel expat-devel rpm-devel zlib-devel
|
BuildRequires: cmake libdb-devel expat-devel rpm-devel zlib-devel
|
||||||
@ -135,7 +134,6 @@ Perl bindings for sat solver.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n libsolv-%{gitrev}
|
%setup -q -n libsolv-%{gitrev}
|
||||||
%patch0 -p1 -b .rubyinclude
|
%patch0 -p1 -b .rubyinclude
|
||||||
%patch1 -p1 -b .python3
|
|
||||||
|
|
||||||
%if %{with python3}
|
%if %{with python3}
|
||||||
rm -rf %{py3dir}
|
rm -rf %{py3dir}
|
||||||
|
Loading…
Reference in New Issue
Block a user