Fix felix-framework enabling patch

This commit is contained in:
Mikolaj Izdebski 2012-08-27 12:52:20 +02:00
parent c6daae2e79
commit 8b7e700911

View File

@ -2,7 +2,7 @@ Name: xbean
Version: 3.11.1
BuildArch: noarch
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Java plugin based web server
Group: Development/Libraries
@ -153,8 +153,8 @@ find -name pom.xml -exec sed -i "s|<groupId>ant</groupId>|<groupId>org.apache.an
# Do not build equinox specific part for rhel.
if [ %{?rhel} ]; then
rm -rf xbean-bundleutils/src/main/java/org/apache/xbean/osgi/bundle/util/equinox/
sed -i "s|<groupId>org.eclipse|<groupId>org.apache.felix|g" xbean-bundleutils/pom.xml
sed -i "s|<artifactId>osgi|<artifactId>org.apache.felix.framework|g" xbean-bundleutils/pom.xml
sed -i "s|<groupId>org.eclipse.osgi|<groupId>org.apache.felix|g" xbean-bundleutils/pom.xml
sed -i "s|<artifactId>org.eclipse.osgi|<artifactId>org.apache.felix.framework|g" xbean-bundleutils/pom.xml
fi
@ -231,6 +231,9 @@ cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
%{_javadocdir}/%{name}
%changelog
* Mon Aug 27 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.11.1-4
- Fix felix-framework enabling patch
* Mon Aug 6 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.11.1-3
- Enable xbean-spring
- Enable maven-xbean-plugin