This commit is contained in:
Vít Ondruch 2014-04-25 15:10:51 +02:00
parent cb780909fa
commit 652327ba70

View File

@ -17,7 +17,7 @@ BuildRequires: perl-devel pkgconfig openssl-devel
BuildRequires: cmake
BuildRequires: systemd-units
Version: 2.4.4
Release: 1%{?dist}
Release: 2%{?dist}
Url: http://www.openwsman.org/
License: BSD
Group: Applications/System
@ -118,11 +118,7 @@ API.
%package -n rubygem-%{gem_name}
License: BSD
Group: Development/Libraries
Requires: ruby(release)
Requires: ruby(rubygems)
Summary: Ruby client bindings for Openwsman
Provides: rubygem(%{gem_name}) = %{version}
Provides: %{name}-ruby = %{version}-%{release}
Obsoletes: %{name}-ruby < %{version}-%{release}
%description -n rubygem-%{gem_name}
@ -239,8 +235,8 @@ cp -pa ./build%{gem_dir}/* \
rm -rf %{buildroot}%{gem_instdir}/ext
mkdir -p %{buildroot}%{gem_extdir_mri}/lib
mv %{buildroot}%{gem_instdir}/lib/_%{name}.so %{buildroot}%{gem_extdir_mri}/lib/
mkdir -p %{buildroot}%{gem_extdir_mri}
cp -a ./build%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/
%post -n libwsman1 -p /sbin/ldconfig
@ -332,6 +328,9 @@ rm -f /var/log/wsmand.log
%changelog
* Fri Apr 25 2014 Vít Ondruch <vondruch@redhat.com> - 2.4.4-2
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1
* Tue Mar 11 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.4.4-1
- Update to openwsman-2.4.4
- Provide rubygem-openwsman instead of openwsman-ruby (patch by Vit Ondruch)