Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
828605661d | ||
|
|
eae0d56af7 |
1 changed files with 14 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue