Name: jetty-test-policy
Version: 1.2
Release: 22%{?dist}
Summary: Jetty test policy files
License: ASL 2.0 or EPL
URL: http://www.eclipse.org/jetty/
BuildArch: noarch
Source0: http://git.eclipse.org/c/jetty/org.eclipse.jetty.toolchain.git/snapshot/%{name}-%{version}.tar.bz2
Source2: http://www.eclipse.org/legal/epl-v10.html
Source3: http://www.apache.org/licenses/LICENSE-2.0.txt
Patch0: 0001-Sign-JAR-with-maven-jarsigner-plugin.patch
BuildRequires: maven-local
BuildRequires: mvn(org.apache.maven.plugins:maven-jarsigner-plugin)
BuildRequires: mvn(org.eclipse.jetty.toolchain:jetty-toolchain:pom:)
%description
Jetty test policy files
%package javadoc
Summary: API documentation for %{name}
%description javadoc
This package provides %{summary}.
%prep
%setup -q
%patch0 -p1
cp -p %{SOURCE2} %{SOURCE3} .
# Disable default-jar execution of maven-jar-plugin, which is causing
# problems with version 3.0.0 of the plugin.
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-jar-plugin']/pom:executions" "
default-jar
skip
"
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%license epl-v10.html LICENSE-2.0.txt
%files javadoc -f .mfiles-javadoc
%license epl-v10.html LICENSE-2.0.txt
%changelog
* Thu Jul 25 2019 Fedora Release Engineering - 1.2-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering - 1.2-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering - 1.2-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Feb 07 2018 Fedora Release Engineering - 1.2-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering - 1.2-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Feb 10 2017 Fedora Release Engineering - 1.2-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue May 31 2016 Mikolaj Izdebski - 1.2-16
- Fix build issue with maven-jar-plugin 3.0.0
* Thu Feb 04 2016 Fedora Release Engineering - 1.2-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering - 1.2-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Apr 14 2015 Mikolaj Izdebski - 1.2-13
- Cleanup spec file
* Mon Aug 11 2014 Mikolaj Izdebski - 1.2-12
- Sign JAR with maven-jarsigner-plugin
* Sun Jun 08 2014 Fedora Release Engineering - 1.2-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Fri Mar 21 2014 Michael Simacek - 1.2-10
- Drop manual requires
* Mon Aug 05 2013 Stanislav Ochotnicky - 1.2-9
- Update to latest packaging guidelines
* Sat Aug 03 2013 Fedora Release Engineering - 1.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering - 1.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Feb 06 2013 Java SIG - 1.2-6
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
- Replace maven BuildRequires with maven-local
* Thu Sep 20 2012 Mikolaj Izdebski - 1.2-5
- Install license files
* Thu Jul 19 2012 Fedora Release Engineering - 1.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering - 1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Nov 7 2011 Stanislav Ochotnicky - 1.2-2
- Added missing BR on surefire-provider-junit
* Thu Nov 3 2011 Stanislav Ochotnicky - 1.2-1
- Initial version of the package