changeset 11:276a4d472ca9

Updated copyright year, added SPDX tag, use %{buildroot}.
author Sjoerd Mullender <sjoerd@acm.org>
date Fri, 17 Mar 2023 16:38:56 +0100 (2023-03-17)
parents d2a10f4c664e
children c2cc60d2f813
files Makefile MonetDB-release.spec
diffstat 2 files changed, 18 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Oct 05 16:00:37 2018 +0200
+++ b/Makefile	Fri Mar 17 16:38:56 2023 +0100
@@ -1,8 +1,10 @@
+# SPDX-License-Identifier: MPL-2.0
+#
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0.  If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 #
-# Copyright 1997 - July 2008 CWI, August 2008 - 2017 MonetDB B.V.
+# Copyright 1997 - July 2008 CWI, August 2008 - 2023 MonetDB B.V.
 
 NAME = MonetDB-release
 
--- a/MonetDB-release.spec	Fri Oct 05 16:00:37 2018 +0200
+++ b/MonetDB-release.spec	Fri Mar 17 16:38:56 2023 +0100
@@ -1,10 +1,18 @@
+# SPDX-License-Identifier: MPL-2.0
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0.  If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# Copyright 1997 - July 2008 CWI, August 2008 - 2023 MonetDB B.V.
+
 Name:		MonetDB-release
 Version:	1.3
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	MonetDB DNF Repository
 
 Group:		Applications/Databases
-License:	MPLv2.0
+License:	MPL-2.0
 URL:		https://dev.monetdb.org/downloads/
 Source0:	https://dev.monetdb.org/downloads/sources/%{name}-%{version}.tar.gz
 BuildArch:	noarch
@@ -31,13 +39,9 @@
 
 %install
 %{__install} -D -p -m 0644 MonetDB-GPG-KEY \
-    ${RPM_BUILD_ROOT}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-MonetDB
+    %{buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-MonetDB
 %{__install} -D -p -m 0644 monetdb.repo \
-    ${RPM_BUILD_ROOT}%{_sysconfdir}/yum.repos.d/monetdb.repo
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+    %{buildroot}%{_sysconfdir}/yum.repos.d/monetdb.repo
 
 
 %files
@@ -49,6 +53,9 @@
 
 
 %changelog
+* Fri Mar 17 2023 Sjoerd Mullender <sjoerd@acm.org> - 1.3-2
+- Added SPDX tag.
+
 * Thu Aug  3 2017 Sjoerd Mullender <sjoerd@acm.org> - 1.3-1
 - Removed old signing key.