OBS-URL: https://build.opensuse.org/package/show/Java:packages/felix-bundlerepository?expand=0&rev=4
This commit is contained in:
parent
609759a097
commit
813825b3e8
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 21 09:04:03 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Use %patch -P N instead of deprecated %patchN.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 18 15:00:55 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
Fri Mar 18 15:00:55 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package felix-bundlerepository
|
# spec file for package felix-bundlerepository
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -33,16 +33,11 @@ BuildRequires: felix-gogo-runtime
|
|||||||
BuildRequires: felix-osgi-obr
|
BuildRequires: felix-osgi-obr
|
||||||
BuildRequires: felix-shell
|
BuildRequires: felix-shell
|
||||||
BuildRequires: felix-utils
|
BuildRequires: felix-utils
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local >= 6
|
||||||
BuildRequires: kxml
|
BuildRequires: kxml
|
||||||
BuildRequires: osgi-compendium
|
BuildRequires: osgi-compendium
|
||||||
BuildRequires: osgi-core
|
BuildRequires: osgi-core
|
||||||
BuildRequires: xpp3
|
BuildRequires: xpp3
|
||||||
Requires: mvn(net.sf.kxml:kxml2)
|
|
||||||
Requires: mvn(org.apache.felix:org.apache.felix.utils)
|
|
||||||
Requires: mvn(org.osgi:osgi.cmpn)
|
|
||||||
Requires: mvn(org.osgi:osgi.core)
|
|
||||||
Requires: mvn(xpp3:xpp3)
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -57,8 +52,8 @@ This package contains the API documentation for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{bundle}-%{version}
|
%setup -q -n %{bundle}-%{version}
|
||||||
cp %{SOURCE1} build.xml
|
cp %{SOURCE1} build.xml
|
||||||
%patch1 -p1
|
%patch -P 1 -p1
|
||||||
%patch2 -p1
|
%patch -P 2 -p1
|
||||||
|
|
||||||
%pom_remove_plugin :maven-source-plugin
|
%pom_remove_plugin :maven-source-plugin
|
||||||
|
|
||||||
@ -76,9 +71,6 @@ cp %{SOURCE1} build.xml
|
|||||||
%pom_remove_dep :org.osgi.compendium
|
%pom_remove_dep :org.osgi.compendium
|
||||||
%pom_add_dep org.osgi:osgi.cmpn
|
%pom_add_dep org.osgi:osgi.cmpn
|
||||||
|
|
||||||
%pom_remove_parent
|
|
||||||
%pom_xpath_inject pom:project "<groupId>org.apache.felix</groupId>"
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir -p lib
|
mkdir -p lib
|
||||||
build-jar-repository -s lib osgi-core osgi-compendium xpp3 kxml felix
|
build-jar-repository -s lib osgi-core osgi-compendium xpp3 kxml felix
|
||||||
@ -91,7 +83,7 @@ install -m 644 target/%{bundle}-%{version}.jar %{buildroot}%{_javadir}/felix/%{b
|
|||||||
|
|
||||||
# pom
|
# pom
|
||||||
install -d -m 755 %{buildroot}%{_mavenpomdir}/felix
|
install -d -m 755 %{buildroot}%{_mavenpomdir}/felix
|
||||||
install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/felix/%{bundle}.pom
|
%{mvn_install_pom} 644 pom.xml %{buildroot}%{_mavenpomdir}/felix/%{bundle}.pom
|
||||||
%add_maven_depmap felix/%{bundle}.pom felix/%{bundle}.jar
|
%add_maven_depmap felix/%{bundle}.pom felix/%{bundle}.jar
|
||||||
|
|
||||||
# javadoc
|
# javadoc
|
||||||
|
Loading…
Reference in New Issue
Block a user