From 465cd2abbf21289f6ecdb0f22ad1efe37f4089be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Thu, 17 Jan 2013 15:10:39 +0100 Subject: [PATCH] Provide nonversioned packageconfig (rhbz#789532). --- ruby.spec | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ruby.spec b/ruby.spec index f5a2fb8..1a2e652 100644 --- a/ruby.spec +++ b/ruby.spec @@ -406,7 +406,7 @@ autoconf --with-vendorarchdir='%{ruby_vendorarchdir}' \ --with-rubyhdrdir='%{_includedir}' \ --with-rubygemsdir='%{rubygems_dir}' \ - --with-ruby_pc='%{name}.pc' \ + --with-ruby-pc='%{name}.pc' \ --disable-rpath \ --enable-shared \ --disable-versioned-paths @@ -579,12 +579,7 @@ make check TESTS="-v $DISABLE_TESTS" %{_includedir}/* %{_libdir}/libruby.so -# TODO -# ruby.pc still needs fixing, see bug 789532 comment 8 -%{_libdir}/pkgconfig/ruby.pc -%if 0%{?fedora} <= 18 -%{_libdir}/pkgconfig/ruby-%{major_minor_version}.pc -%endif +%{_libdir}/pkgconfig/%{name}.pc %files libs %doc COPYING