]> git.pld-linux.org Git - packages/ruby-augeas.git/blobdiff - ruby-augeas.spec
- rebuild with ruby 2.3
[packages/ruby-augeas.git] / ruby-augeas.spec
index bfd8115fadb6ce7786e5cc1c3b4865e289cc97bd..58a54d998e12131b3eac8466ceb4d9b9616ef2e7 100644 (file)
@@ -1,23 +1,22 @@
 Summary:       Ruby bindings for augeas
 Summary(pl.UTF-8):     Wiązania języka Ruby do augeasa
 Name:          ruby-augeas
-Version:       0.4.1
-Release:       1
+Version:       0.5.0
+Release:       4
 License:       LGPL v2.1+
-Source0:       http://augeas.net/download/ruby/%{name}-%{version}.tgz
-# Source0-md5: b7d059cdcbe8b78727b08882b7128ba7
+Source0:       http://download.augeas.net/ruby/%{name}-%{version}.tgz
+# Source0-md5: a132eace43ce13ccd059e22c0b1188ac
 Group:         Development/Languages
 URL:           http://augeas.net/
+BuildRequires: augeas-devel
+BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.484
 BuildRequires: ruby >= 1:1.8.1
 BuildRequires: ruby-rake
+BuildRequires: sed >= 4.0
 %{?ruby_mod_ver_requires_eq}
-#BuildArch:    noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-# nothing to be placed there. we're not noarch only because of ruby packaging
-%define                _enable_debug_packages  0
-
 %description
 Ruby bindings for augeas.
 
@@ -27,7 +26,7 @@ Wiązania języka Ruby do augeasa.
 %prep
 %setup -q
 
-sed -i -e 's,"make","%{__make} CC=\\"%{__cc}\\" CFLAGS=\\"%{rpmcflags} -fPIC\\"",' Rakefile
+%{__sed} -i -e 's@"make"@"%{__make} CC=\\"%{__cc}\\" CFLAGS=\\"%{rpmcflags} -fPIC $(pkg-config --cflags augeas)\\""@' Rakefile
 
 %build
 rake build
This page took 0.076325 seconds and 4 git commands to generate.