licensing: Use GPLv2+ for scripts, LGPLv2+ for libraries
Version: 1-2
This commit is contained in:
parent
ccd34dc8ab
commit
d22c0cbc3b
@ -12,7 +12,7 @@
|
||||
Summary: More or less DB related rpm configuration files
|
||||
Name: %{?script_ns}rpm-config
|
||||
Version: 1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPL+
|
||||
Group: Development/System
|
||||
URL: https://github.com/devexp-db/db-rpm-config
|
||||
@ -50,5 +50,8 @@ install -m 755 -p %{SOURCE0} %{buildroot}/%{ml_fix}
|
||||
%{macrosdir}
|
||||
|
||||
%changelog
|
||||
* Fri Nov 27 2015 Pavel Raiskup <praiskup@redhat.com> - 1-2
|
||||
- fix licensing in Sources
|
||||
|
||||
* Wed Nov 18 2015 Pavel Raiskup <praiskup@redhat.com> - 1-1
|
||||
- initial packaging
|
||||
|
18
macros.ml
18
macros.ml
@ -1 +1,19 @@
|
||||
# Basic set of macros for 'fix-multilib' script.
|
||||
# Copyright (C) 2015 Red Hat, Inc.
|
||||
# Written by Pavel Raiskup <praiskup@redhat.com>
|
||||
#
|
||||
# This library is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU Lesser General Public
|
||||
# License as published by the Free Software Foundation; either
|
||||
# version 2.1 of the License, or (at your option) any later version.
|
||||
#
|
||||
# This library is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
# Lesser General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Lesser General Public
|
||||
# License along with this library; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
%@ML_MACRO_PFX@ml_fix_c_header @ML_FIX@ --buildroot "$RPM_BUILD_ROOT"
|
||||
|
24
multilib-fix
24
multilib-fix
@ -1,13 +1,24 @@
|
||||
#! /bin/sh
|
||||
|
||||
# Fix multilib issue for header files.
|
||||
# Copyright (C) 2015 Red Hat, Inc.
|
||||
# Written by Pavel Raiskup <praiskup@redhat.com>
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License along
|
||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
# Replace the multilib-unclean header file with multilib-clean stub, while the
|
||||
# original file is moved to unique architecture-specific location.
|
||||
#
|
||||
# The solution is taken from Fedora PostgreSQL RPM package.
|
||||
#
|
||||
# Pavel Raiskup <praiskup@redhat.com>
|
||||
#
|
||||
# This file is to be moved into redhat-rpm-config (or something like this).
|
||||
|
||||
progname=$(basename "$0")
|
||||
|
||||
@ -22,6 +33,7 @@ opt_additional_suffix=
|
||||
# TODO: we could pretty easily implement other then 'cpp-header' stubs, if the
|
||||
# target file type allows some kind of "transparent" file inclusion. For
|
||||
# example shell scripts might use '. "${destdir}/${filename}_x86_64.sh'.
|
||||
# The solution is taken from Fedora PostgreSQL RPM package.
|
||||
print_stub ()
|
||||
{
|
||||
cat <<EOF
|
||||
|
Loading…
Reference in New Issue
Block a user