Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Greg Hellings
828605661d Add explicit Provides 2016-01-06 12:06:25 -06:00
Greg Hellings
eae0d56af7 Updated build process for EPEL-7 2016-01-05 12:23:58 -06:00

View file

@ -2,7 +2,7 @@
Name: rubygem-%{gem_name}
Version: 3.3.2
Release: 1%{?dist}
Release: 3%{?dist}
Summary: A fast, safe and extensible Markdown to (X)HTML parser
Group: Development/Languages
# https://github.com/vmg/redcarpet/issues/502
@ -13,6 +13,9 @@ BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby-devel
BuildRequires: rubygem(test-unit)
%if 0%{?rhel} == 7
Provides: rubygem(%{gem_name}) = %{version}
%endif
%description
A fast, safe and extensible Markdown to (X)HTML parser.
@ -45,7 +48,11 @@ cp -a ./%{_bindir}/* %{buildroot}%{_bindir}
chmod 755 %{buildroot}%{_bindir}/redcarpet
mkdir -p %{buildroot}%{gem_extdir_mri}
%if 0%{?rhel} > 6
mv %{buildroot}%{gem_instdir}/lib/*.so %{buildroot}%{gem_extdir_mri}
%else
cp -a .%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/
%endif
# Prevent dangling symlink in -debuginfo.
rm -rf %{buildroot}%{gem_instdir}/ext
@ -75,6 +82,12 @@ popd
%changelog
* Wed Jan 06 2016 Greg Hellings <greg.hellings@gmail.com> - 3.2.2-3
- Add explicit support for EPEL7
* Tue Jan 05 2016 Greg Hellings <greg.hellings@gmail.com> - 3.2.2-2
- Add support for EPEL7
* Wed Jul 08 2015 Vít Ondruch <vondruch@redhat.com> - 3.3.2-1
- Update to Redcarpet 3.3.2.