diff --git a/jzlib.changes b/jzlib.changes index 1f0e080..93f66bb 100644 --- a/jzlib.changes +++ b/jzlib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Nov 25 17:24:33 UTC 2018 - Fridrich Strba + +- Install as maven artifact + ------------------------------------------------------------------- Fri Sep 8 09:23:28 UTC 2017 - fstrba@suse.com diff --git a/jzlib.spec b/jzlib.spec index 0aa93a9..e4c5d98 100644 --- a/jzlib.spec +++ b/jzlib.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -64,6 +64,11 @@ ant \ install -Dpm 644 dist/lib/%{name}.jar \ %{buildroot}%{_javadir}/%{name}.jar +# pom +install -Dpm 644 pom.xml \ + %{buildroot}%{_mavenpomdir}/%{name}.pom +%add_maven_depmap %{name}.pom %{name}.jar + # examples install -dm 755 %{buildroot}%{_datadir}/%{name}-%{version} cp -pr example/* %{buildroot}%{_datadir}/%{name}-%{version} @@ -71,6 +76,8 @@ cp -pr example/* %{buildroot}%{_datadir}/%{name}-%{version} %files %defattr(0644,root,root,0755) %{_javadir}/%{name}.jar +%{_mavenpodir}/%{name}.pom +%{_datadir}/maven-metadata/%{name}.xml %doc LICENSE.txt %files demo