Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OSS ONLY] Update spec file to use SPDX short name for license and include same #285

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions BabelfishDump.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,16 @@
# https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_of_Additional_RPM_Macros
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)

%define _trivial .0
%define _buildid .1

%undefine _missing_build_ids_terminate_build

Name: BabelfishDump
Summary: Postgresql dump utilities modified for Babelfish
Version: 15.5
Release: 1%{?dist}
License: PostgreSQL Global Development Group
Release: 1%{?dist}%{?_trivial}%{?_buildid}
License: PostgreSQL
Url: https://github.com/babelfish-for-postgresql/postgresql_modified_for_babelfish

BuildRequires: make
Expand Down Expand Up @@ -134,6 +137,8 @@ LD_LIBRARY_PATH=%{_builddir}/%{name}/src/interfaces/libpq $RPM_BUILD_ROOT/usr/bi

# FILES sections.
%files
%doc COPYRIGHT
%doc LICENSE.PostgreSQL
%{_bindir}/bbf_dump
%{_bindir}/bbf_dumpall

Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ tarball: rpm-clean
cp -p GNUmakefile* $(PACKAGE_NAME)
cp -p Makefile $(PACKAGE_NAME)
cp -rp config src $(PACKAGE_NAME)
cp COPYRIGHT LICENSE.PostgreSQL $(PACKAGE_NAME)

tar -czf $(SOURCE_TARBALL) $(PACKAGE_NAME)/*

Expand Down
Loading