[saslwrapper] Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0

Vít Ondruch vondruch at fedoraproject.org
Wed Mar 27 15:02:35 UTC 2013


commit 45027efb889a0dbe60942ef01fe1c8d229e16010
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Wed Mar 27 15:46:32 2013 +0100

    Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0

 saslwrapper.spec |   19 ++++---------------
 1 files changed, 4 insertions(+), 15 deletions(-)
---
diff --git a/saslwrapper.spec b/saslwrapper.spec
index 0521e2a..5fdec5b 100644
--- a/saslwrapper.spec
+++ b/saslwrapper.spec
@@ -1,10 +1,6 @@
-%if 0%{?fedora} < 17
-%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')}
-%endif
-
 Name:           saslwrapper
 Version:        0.16
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Ruby and Python wrappers for the Cyrus SASL library
 Group:          System Environment/Libraries
 License:        ASL 2.0
@@ -26,11 +22,7 @@ BuildRequires:  /usr/bin/ruby
 
 %{?filter_setup:
 %filter_provides_in %{python_sitearch}/.*\.so$
-%if 0%{?fedora} < 17
-%filter_provides_in %{ruby_sitearch}/.*\.so$
-%else
 %filter_provides_in %{ruby_vendorarchdir}/.*\.so$
-%endif
 %filter_setup
 }
 
@@ -68,9 +60,7 @@ Ruby bindings for the saslwrapper library.
 
 %build
 ./bootstrap
-%if 0%{?fedora} >= 17
 export RUBY_LIB_ARCH="%{ruby_vendorarchdir}"
-%endif
 %configure
 make %{?_smp_mflags}
 
@@ -98,13 +88,12 @@ make check
 %{python_sitearch}/_saslwrapper.so
 
 %files -n ruby-saslwrapper
-%if 0%{?fedora} < 17
-%{ruby_sitearch}/saslwrapper.so
-%else
 %{ruby_vendorarchdir}/saslwrapper.so
-%endif
 
 %changelog
+* Wed Mar 27 2013 Vít Ondruch <vondruch at redhat.com> - 0.16-4
+- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.16-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list