Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jayvdb:test
rubygem-pg_query
rubygem-pg_query.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rubygem-pg_query.spec of Package rubygem-pg_query
# # spec file for package rubygem-pg_query # # Copyright (c) 2017 SUSE LINUX 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/ # %define libpg_query_tag 9.5-1.4.2 Name: rubygem-pg_query Version: 0.11.5 Release: 0 %define mod_name pg_query %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 5 BuildRequires: patch BuildRequires: %{rubydevel} BuildRequires: %{rubygem gem2rpm} BuildRequires: %{rubygem rdoc > 3.10} Url: http://github.com/lfittl/pg_query Source0: https://rubygems.org/gems/%{mod_full_name}.gem Source1: https://github.com/lfittl/libpg_query/archive/9.5-1.4.2.tar.gz#/lib%{mod_name}-%{libpg_query_tag}.tar.gz Source2: rubygem-rpmlintrc Patch0: fix-for-adding-tar-gz-to-gem.patch Summary: PostgreSQL query parsing and normalization library License: BSD-3-Clause Group: Development/Languages/Ruby %description Parses SQL queries using a copy of the PostgreSQL server query parser. %prep %gem_unpack %patch0 -p1 cp -v %{SOURCE1} ext/pg_query/libpg_query.tar.gz %build %gem_build %install %gem_install \ --doc-files="CHANGELOG.md LICENSE README.md" \ -f %gem_cleanup %gem_packages %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor