Blame SPECS/maven-common-artifact-filters.spec

7f3f64
%global pkg_name maven-common-artifact-filters
7f3f64
%{?scl:%scl_package %{pkg_name}}
7f3f64
%{?maven_find_provides_and_requires}
7f3f64
7f3f64
Name:          %{?scl_prefix}%{pkg_name}
7f3f64
Version:       1.4
7f3f64
Release:       11.13%{?dist}
7f3f64
Summary:       Maven Common Artifact Filters
7f3f64
License:       ASL 2.0
7f3f64
Url:           http://maven.apache.org/shared/
7f3f64
Source0:       http://repo1.maven.org/maven2/org/apache/maven/shared/%{pkg_name}/%{version}/%{pkg_name}-%{version}-source-release.zip
7f3f64
BuildArch:     noarch
7f3f64
7f3f64
BuildRequires: %{?scl_prefix}maven-local
7f3f64
BuildRequires: %{?scl_prefix_java_common}easymock
7f3f64
BuildRequires: %{?scl_prefix}maven-shared
7f3f64
BuildRequires: %{?scl_prefix}maven-resources-plugin
7f3f64
BuildRequires: %{?scl_prefix}plexus-containers-container-default
7f3f64
BuildRequires: %{?scl_prefix}maven-test-tools
7f3f64
BuildRequires: %{?scl_prefix}maven-plugin-testing-harness
7f3f64
BuildRequires: %{?scl_prefix_java_common}cglib
7f3f64
7f3f64
7f3f64
%description
7f3f64
A collection of ready-made filters to control inclusion/exclusion of artifacts
7f3f64
during dependency resolution.
7f3f64
7f3f64
%package javadoc
7f3f64
Summary:       Javadoc for %{pkg_name}
7f3f64
7f3f64
%description javadoc
7f3f64
This package contains javadoc for %{pkg_name}.
7f3f64
7f3f64
%prep
7f3f64
%setup -q -n %{pkg_name}-%{version}
7f3f64
%{?scl:scl enable %{scl} - <<"EOF"}
7f3f64
set -e -x
7f3f64
7f3f64
# Maven 2 -> Maven 3
7f3f64
%pom_remove_dep :maven-project
7f3f64
%pom_add_dep org.apache.maven:maven-core
7f3f64
%pom_add_dep org.apache.maven:maven-compat
7f3f64
%pom_xpath_set "pom:dependency[pom:groupId[text()='org.apache.maven']]/pom:version" 3.0.4
7f3f64
7f3f64
# Workaround for rhbz#911365
7f3f64
%pom_add_dep aopalliance:aopalliance::test
7f3f64
%pom_add_dep cglib:cglib::test
7f3f64
%{?scl:EOF}
7f3f64
7f3f64
%build
7f3f64
%{?scl:scl enable %{scl} - <<"EOF"}
7f3f64
set -e -x
7f3f64
%mvn_build
7f3f64
%{?scl:EOF}
7f3f64
7f3f64
%install
7f3f64
%{?scl:scl enable %{scl} - <<"EOF"}
7f3f64
set -e -x
7f3f64
%mvn_install
7f3f64
%{?scl:EOF}
7f3f64
7f3f64
%files -f .mfiles
7f3f64
%{_javadir}/%{pkg_name}
7f3f64
%dir %{_mavenpomdir}/%{pkg_name}
7f3f64
%doc LICENSE NOTICE
7f3f64
7f3f64
%files javadoc -f .mfiles-javadoc
7f3f64
%doc LICENSE NOTICE
7f3f64
7f3f64
%changelog
7f3f64
* Thu Feb 11 2016 Michal Srb <msrb@redhat.com> - 1.4-11.13
7f3f64
- Add missing BR: cglib
7f3f64
7f3f64
* Mon Feb 08 2016 Michal Srb <msrb@redhat.com> - 1.4-11.12
7f3f64
- Fix BR on maven-local & co.
7f3f64
7f3f64
* Mon Jan 11 2016 Michal Srb <msrb@redhat.com> - 1.4-11.11
7f3f64
- maven33 rebuild #2
7f3f64
7f3f64
* Sat Jan 09 2016 Michal Srb <msrb@redhat.com> - 1.4-11.10
7f3f64
- maven33 rebuild
7f3f64
7f3f64
* Thu Jan 15 2015 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-11.9
7f3f64
- Add directory ownership on %%{_mavenpomdir} subdir
7f3f64
7f3f64
* Tue Jan 13 2015 Michael Simacek <msimacek@redhat.com> - 1.4-11.8
7f3f64
- Mass rebuild 2015-01-13
7f3f64
7f3f64
* Tue Jan 06 2015 Michael Simacek <msimacek@redhat.com> - 1.4-11.7
7f3f64
- Mass rebuild 2015-01-06
7f3f64
7f3f64
* Mon May 26 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-11.6
7f3f64
- Mass rebuild 2014-05-26
7f3f64
7f3f64
* Wed Feb 19 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-11.5
7f3f64
- Mass rebuild 2014-02-19
7f3f64
7f3f64
* Tue Feb 18 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-11.4
7f3f64
- Mass rebuild 2014-02-18
7f3f64
7f3f64
* Mon Feb 17 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-11.3
7f3f64
- SCL-ize build-requires
7f3f64
7f3f64
* Thu Feb 13 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-11.2
7f3f64
- Rebuild to regenerate auto-requires
7f3f64
7f3f64
* Tue Feb 11 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-11.1
7f3f64
- First maven30 software collection build
7f3f64
7f3f64
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4-11
7f3f64
- Mass rebuild 2013-12-27
7f3f64
7f3f64
* Fri Jun 28 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-10
7f3f64
- Rebuild to regenerate API documentation
7f3f64
- Resolves: CVE-2013-1571
7f3f64
7f3f64
* Thu Apr 11 2013 Michal Srb <msrb@redhat.com> - 1.4-9
7f3f64
- Enable tests again, they don't cause any trouble anywhere
7f3f64
7f3f64
* Thu Apr 11 2013 Michal Srb <msrb@redhat.com> - 1.4-8
7f3f64
- Run tests only in Fedora
7f3f64
7f3f64
* Tue Feb 19 2013 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.4-7
7f3f64
- Build with xmvn
7f3f64
- Bring back BR on maven-shared
7f3f64
7f3f64
* Mon Feb 18 2013 Tomas Radej <tradej@redhat.com> - 1.4-6
7f3f64
- Removed B/R on maven-shared (unnecessary + blocking maven-shared retirement)
7f3f64
7f3f64
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
7f3f64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7f3f64
7f3f64
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 1.4-4
7f3f64
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
7f3f64
- Replace maven BuildRequires with maven-local
7f3f64
7f3f64
* Thu Nov 22 2012 gil <puntogil@libero.it> 1.4-3
7f3f64
- resolves rhbz#879363 (NOTICE file is not installed with javadoc package)
7f3f64
7f3f64
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
7f3f64
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
7f3f64
7f3f64
* Wed Feb 08 2012 gil cattaneo <puntogil@libero.it> 1.4-1
7f3f64
- initial rpm