rpms/rubygem-RedCloth/F-10 rubygem-RedCloth.spec,1.2,1.3
Darryl L. Pierce
mcpierce at fedoraproject.org
Thu Jul 30 13:54:59 UTC 2009
- Previous message: rpms/gloox/F-11 .cvsignore, 1.2, 1.3 gloox.spec, 1.1, 1.2 sources, 1.2, 1.3 gloox-1.0-GCC4.4-missing_includes.patch, 1.1, NONE gloox-1.0-SVNr4003.glibc-private-symbol.patch, 1.1, NONE gloox-1.0-beta-SVNr4003-missed_header.patch, 1.1, NONE
- Next message: comps comps-f12.xml.in,1.62,1.63
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mcpierce
Update of /cvs/pkgs/rpms/rubygem-RedCloth/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17035
Modified Files:
rubygem-RedCloth.spec
Log Message:
* Thu Jul 30 2009 Darryl Pierce <dpierce at redhat.com> - 4.1.9-6
- Resolves: rhbz#505589 - rubygem-RedCloth-debuginfo created from stripped binaries
Index: rubygem-RedCloth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-RedCloth/F-10/rubygem-RedCloth.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- rubygem-RedCloth.spec 14 Jul 2009 18:39:12 -0000 1.2
+++ rubygem-RedCloth.spec 30 Jul 2009 13:54:58 -0000 1.3
@@ -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: 5%{?dist}
+Release: 6%{?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}
@@ -65,6 +70,7 @@ find %{buildroot}%{geminstdir} -type f -
rm %{installroot}/.require_paths
+
%clean
rm -rf %{buildroot}
@@ -80,6 +86,9 @@ rm -rf %{buildroot}
%changelog
+* Thu Jul 30 2009 Darryl Pierce <dpierce at redhat.com> - 4.1.9-6
+- Resolves: rhbz#505589 - rubygem-RedCloth-debuginfo created from stripped binaries
+
* Tue Jul 14 2009 Darryl Pierce <dpierce at redhat.com> - 4.1.9-5
- Resolves: rhbz#505589 - rubygem-RedCloth-debuginfo created from stripped binaries
- Previous message: rpms/gloox/F-11 .cvsignore, 1.2, 1.3 gloox.spec, 1.1, 1.2 sources, 1.2, 1.3 gloox-1.0-GCC4.4-missing_includes.patch, 1.1, NONE gloox-1.0-SVNr4003.glibc-private-symbol.patch, 1.1, NONE gloox-1.0-beta-SVNr4003-missed_header.patch, 1.1, NONE
- Next message: comps comps-f12.xml.in,1.62,1.63
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list