This commit is contained in:
parent
d878c9864a
commit
636aa2893d
12
stfl.spec
12
stfl.spec
@ -1,6 +1,6 @@
|
|||||||
Name: stfl
|
Name: stfl
|
||||||
Version: 0.22
|
Version: 0.22
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: The Structured Terminal Forms Language/Library
|
Summary: The Structured Terminal Forms Language/Library
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -54,7 +54,7 @@ Python binding for STFL.
|
|||||||
Summary: Ruby binding for STFL
|
Summary: Ruby binding for STFL
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: ruby(abi) = 1.9.1
|
Requires: ruby(release)
|
||||||
|
|
||||||
%description ruby
|
%description ruby
|
||||||
Ruby binding for STFL.
|
Ruby binding for STFL.
|
||||||
@ -93,9 +93,12 @@ export CFLAGS="%{optflags}"
|
|||||||
#echo `ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] '`
|
#echo `ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] '`
|
||||||
sed -i 's|ruby extconf.rb|ruby extconf.rb --vendor|' ruby/Makefile.snippet
|
sed -i 's|ruby extconf.rb|ruby extconf.rb --vendor|' ruby/Makefile.snippet
|
||||||
|
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
# ruby_headers= applied as a workaround for rhbz#921650
|
||||||
|
make install DESTDIR=%{buildroot} ruby_headers=
|
||||||
# give the shared libraries executable permissions so they get stripped
|
# give the shared libraries executable permissions so they get stripped
|
||||||
# also fixes the 0555 permissions on the perl bindings
|
# also fixes the 0555 permissions on the perl bindings
|
||||||
find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
|
find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
|
||||||
@ -143,6 +146,9 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 27 2013 Vít Ondruch <vondruch@redhat.com> - 0.22-4
|
||||||
|
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
||||||
|
|
||||||
* Sun Feb 24 2013 Ben Boeckel <mathstuf@gmail.com> - 0.22-3
|
* Sun Feb 24 2013 Ben Boeckel <mathstuf@gmail.com> - 0.22-3
|
||||||
- Fix soversion glob
|
- Fix soversion glob
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user