[packages/ruby-pkg-config] - new URLs, updated to 1.1.5
qboosh
qboosh at pld-linux.org
Thu Apr 17 22:02:44 CEST 2014
commit 378e1b5382b2b64a52faa9ed05dd1f1e0bae38b9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Apr 17 22:04:47 2014 +0200
- new URLs, updated to 1.1.5
ruby-pkg-config.spec | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/ruby-pkg-config.spec b/ruby-pkg-config.spec
index 2704d47..c7720e4 100644
--- a/ruby-pkg-config.spec
+++ b/ruby-pkg-config.spec
@@ -1,14 +1,14 @@
Summary: pkg-config module for Ruby
Summary(pl.UTF-8): Moduł pkg-config dla języka Ruby
Name: ruby-pkg-config
-Version: 1.1.1
+Version: 1.1.5
Release: 1
License: LGPL v2.1+
Group: Development/Languages
#Source0Download: http://rubyforge.org/frs/?group_id=3443
-Source0: http://rubyforge.org/frs/download.php/74790/pkg-config-%{version}.tgz
-# Source0-md5: 6f20e3ac87490556a56f0a057fbdab1a
-URL: http://rubyforge.org/projects/cairo/
+Source0: https://github.com/ruby-gnome2/pkg-config/archive/%{version}/pkg-config-%{version}.tar.gz
+# Source0-md5: c9e4f92576a8ed08d26807059dbef862
+URL: https://github.com/ruby-gnome2/pkg-config
BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.277
BuildRequires: ruby-devel >= 1:1.8
@@ -25,14 +25,11 @@ Moduł pkg-config dla języka Ruby.
%prep
%setup -q -n pkg-config-%{version}
-%build
-ruby extconf.rb
-
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{ruby_rubylibdir}
-%{__make} install \
- RUBYLIBDIR=$RPM_BUILD_ROOT%{ruby_rubylibdir}
+cp -pr lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -41,3 +38,4 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc NEWS README.rdoc
%{ruby_rubylibdir}/pkg-config.rb
+%{ruby_rubylibdir}/pkg-config
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-pkg-config.git/commitdiff/378e1b5382b2b64a52faa9ed05dd1f1e0bae38b9
More information about the pld-cvs-commit
mailing list