SHA256
1
0
forked from pool/felix-shell

Compare commits

..

3 Commits

2 changed files with 9 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 2 15:39:14 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Spec file cleanup
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 16 12:49:38 UTC 2022 - Fridrich Strba <fstrba@suse.com> Wed Mar 16 12:49:38 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package felix-shell # spec file for package felix-shell
# #
# 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
@ -28,11 +28,9 @@ Source0: http://archive.apache.org/dist/felix/%{bundle}-%{version}-source
Source1: %{bundle}-build.xml Source1: %{bundle}-build.xml
BuildRequires: ant BuildRequires: ant
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: javapackages-local BuildRequires: javapackages-local >= 6
BuildRequires: osgi-compendium BuildRequires: osgi-compendium
BuildRequires: osgi-core BuildRequires: osgi-core
Requires: mvn(org.osgi:osgi.cmpn)
Requires: mvn(org.osgi:osgi.core)
BuildArch: noarch BuildArch: noarch
%description %description
@ -49,11 +47,6 @@ This package contains API documentation for %{name}.
%setup -q -n %{bundle}-%{version} %setup -q -n %{bundle}-%{version}
cp %{SOURCE1} build.xml cp %{SOURCE1} build.xml
%pom_remove_parent
%pom_xpath_inject pom:project "<groupId>org.apache.felix</groupId>"
%pom_remove_plugin org.codehaus.mojo:rat-maven-plugin
# Use latest OSGi implementation # Use latest OSGi implementation
%pom_change_dep :org.osgi.core org.osgi:osgi.core %pom_change_dep :org.osgi.core org.osgi:osgi.core
%pom_change_dep :org.osgi.compendium org.osgi:osgi.cmpn %pom_change_dep :org.osgi.compendium org.osgi:osgi.cmpn
@ -61,7 +54,7 @@ cp %{SOURCE1} build.xml
%build %build
mkdir -p lib mkdir -p lib
build-jar-repository -s lib osgi-core osgi-compendium build-jar-repository -s lib osgi-core osgi-compendium
%ant jar javadoc ant jar javadoc
%install %install
# jar # jar
@ -70,7 +63,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} 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