commit 1b687a6adc25eb4908964178dbd56e01077601f8
Author: Krzysztof Daniel <kdaniel(a)redhat.com>
Date: Fri Mar 15 09:14:41 2013 +0100
Initial SCLization.
felix-gogo-parent.spec | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/felix-gogo-parent.spec b/felix-gogo-parent.spec
index 49e688b..c2a2377 100644
--- a/felix-gogo-parent.spec
+++ b/felix-gogo-parent.spec
@@ -1,9 +1,12 @@
%global project felix-gogo
%global pkgname parent
-Name: %{project}-%{pkgname}
+%{!?scl:%global pkg_name %{name}}
+%{?scl:%scl_package %{project}-%{pkgname}}
+
+Name: %{?scl_prefix}%{project}-%{pkgname}
Version: 0.6.0
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: Parent package for Felix Gogo
Group: Development/Tools
License: ASL 2.0
@@ -20,6 +23,7 @@ BuildRequires: jpackage-utils
Requires: java
BuildRequires: maven-local
Requires: jpackage-utils
+%{?scl:Requires: %scl_runtime}
%description
Apache Felix is a community effort to implement the OSGi R4 Service Platform
@@ -39,16 +43,19 @@ mvn-rpmbuild install
%install
# pom
install -d -m 755 %{buildroot}%{_mavenpomdir}
-install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
-%add_maven_depmap JPP-%{name}.pom
+install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP-%{pkg_name}.pom
+%add_maven_depmap JPP-%{pkg_name}.pom
%files
%doc LICENSE NOTICE
-%{_mavenpomdir}/JPP-%{name}.pom
+%{_mavenpomdir}/JPP-%{pkg_name}.pom
%{_mavendepmapfragdir}/%{name}
%changelog
+* Fri Mar 15 2013 Krzysztof Daniel <kdaniel(a)redhat.com> 0.6.0-6
+- Initial SCLization.
+
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.6.0-5
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild