Pass CFLAGS to extconf.rb.
This commit is contained in:
parent
4e7965c157
commit
f665bea1c4
@ -8,7 +8,7 @@
|
|||||||
Summary: A Ruby interface to the PostgreSQL RDBMS
|
Summary: A Ruby interface to the PostgreSQL RDBMS
|
||||||
Name: rubygem-%{gemname}
|
Name: rubygem-%{gemname}
|
||||||
Version: 0.11.0
|
Version: 0.11.0
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
# Upstream license clarification (https://bitbucket.org/ged/ruby-pg/issue/72/)
|
# Upstream license clarification (https://bitbucket.org/ged/ruby-pg/issue/72/)
|
||||||
#
|
#
|
||||||
@ -47,8 +47,9 @@ Documentation for %{name}
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -c -T
|
%setup -q -c -T
|
||||||
mkdir -p .%{gemdir}
|
mkdir -p .%{gemdir}
|
||||||
|
export CONFIGURE_ARGS="--with-cflags='%{optflags}'"
|
||||||
gem install --local --install-dir .%{gemdir} \
|
gem install --local --install-dir .%{gemdir} \
|
||||||
--force %{SOURCE0}
|
-V --force %{SOURCE0}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
@ -106,6 +107,9 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 03 2011 Vít Ondruch <vondruch@redhat.com> - 0.11.0-5
|
||||||
|
- Pass CFLAGS to extconf.rb.
|
||||||
|
|
||||||
* Fri Jun 03 2011 Vít Ondruch <vondruch@redhat.com> - 0.11.0-4
|
* Fri Jun 03 2011 Vít Ondruch <vondruch@redhat.com> - 0.11.0-4
|
||||||
- Binary extension moved into ruby_sitearch dir.
|
- Binary extension moved into ruby_sitearch dir.
|
||||||
- -doc subpackage made architecture independent.
|
- -doc subpackage made architecture independent.
|
||||||
|
Loading…
Reference in New Issue
Block a user