| |
@@ -1,30 +1,18 @@
|
| |
Name: spec-version-maven-plugin
|
| |
- Version: 1.2
|
| |
- Release: 12%{?dist}
|
| |
+ Version: 1.5
|
| |
+ Release: 1%{?dist}
|
| |
Summary: Spec Version Maven Plugin
|
| |
License: CDDL or GPLv2 with exceptions
|
| |
URL: http://glassfish.java.net/
|
| |
- # svn export https://svn.java.net/svn/glassfish~svn/tags/spec-version-maven-plugin-1.2
|
| |
- # tar czf spec-version-maven-plugin-1.2-src-svn.tar.gz spec-version-maven-plugin-1.2
|
| |
- Source0: %{name}-%{version}-src-svn.tar.gz
|
| |
- # wget -O glassfish-LICENSE.txt https://svn.java.net/svn/glassfish~svn/tags/legal-1.1/src/main/resources/META-INF/LICENSE.txt
|
| |
- # spec-version-maven-plugin package don't include the license file
|
| |
- Source1: glassfish-LICENSE.txt
|
| |
+ Source0: https://github.com/javaee/%{name}/archive/%{version}.tar.gz
|
| |
|
| |
-
|
| |
- BuildRequires: mvn(net.java:jvnet-parent:pom:)
|
| |
- BuildRequires: mvn(org.apache.maven:maven-core)
|
| |
- BuildRequires: mvn(org.apache.maven:maven-model)
|
| |
- BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
| |
- BuildRequires: mvn(org.codehaus.plexus:plexus-resources)
|
| |
-
|
| |
- # test dep
|
| |
- BuildRequires: mvn(junit:junit)
|
| |
- BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
| |
-
|
| |
- BuildRequires: maven-local
|
| |
- BuildRequires: maven-plugin-build-helper
|
| |
- BuildRequires: maven-plugin-plugin
|
| |
+ BuildRequires: maven-local
|
| |
+ BuildRequires: mvn(junit:junit)
|
| |
+ BuildRequires: mvn(net.java:jvnet-parent:pom:)
|
| |
+ BuildRequires: mvn(org.apache.maven:maven-core)
|
| |
+ BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
| |
+ BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
| |
+ BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
| |
|
| |
BuildArch: noarch
|
| |
|
| |
@@ -43,25 +31,28 @@
|
| |
|
| |
sed -i "s|mvn|mvn-rpmbuild|" src/main/resources/checkVersion.sh
|
| |
|
| |
- cp -p %{SOURCE1} LICENSE.txt
|
| |
- sed -i 's/\r//' LICENSE.txt
|
| |
-
|
| |
%mvn_file :%{name} %{name}
|
| |
|
| |
- %build
|
| |
+ %pom_remove_plugin org.glassfish.copyright:glassfish-copyright-maven-plugin
|
| |
+ %pom_remove_plugin org.apache.maven.plugins:maven-checkstyle-plugin
|
| |
|
| |
+ %build
|
| |
%mvn_build
|
| |
|
| |
%install
|
| |
%mvn_install
|
| |
|
| |
%files -f .mfiles
|
| |
- %license LICENSE.txt
|
| |
+ %license LICENSE
|
| |
+ %doc README.md CONTRIBUTING.md
|
| |
|
| |
%files javadoc -f .mfiles-javadoc
|
| |
- %license LICENSE.txt
|
| |
+ %license LICENSE
|
| |
|
| |
%changelog
|
| |
+ * Fri Dec 14 2018 Marian Koncek <mkoncek@redhat.com> - 1.5-1
|
| |
+ - Update to upstream version 1.5
|
| |
+
|
| |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-12
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
| |
|
| |