summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackaging/rpm-python.spec1
-rw-r--r--packaging/rpm.spec2
2 files changed, 2 insertions, 1 deletions
diff --git a/packaging/rpm-python.spec b/packaging/rpm-python.spec
index cbfe5cf..47ca8ca 100755
--- a/packaging/rpm-python.spec
+++ b/packaging/rpm-python.spec
@@ -16,6 +16,7 @@ Summary: The RPM package management system
Name: rpm-python
Version: %{rpmver}
Release: 4
+License: GPLv2+
%{expand:%(sed -n -e '/^Source0:/,/^##PYTHON##/p' <%_sourcedir/rpm.spec)}
Source100: rpm.spec
Source1002: rpm-python.manifest
diff --git a/packaging/rpm.spec b/packaging/rpm.spec
index ab22d69..680f7e5 100644
--- a/packaging/rpm.spec
+++ b/packaging/rpm.spec
@@ -8,6 +8,7 @@ Version: 4.9.1
Release: %{release_prefix}
Summary: The RPM package management system
Url: http://www.rpm.org/
+License: GPLv2+
Group: System/Base
Source0: http://rpm.org/releases/rpm-4.9.x/rpm-%{version}.tar.bz2
Source1: libsymlink.attr
@@ -49,7 +50,6 @@ Patch87: security_4.9.1.patch
# Partially GPL/LGPL dual-licensed and some bits with BSD
# SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD
-License: GPLv2+
##PYTHON##
BuildRequires: bzip2-devel >= 0.9.0c-2