Accepting request 173413 from home:nkrinner
Chef 11 software stack OBS-URL: https://build.opensuse.org/request/show/173413 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/erlang-chef_objects?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
@@ -0,0 +1,23 @@
|
||||
--- rebar.config 2013-04-22 13:36:38.205485051 +0200
|
||||
+++ rebar.config.patched 2013-04-25 13:35:06.727221777 +0200
|
||||
@@ -3,20 +3,6 @@
|
||||
{erl_opts, [debug_info]}.
|
||||
|
||||
{deps, [
|
||||
- {meck, ".*",
|
||||
- {git, "git://github.com/eproxus/meck.git", {branch, "master"}}},
|
||||
- {jiffy, ".*",
|
||||
- {git, "git://github.com/davisp/jiffy.git", {tag, "0.6.1"}}},
|
||||
- {ej, ".*",
|
||||
- {git, "git://github.com/seth/ej.git", {branch, "master"}}},
|
||||
- {ibrowse, ".*",
|
||||
- {git, "git://github.com/opscode/ibrowse.git", {tag, "v4.0.1.1"}}},
|
||||
- {mini_s3, ".*",
|
||||
- {git, "git://github.com/opscode/mini_s3.git", {branch, "master"}}},
|
||||
- {depsolver, ".*",
|
||||
- {git, "git://github.com/opscode/depsolver.git", {branch, "master"}}},
|
||||
- {chef_authn, ".*",
|
||||
- {git, "git://github.com/opscode/chef_authn.git", {branch, "master"}}}
|
||||
]}.
|
||||
|
||||
{cover_enabled, true}.
|
11
PATCH02-remove-version-check-with-git.patch
Normal file
11
PATCH02-remove-version-check-with-git.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- src/chef_objects.app.src 2013-04-22 13:36:38.206485051 +0200
|
||||
+++ src/chef_objects.app.src.patched 2013-04-25 13:36:52.583220768 +0200
|
||||
@@ -18,7 +18,7 @@
|
||||
{application, chef_objects,
|
||||
[
|
||||
{description, "Chef object types and support modules"},
|
||||
- {vsn, git},
|
||||
+ {vsn, ""},
|
||||
{registered, []},
|
||||
{applications, [
|
||||
kernel,
|
17
_service
Normal file
17
_service
Normal file
@@ -0,0 +1,17 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<param name="url">git://github.com/opscode/chef_objects.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="versionformat">0.0.0+git.%ct.%h</param>
|
||||
</service>
|
||||
|
||||
<service name="recompress" mode="disabled">
|
||||
<param name="file">chef_objects-*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
|
||||
<service name="set_version" mode="disabled">
|
||||
<param name="basename">chef_objects</param>
|
||||
</service>
|
||||
</services>
|
||||
|
3
chef_objects-0.0.0+git.1362634740.f470688.tar.gz
Normal file
3
chef_objects-0.0.0+git.1362634740.f470688.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:241b0f602ea525f1a2f3d9fe4476efd1c4e3aa7106993771d2eadb676ab552ed
|
||||
size 85104
|
12
erlang-chef_objects.changes
Normal file
12
erlang-chef_objects.changes
Normal file
@@ -0,0 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 25 12:00:16 UTC 2013 - nkrinner@suse.com
|
||||
|
||||
- Added PATCH01-remove-build-dependencies-from-rebar.config-file.patch
|
||||
- Added PATCH02-remove-version-check-with-git.patch
|
||||
- Packaged include/ directory
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 22 11:36:52 UTC 2013 - nkrinner@suse.com
|
||||
|
||||
- Initial package
|
||||
|
69
erlang-chef_objects.spec
Normal file
69
erlang-chef_objects.spec
Normal file
@@ -0,0 +1,69 @@
|
||||
#
|
||||
# spec file for package erlang-chef_objects
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: erlang-chef_objects
|
||||
Version: 0.0.0+git.1362634740.f470688
|
||||
%define mod_ver %(echo "%{version}" | cut -d "+" -f1)
|
||||
Release: 0
|
||||
License: Apache-2.0
|
||||
Summary: Object types and helpers for Erlang Chef
|
||||
Url: http://github.com/opscode/chef_objects/
|
||||
Group: Development/Libraries/Other
|
||||
Source: chef_objects-%{version}.tar.gz
|
||||
Patch01: PATCH01-remove-build-dependencies-from-rebar.config-file.patch
|
||||
Patch02: PATCH02-remove-version-check-with-git.patch
|
||||
BuildRequires: erlang-rebar
|
||||
Requires: erlang
|
||||
BuildRequires: erlang-meck
|
||||
Requires: erlang-meck
|
||||
BuildRequires: erlang-jiffy
|
||||
Requires: erlang-jiffy
|
||||
BuildRequires: erlang-ej
|
||||
Requires: erlang-ej
|
||||
BuildRequires: erlang-ibrowse
|
||||
Requires: erlang-ibrowse
|
||||
BuildRequires: erlang-mini_s3
|
||||
Requires: erlang-mini_s3
|
||||
BuildRequires: erlang-depsolver
|
||||
Requires: erlang-depsolver
|
||||
BuildRequires: erlang-chef_authn
|
||||
Requires: erlang-chef_authn
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Object types and helpers for Erlang Chef.
|
||||
|
||||
%prep
|
||||
%setup -n chef_objects-%{version}
|
||||
%patch01
|
||||
%patch02
|
||||
|
||||
%build
|
||||
%rebar compile escriptize
|
||||
|
||||
%install
|
||||
for dir in ebin include ; do
|
||||
install -d %{buildroot}%{erlang_libdir}/chef_objects-%{mod_ver}/${dir}
|
||||
cp -r ${dir}/* %{buildroot}%{erlang_libdir}/chef_objects-%{mod_ver}/${dir}/
|
||||
done
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{erlang_libdir}/chef_objects-%{mod_ver}
|
||||
%{erlang_libdir}/chef_objects-%{mod_ver}/ebin
|
||||
%{erlang_libdir}/chef_objects-%{mod_ver}/include
|
||||
|
Reference in New Issue
Block a user