Accepting request 1145381 from Java:packages

version 8

OBS-URL: https://build.opensuse.org/request/show/1145381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/felix-parent?expand=0&rev=4
This commit is contained in:
Ana Guerrero 2024-02-09 22:54:06 +00:00 committed by Git OBS Bridge
commit 9c78a5649c
4 changed files with 23 additions and 13 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f88a8d17f278125553b8e2ed6f4e9420682d457996cbf37ea95adb24526a479f
size 8013

BIN
felix-parent-8-source-release.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Feb 9 09:19:16 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Update to version 8
* Update to latest plugin versions, support Java > 9, change urls
to https
* add local timestamp for Reproducible Build
* Update to latest Apache parent pom, update plugin versions and
replace ianal maven plugin
* Update parent pom to latest Apache pom 31, remove duplicate
plugin definitions
-------------------------------------------------------------------
Thu Oct 26 03:33:59 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package felix-parent
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,14 +17,14 @@
Name: felix-parent
Version: 6
Version: 8
Release: 0
Summary: Parent POM file for Apache Felix Specs
License: Apache-2.0
Group: Development/Libraries/Java
URL: http://felix.apache.org/
Source0: http://repo1.maven.org/maven2/org/apache/felix/felix-parent/%{version}/%{name}-%{version}-source-release.tar.gz
BuildRequires: javapackages-local
URL: https://felix.apache.org/
Source0: https://repo1.maven.org/maven2/org/apache/felix/felix-parent/%{version}/%{name}-%{version}-source-release.tar.gz
BuildRequires: javapackages-local >= 6
BuildRequires: mvn(org.apache:apache:pom:)
Requires: mvn(org.apache:apache:pom:)
BuildArch: noarch
@ -37,24 +37,22 @@ Parent POM file for Apache Felix Specs.
%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin :maven-site-plugin
%pom_remove_plugin :maven-release-plugin
%pom_remove_plugin org.codehaus.mojo:ianal-maven-plugin
%pom_remove_plugin :apache-rat-plugin
%pom_remove_plugin :animal-sniffer-maven-plugin
%pom_remove_plugin :maven-enforcer-plugin
%pom_remove_plugin :tools-maven-plugin
# wagon ssh dependency unneeded
%pom_xpath_remove pom:extensions
%pom_xpath_remove pom:project/pom:parent/pom:relativePath
%pom_xpath_set "pom:project/pom:properties/pom:felix.java.version" "8"
%build
%install
# pom
install -d -m 755 %{buildroot}%{_mavenpomdir}
install -m 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
%add_maven_depmap %{name}-%{version}.pom -a org.apache.felix:felix
%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}.pom
%add_maven_depmap %{name}.pom -a org.apache.felix:felix
%files -f .mfiles
%license LICENSE