Accepting request 672421 from Java:packages

Clean up the spec file

OBS-URL: https://build.opensuse.org/request/show/672421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/felix-parent?expand=0&rev=2
This commit is contained in:
Stephan Kulow 2019-02-24 16:13:35 +00:00 committed by Git OBS Bridge
commit cfc15c1a03
2 changed files with 10 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 7 07:24:28 UTC 2019 - Fridrich Strba <fstrba@suse.com>
- Clean the spec file
-------------------------------------------------------------------
Tue Dec 18 08:51:09 UTC 2018 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package felix-parent
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,8 @@ 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
Requires: apache-parent
BuildRequires: mvn(org.apache:apache:pom:)
Requires: mvn(org.apache:apache:pom:)
BuildArch: noarch
%description
@ -39,6 +40,7 @@ Parent POM file for Apache Felix Specs.
%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
# wagon ssh dependency unneeded
%pom_xpath_remove pom:extensions
@ -52,14 +54,8 @@ 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
%files
%files -f .mfiles
%license LICENSE
%doc NOTICE
%{_mavenpomdir}/*
%if %{defined _maven_repository}
%{_mavendepmapfragdir}/%{name}
%else
%{_datadir}/maven-metadata/%{name}.xml*
%endif
%changelog