[packages/ruby-netrc] up to 0.7.9
glen
glen at pld-linux.org
Sun Dec 14 20:40:24 CET 2014
commit 0291a71eb2c255a1fde32084ed0d66f1d9b2048a
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Dec 14 21:40:14 2014 +0200
up to 0.7.9
ruby-netrc.spec | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
---
diff --git a/ruby-netrc.spec b/ruby-netrc.spec
index 5bfa02f..78119ec 100644
--- a/ruby-netrc.spec
+++ b/ruby-netrc.spec
@@ -2,18 +2,16 @@
# Conditional build:
%bcond_without tests # build without tests
-%define gem_name netrc
+%define pkgname netrc
Summary: Library to read and write netrc files
-Name: ruby-%{gem_name}
-Version: 0.7.7
-Release: 4
+Name: ruby-%{pkgname}
+Version: 0.7.9
+Release: 1
License: MIT
Group: Development/Languages
-Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
-# Source0-md5: 1322b2053484eec64992e00c7f71cd69
-Patch0: https://github.com/glensc/netrc/commit/c4967ef0b3e6a9d4ffd491009e9caccdfb552a02.patch
-# Patch0-md5: 1f865973c16d590a8be9c6b69282e7dc
-URL: https://github.com/geemus/netrc
+Source0: http://rubygems.org/gems/%{pkgname}-%{version}.gem
+# Source0-md5: 177ed2c83e6037aed863144a53a39021
+URL: https://github.com/heroku/netrc
BuildRequires: rpm-rubyprov
BuildRequires: rpmbuild(macros) >= 1.665
%if %{with tests}
@@ -36,8 +34,7 @@ Requires: %{name} = %{version}-%{release}
Documentation for %{name}
%prep
-%setup -q -n %{gem_name}-%{version}
-%patch0 -p1
+%setup -q -n %{pkgname}-%{version}
chmod 600 data/newlineless.netrc
@@ -63,6 +60,6 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc Readme.md LICENSE changelog.txt
+%doc Readme.md LICENSE.md changelog.txt
%{ruby_vendorlibdir}/netrc.rb
%{ruby_specdir}/%{pkgname}-%{version}.gemspec
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-netrc.git/commitdiff/0291a71eb2c255a1fde32084ed0d66f1d9b2048a
More information about the pld-cvs-commit
mailing list