1
0
forked from pool/rubygem-netrc
Stephan Kulow 2015-02-09 08:31:49 +00:00 committed by Git OBS Bridge
parent 975bdffdec
commit d184441e7f
5 changed files with 130 additions and 9 deletions

70
gem2rpm.yml Normal file
View File

@ -0,0 +1,70 @@
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
# this is a custom description
#
# it can be multiline
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
# BuildRequires: foobar
# Requires: foobar
# ## used by gem2rpm
# :patches:
# foo.patch: -p1
# bar.patch:
# ## used by gem2rpm
:sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
# ## used by gem2rpm
# :pre_install: |-
# %if 0%{?use_system_libev}
# export USE_VENDORED_LIBEV="no"
# %endif
# ## used by gem2rpm
# :post_install: |-
# # delete custom files here or do other fancy stuff
# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
# ## used by gem2rpm
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
# :post: |-
# /bin/echo foo
# ## used by gem_packages
# :main:
# :preamble: |-
# Requires: util-linux
# Recommends: pwgen
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom:
# apache:
# :preamble: |-
# Requires: .....
# :filelist: |-
# /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
# Custom description is optional
#
# bar
# :post: |-
# /bin/echo foo
#

3
netrc-0.10.2.gem Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cd51a5780665bc3978fe2a33e1edd7e902218a7edefccc7a918e39f19cdec72d
size 10752

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2dabbbc95573f80ff610b136412ad5a1e13fe26cdf4fd7467fbc750d47dac4f8
size 8192

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Mon Feb 9 08:06:38 UTC 2015 - coolo@suse.com
- updated to version 0.10.2
set file permissions in /data to be world readable after test runs
0.10.1 12/14/14
===============
fix bug for `Dir.home` when can't find home
0.10.0 12/10/14
===============
use `Dir.home` for finding home on Ruby 1.9+
0.9.0 12/01/14
==============
use HOME or HOMEPATH/HOMEDRIVE to find home on windows
0.8.0 10/16/14
==============
re-revert entry changes with minor bump
0.7.9 10/16/14
==============
revert entry changes for a backwards-compatible version
0.7.8 10/15/14
==============
add entry class to facilitate usage
switch gem source to rubygems.org
use guard, when available via guardfile
add default/read-only behavior
add allow_permissive_netrc_file option
fix an undefined variable path
fix Errno::EACCES error
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 27 18:56:44 UTC 2012 - coolo@suse.com Mon Aug 27 18:56:44 UTC 2012 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package rubygem-netrc # spec file for package rubygem-netrc
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,19 +15,28 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
#
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
# All sections marked as MANUAL, license headers, summaries and descriptions
# can be maintained in that file. Please consult this file before editing any
# of those fields
#
Name: rubygem-netrc Name: rubygem-netrc
Version: 0.7.7 Version: 0.10.2
Release: 0 Release: 0
%define mod_name netrc %define mod_name netrc
%define mod_full_name %{mod_name}-%{version} %define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ruby-macros >= 5
BuildRequires: %{ruby}
BuildRequires: %{rubygem gem2rpm} BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
Url: https://github.com/geemus/netrc Url: https://github.com/geemus/netrc
Source: http://rubygems.org/gems/%{mod_full_name}.gem Source: http://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: Library to read and write netrc files Summary: Library to read and write netrc files
License: CHECK(Ruby) License: MIT
Group: Development/Languages/Ruby Group: Development/Languages/Ruby
%description %description
@ -40,7 +49,7 @@ comments and whitespace.
%install %install
%gem_install \ %gem_install \
--doc-files="LICENSE Readme.md changelog.txt" \ --doc-files="LICENSE.md Readme.md changelog.txt" \
-f -f
%gem_packages %gem_packages