Blame SPECS/maven-plugin-testing.spec

be7327
%global pkg_name maven-plugin-testing
be7327
%{?scl:%scl_package %{pkg_name}}
be7327
%{?maven_find_provides_and_requires}
be7327
be7327
Name:           %{?scl_prefix}%{pkg_name}
be7327
Version:        2.1
be7327
Release:        11.16%{?dist}
be7327
Summary:        Maven Plugin Testing
be7327
License:        ASL 2.0
be7327
URL:            http://maven.apache.org/plugin-testing/
be7327
Source0:        http://repo1.maven.org/maven2/org/apache/maven/plugin-testing/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
be7327
Patch0:         0001-Port-to-plexus-utils-3.0.21.patch
be7327
Patch1:         0002-Port-to-current-maven-artifact.patch
be7327
Patch2:         0003-Port-to-Maven-3.1.patch
be7327
BuildArch: noarch
be7327
be7327
BuildRequires: %{?scl_prefix_java_common}easymock2
be7327
BuildRequires: %{?scl_prefix_java_common}junit
be7327
BuildRequires: %{?scl_prefix}maven-local
be7327
BuildRequires: %{?scl_prefix}maven-resources-plugin
be7327
BuildRequires: %{?scl_prefix}maven-source-plugin
be7327
BuildRequires: %{?scl_prefix}plexus-containers-component-metadata
be7327
BuildRequires: %{?scl_prefix}maven-javadoc-plugin
be7327
BuildRequires: %{?scl_prefix}maven-doxia-sitetools
be7327
BuildRequires: %{?scl_prefix}maven-reporting-impl
be7327
#BuildRequires: %{?scl_prefix}maven-test-tools
be7327
be7327
%description
be7327
The Maven Plugin Testing contains the necessary modules
be7327
to be able to test Maven Plugins.
be7327
be7327
%package javadoc
be7327
Summary:        Javadoc for %{pkg_name}
be7327
be7327
%description javadoc
be7327
API documentation for %{pkg_name}.
be7327
be7327
%package harness
be7327
Summary: Maven Plugin Testing Mechanism
be7327
be7327
%description harness
be7327
The Maven Plugin Testing Harness provides mechanisms to manage tests on Mojo.
be7327
be7327
%package tools
be7327
Summary: Maven Plugin Testing Tools
be7327
be7327
%description tools
be7327
A set of useful tools to help the Maven Plugin testing.
be7327
be7327
%package -n %{?scl_prefix}maven-test-tools
be7327
Summary: Maven Testing Tool
be7327
be7327
%description -n %{?scl_prefix}maven-test-tools
be7327
Framework to test Maven Plugins with Easymock objects.
be7327
be7327
%prep
be7327
%setup -q -n %{pkg_name}-%{version}
be7327
%{?scl:scl enable %{scl} - <<"EOF"}
be7327
set -e -x
be7327
%patch0 -p1
be7327
%patch1 -p1
be7327
%patch2 -p1
be7327
%{?scl:EOF}
be7327
be7327
%build
be7327
%{?scl:scl enable %{scl} - <<"EOF"}
be7327
set -e -x
be7327
%mvn_alias : org.apache.maven.shared:
be7327
# Tests are skipped due to some test failures most probably caused by issues 
be7327
# with our plexus container
be7327
%mvn_build -f -s
be7327
%{?scl:EOF}
be7327
be7327
%install
be7327
%{?scl:scl enable %{scl} - <<"EOF"}
be7327
set -e -x
be7327
%mvn_install
be7327
%{?scl:EOF}
be7327
be7327
%files -f .mfiles-%{pkg_name}
be7327
%{_javadir}/%{pkg_name}
be7327
%dir %{_mavenpomdir}/%{pkg_name}
be7327
%doc LICENSE NOTICE
be7327
%files harness -f .mfiles-%{pkg_name}-harness
be7327
%dir %{_javadir}/%{pkg_name}
be7327
%dir %{_mavenpomdir}/%{pkg_name}
be7327
%files tools -f .mfiles-%{pkg_name}-tools
be7327
%dir %{_javadir}/%{pkg_name}
be7327
%dir %{_mavenpomdir}/%{pkg_name}
be7327
%files -n %{?scl_prefix}maven-test-tools -f .mfiles-maven-test-tools
be7327
%dir %{_javadir}/%{pkg_name}
be7327
%dir %{_mavenpomdir}/%{pkg_name}
be7327
%files javadoc -f .mfiles-javadoc
be7327
%doc LICENSE NOTICE
be7327
be7327
%changelog
be7327
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 2.1-11.16
be7327
- Fix BR on maven-local & co.
be7327
be7327
* Wed Jan 20 2016 Michal Srb <msrb@redhat.com> - 2.1-11.15
be7327
- Fix FTBFS
be7327
be7327
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 2.1-11.14
be7327
- maven33 rebuild #2
be7327
be7327
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 2.1-11.13
be7327
- maven33 rebuild
be7327
be7327
* Thu Jan 15 2015 Michael Simacek <msimacek@redhat.com> - 2.1-11.12
be7327
- Add common dirs to subpackages
be7327
be7327
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-11.11
be7327
- Add directory ownership on %%{_mavenpomdir} subdir
be7327
be7327
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 2.1-11.10
be7327
- Mass rebuild 2015-01-13
be7327
be7327
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 2.1-11.9
be7327
- Mass rebuild 2015-01-06
be7327
be7327
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-11.8
be7327
- Mass rebuild 2014-05-26
be7327
be7327
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-11.7
be7327
- Mass rebuild 2014-02-19
be7327
be7327
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-11.6
be7327
- Mass rebuild 2014-02-18
be7327
be7327
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-11.5
be7327
- Rebuild to fix incorrect auto-requires
be7327
be7327
* Mon Feb 17 2014 Michal Srb <msrb@redhat.com> - 2.1-11.4
be7327
- SCL-ize subpackage's name
be7327
be7327
* Fri Feb 14 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-11.3
be7327
- SCL-ize requires and build-requires
be7327
be7327
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-11.2
be7327
- Rebuild to regenerate auto-requires
be7327
be7327
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-11.1
be7327
- First maven30 software collection build
be7327
be7327
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.1-11
be7327
- Mass rebuild 2013-12-27
be7327
be7327
* Tue Oct 08 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.1-10
be7327
- Remove not needed workaround for 1002873 
be7327
- Resolves: rhbz#1002873
be7327
be7327
* Mon Sep 16 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.1-9
be7327
- Workaround installation problem with easymock2 compat package
be7327
- Related: rhbz#1002873
be7327
be7327
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-8
be7327
- Rebuild to regenerate API documentation
be7327
- Resolves: CVE-2013-1571
be7327
be7327
* Mon Apr 22 2013 Michal Srb <msrb@redhat.com> - 2.1-7
be7327
- Another rebuild (Fix artifactId=None issue)
be7327
be7327
* Wed Apr 10 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-6
be7327
- Rebuild
be7327
be7327
* Mon Mar 11 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-5
be7327
- Install missing license files
be7327
- Build with xmvn
be7327
- Resolves: rhbz#920258
be7327
be7327
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-4
be7327
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
be7327
be7327
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.1-3
be7327
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
be7327
- Replace maven BuildRequires with maven-local
be7327
be7327
* Wed Jan  9 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.1-2
be7327
- Fix easymock requires
be7327
be7327
* Mon Jan 07 2013 Tomas Radej <tradej@redhat.com> - 2.1-1
be7327
- Updated to latest upstream version
be7327
- Cleanup - removed patches, old files etc.
be7327
- Added requires to subpackages
be7327
be7327
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-4.alpha1
be7327
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
be7327
be7327
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-3.alpha1
be7327
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
be7327
be7327
* Thu Nov 10 2011 Jaromir Capik <jcapik@redhat.com> 2.0-2.alpha1
be7327
- Structuring mess cleanup (depmap fragments split, removing jar duplicities)
be7327
be7327
* Wed Nov 09 2011 Jaromir Capik <jcapik@redhat.com> 2.0-1.alpha1
be7327
- Update to 2.0-alpha1
be7327
- Spec file changes according to the latest guidelines
be7327
be7327
* Thu Feb 10 2011 Alexander Kurtakov <akurtako@redhat.com> 1.2-9
be7327
- Fix building.
be7327
- Adapt to current guidelines.
be7327
be7327
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-8
be7327
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
be7327
be7327
* Mon Sep 20 2010 Yong Yang <yyang@redhat.com> 1.1-7
be7327
- Build with plexus-containers 1.5.4
be7327
be7327
* Mon May 31 2010 Alexander Kurtakov <akurtako@redhat.com> 1.2-6
be7327
- Proper obsolete for maven-shared-test-tools.
be7327
be7327
* Mon May 31 2010 Alexander Kurtakov <akurtako@redhat.com> 1.2-5
be7327
- One more item to the depmap.
be7327
be7327
* Mon May 31 2010 Alexander Kurtakov <akurtako@redhat.com> 1.2-4
be7327
- Add depmap to fix build.
be7327
be7327
* Sat May 29 2010 Alexander Kurtakov <akurtako@redhat.com> 1.2-3
be7327
- Obsolete maven-shared-test-tools.
be7327
be7327
* Thu May 27 2010 Yong Yang <yyang@redhat.com> 1:1.2-2.8
be7327
- Fix parent pom install
be7327
be7327
* Thu May 27 2010 Yong Yang <yyang@redhat.com> 1:1.2-2.7
be7327
- Fix installed pom.xml source path
be7327
be7327
* Thu May 27 2010 Yong Yang <yyang@redhat.com> 1:1.2-2.6
be7327
- Add more maven depmap for maven-test-tools and maven-plugin-testing-tools for backward compatibility 
be7327
be7327
* Thu May 27 2010 Yong Yang <yyang@redhat.com> 1:1.2-2.5
be7327
- Fix maven-plugin-testing-tools pom name
be7327
be7327
* Thu May 27 2010 Yong Yang <yyang@redhat.com> 1:1.2-2.4
be7327
- Change JPP.%{name}.%{name}-harness.pom to JPP.%{name}-%{name}-harness.pom
be7327
be7327
* Thu May 27 2010 Yong Yang <yyang@redhat.com> 1:1.2-2.3
be7327
- Remove epoch in Requires of maven-test-tools
be7327
be7327
* Wed May 12 2010 Alexander Kurtakov <akurtako@redhat.com> 1:1.2-2
be7327
- Fix line lengths and use macroses consistently.
be7327
- Add comment for the tests skip.
be7327
- Add missing requires and set permissions.
be7327
be7327
* Wed May 12 2010 Alexander Kurtakov <akurtako@redhat.com> 1:1.2-1
be7327
- Initial package.