[eclipse-license/eclipse-luna] SCL-ise
Mat Booth
mbooth at fedoraproject.org
Thu Jul 17 13:00:14 UTC 2014
commit 479c999bfa49a0aa4bbbbc40fc7eed12201138fc
Author: Mat Booth <mat.booth at redhat.com>
Date: Wed Jul 9 17:16:58 2014 +0100
SCL-ise
eclipse-license.spec | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/eclipse-license.spec b/eclipse-license.spec
index 933df98..bf153f9 100644
--- a/eclipse-license.spec
+++ b/eclipse-license.spec
@@ -1,10 +1,13 @@
+%{?scl:%scl_package eclipse-license}
+%{!?scl:%global pkg_name %{name}}
+
%global license_ver 1.0.1
%global qualifier v20140414-1359
%global gittag org.eclipse.license-license-%{license_ver}.%{qualifier}
-Name: eclipse-license
+Name: %{?scl_prefix}eclipse-license
Version: %{license_ver}
-Release: 4%{?dist}
+Release: 4.1%{?dist}
Summary: Shared license feature for Eclipse
License: EPL
@@ -16,6 +19,7 @@ BuildArch: noarch
BuildRequires: maven-local
BuildRequires: tycho-extras
BuildRequires: feclipse-maven-plugin
+%{?scl:Requires: %scl_runtime}
%description
Shared license feature for Eclipse. Other features may consume this
@@ -30,13 +34,16 @@ xmvn -o clean verify
%install
xmvn -o org.fedoraproject:feclipse-maven-plugin:install \
-DsourceRepo=org.eclipse.license.repo/target/repository/ \
- -DtargetLocation=%{buildroot}%{_javadir}/%{name}/eclipse
+ -DtargetLocation=%{buildroot}%{_javadir}/%{pkg_name}/eclipse
%files
%doc org.eclipse.license/*.html
-%{_javadir}/%{name}
+%{_javadir}/%{pkg_name}
%changelog
+* Wed Jul 09 2014 Mat Booth <mat.booth at redhat.com> - 1.0.1-4.1
+- SCL-ise
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
More information about the scm-commits
mailing list