From 85a284dd7605ba9d062bb1bbd6014d190b1ee761 Mon Sep 17 00:00:00 2001 From: gerd Date: Fri, 25 Apr 2014 12:52:36 +0200 Subject: [PATCH] Update to 2.1.7.1 --- .gitignore | 1 + rubygem-rdiscount.spec | 15 +++++++++++---- sources | 2 +- 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index ff0c204..2d4ec62 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ rdiscount-1.6.3.2.gem /rdiscount-2.0.7.gem /rdiscount-2.0.7.3.gem /rdiscount-2.1.7.gem +/rdiscount-2.1.7.1.gem diff --git a/rubygem-rdiscount.spec b/rubygem-rdiscount.spec index 1dd52ae..987dd68 100644 --- a/rubygem-rdiscount.spec +++ b/rubygem-rdiscount.spec @@ -2,8 +2,8 @@ Summary: Fast Implementation of Gruber's Markdown in C Name: rubygem-%{gem_name} -Version: 2.1.7 -Release: 2%{?dist} +Version: 2.1.7.1 +Release: 1%{?dist} Group: Development/Languages License: ASL 1.1 URL: http://github.com/rtomayko/rdiscount @@ -43,12 +43,16 @@ rm -rf %{buildroot} mkdir -p %{buildroot}%{gem_dir} mkdir -p %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_mandir}/man7 -mkdir -p %{buildroot}%{gem_extdir_mri} mv .%{gem_instdir}/man/rdiscount.1 %{buildroot}%{_mandir}/man1 mv .%{gem_instdir}/man/markdown.7 %{buildroot}%{_mandir}/man7 cp -a .%{gem_dir}/* %{buildroot}%{gem_dir} + +# Copy C extensions to the extdir rm -rf %{buildroot}%{gem_instdir}/ext -cp -a .%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/ +mkdir -p %{buildroot}%{gem_extdir_mri} +mv %{buildroot}%{gem_libdir}/rdiscount.so %{buildroot}%{gem_extdir_mri} +# The macro currently do not work +#cp -a .%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/ mkdir -p %{buildroot}/%{_bindir} mv .%{_bindir}/* %{buildroot}/%{_bindir} @@ -96,6 +100,9 @@ popd %changelog +* Fri Apr 25 2014 Gerd Pokorra - 2.1.7.1-1 +- Update to 2.1.7.1 + * Thu Apr 17 2014 Vít Ondruch - 2.1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1 diff --git a/sources b/sources index 95f89a4..9bbe55a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -33fcd949e204dcacff0002e597cdd7e7 rdiscount-2.1.7.gem +4840597da76ec33991ee60190b5dbdb7 rdiscount-2.1.7.1.gem