rpms/rubygem-RedCloth/devel rubygem-RedCloth.spec,1.4,1.5
Darryl L. Pierce
mcpierce at fedoraproject.org
Thu Jul 30 13:39:14 UTC 2009
- Previous message (by thread): rpms/glibc/devel .cvsignore, 1.277, 1.278 glibc-fedora.patch, 1.311, 1.312 glibc.spec, 1.404, 1.405 import.log, 1.20, 1.21 sources, 1.302, 1.303
- Next message (by thread): rpms/perl-Gnome2-GConf/devel perl-Gnome2-GConf.spec,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mcpierce
Update of /cvs/pkgs/rpms/rubygem-RedCloth/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10215
Modified Files:
rubygem-RedCloth.spec
Log Message:
* Thu Jul 30 2009 Darryl Pierce <dpierce at redhat.com> - 4.1.9-7
- Resolves: rhbz#505589 - rubygem-RedCloth-debuginfo created from stripped binaries
Index: rubygem-RedCloth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-RedCloth/devel/rubygem-RedCloth.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- rubygem-RedCloth.spec 27 Jul 2009 03:24:41 -0000 1.4
+++ rubygem-RedCloth.spec 30 Jul 2009 13:39:14 -0000 1.5
@@ -4,7 +4,6 @@
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gemname RedCloth
%global gemlibname redcloth_scan.so
-%global workdir %(mktemp -d)
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
%global installroot %{buildroot}%{geminstdir}
%global extensionddir %{installroot}/ext/redcloth_scan/
@@ -12,7 +11,7 @@
Summary: Textile parser for Ruby
Name: rubygem-%{gemname}
Version: 4.1.9
-Release: 6%{?dist}
+Release: 7%{?dist}
Group: Development/Languages
License: MIT
URL: http://redcloth.org
@@ -30,6 +29,16 @@ Textile parser for Ruby.
%prep
%setup -q -c -T
+export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
+gem install --local --install-dir .%{gemdir} \
+ --force -V --rdoc %{SOURCE0}
+
+# To create debuginfo file corretly (workaround for
+# "#line" directive)
+pushd .%{geminstdir}/ext/redcloth_scan
+mkdir ext
+ln -sf .. ext/redcloth_scan
+popd
%build
@@ -40,11 +49,7 @@ install -d -m0755 %{buildroot}%{gemdir}
install -d -m0755 %{buildroot}%{ruby_sitelib}
install -d -m0755 %{buildroot}%{ruby_sitearch}
-export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
-gem install --local --install-dir %{workdir} \
- --force -V --rdoc %{SOURCE0}
-
-cp -ra %{workdir}/* %{buildroot}%{gemdir}
+cp -a .%{gemdir}/* %{buildroot}%{gemdir}
mkdir -p %{buildroot}/%{_bindir}
@@ -80,6 +85,9 @@ rm -rf %{buildroot}
%changelog
+* Thu Jul 30 2009 Darryl Pierce <dpierce at redhat.com> - 4.1.9-7
+- Resolves: rhbz#505589 - rubygem-RedCloth-debuginfo created from stripped binaries
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.1.9-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- Previous message (by thread): rpms/glibc/devel .cvsignore, 1.277, 1.278 glibc-fedora.patch, 1.311, 1.312 glibc.spec, 1.404, 1.405 import.log, 1.20, 1.21 sources, 1.302, 1.303
- Next message (by thread): rpms/perl-Gnome2-GConf/devel perl-Gnome2-GConf.spec,1.12,1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list