%global pkg_name maven-enforcer %{?scl:%scl_package %{pkg_name}} %{?maven_find_provides_and_requires} Name: %{?scl_prefix}%{pkg_name} Version: 1.2 Release: 8.14%{?dist} Summary: Maven Enforcer License: ASL 2.0 URL: http://maven.apache.org/enforcer Source0: http://repo1.maven.org/maven2/org/apache/maven/enforcer/enforcer/%{version}/enforcer-%{version}-source-release.zip BuildArch: noarch BuildRequires: %{?scl_prefix}maven-local BuildRequires: %{?scl_prefix_java_common}mvn(commons-lang:commons-lang) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.shared:maven-common-artifact-filters) BuildRequires: %{?scl_prefix}mvn(org.apache.maven.shared:maven-dependency-tree) BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-artifact) BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-compat) BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-core) BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-parent:pom:) BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-plugin-api) BuildRequires: %{?scl_prefix}mvn(org.apache.maven:maven-project) BuildRequires: %{?scl_prefix}mvn(org.beanshell:bsh) BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-container-default) BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-i18n) BuildRequires: %{?scl_prefix}mvn(org.codehaus.plexus:plexus-utils) %description Enforcer is a build rule execution framework. %package javadoc Summary: Javadoc for %{pkg_name} %description javadoc API documentation for %{pkg_name}. %package api Summary: Enforcer API %description api This component provides the generic interfaces needed to implement custom rules for the maven-enforcer-plugin. %package rules Summary: Enforcer Rules %description rules This component contains the standard Enforcer Rules. %package plugin Summary: Enforcer Rules %description plugin This component contains the standard Enforcer Rules. %prep %setup -q -n enforcer-%{version} %{?scl:scl enable %{scl} - <<"EOF"} set -e -x %pom_add_dep org.apache.maven:maven-compat enforcer-rules # Replace plexus-maven-plugin with plexus-component-metadata sed -e "s|plexus-maven-plugin|plexus-component-metadata|" \ -e "s|descriptor|generate-metadata|" \ -i enforcer-{api,rules}/pom.xml %{?scl:EOF} %build %{?scl:scl enable %{scl} - <<"EOF"} set -e -x %mvn_build -s -f %{?scl:EOF} %install %{?scl:scl enable %{scl} - <<"EOF"} set -e -x %mvn_install %{?scl:EOF} %files -f .mfiles-enforcer %dir %{_mavenpomdir}/%{pkg_name} %doc LICENSE NOTICE %files api -f .mfiles-enforcer-api %doc LICENSE NOTICE %dir %{_mavenpomdir}/%{pkg_name} %dir %{_javadir}/%{pkg_name} %files rules -f .mfiles-enforcer-rules %files plugin -f .mfiles-maven-enforcer-plugin %files javadoc -f .mfiles-javadoc %doc LICENSE NOTICE %changelog * Mon Feb 08 2016 Michal Srb - 1.2-8.14 - Fix BR on maven-local & co. * Mon Jan 11 2016 Michal Srb - 1.2-8.13 - maven33 rebuild #2 * Sat Jan 09 2016 Michal Srb - 1.2-8.12 - maven33 rebuild * Fri Jan 16 2015 Michal Srb - 1.2-8.11 - Fix directory ownership * Thu Jan 15 2015 Mikolaj Izdebski - 1.2-8.10 - Add directory ownership on %%{_mavenpomdir} subdir * Tue Jan 13 2015 Michael Simacek - 1.2-8.9 - Mass rebuild 2015-01-13 * Mon Jan 12 2015 Michael Simacek - 1.2-8.8 - Rebuild to regenerate requires from java-common * Tue Jan 06 2015 Michael Simacek - 1.2-8.7 - Mass rebuild 2015-01-06 * Mon May 26 2014 Mikolaj Izdebski - 1.2-8.6 - Mass rebuild 2014-05-26 * Wed Feb 19 2014 Mikolaj Izdebski - 1.2-8.5 - Mass rebuild 2014-02-19 * Tue Feb 18 2014 Mikolaj Izdebski - 1.2-8.4 - Mass rebuild 2014-02-18 * Mon Feb 17 2014 Michal Srb - 1.2-8.3 - SCL-ize BR/R * Thu Feb 13 2014 Mikolaj Izdebski - 1.2-8.2 - Rebuild to regenerate auto-requires * Tue Feb 11 2014 Mikolaj Izdebski - 1.2-8.1 - First maven30 software collection build * Fri Dec 27 2013 Daniel Mach - 1.2-8 - Mass rebuild 2013-12-27 * Fri Jun 28 2013 Mikolaj Izdebski - 1.2-7 - Rebuild to regenerate API documentation - Resolves: CVE-2013-1571 * Fri Apr 19 2013 Mikolaj Izdebski - 1.2-6 - Build with xmvn - Update to current packaging guidelines * Fri Apr 19 2013 Mikolaj Izdebski - 1.2-5 - Remove BR on maven-doxia - Resolves: rhbz#915611 * Thu Feb 14 2013 Fedora Release Engineering - 1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Feb 06 2013 Java SIG - 1.2-3 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Thu Dec 6 2012 Mikolaj Izdebski - 1.2-2 - Add mising R: forge-parent * Mon Dec 3 2012 Mikolaj Izdebski - 1.2-1 - Update to upstream version 1.2 * Fri Nov 22 2012 Jaromir Capik - 1.1.1-3 - Including LICENSE and NOTICE * Mon Oct 15 2012 Mikolaj Izdebski - 1.1.1-2 - Remove RPM bug workaround * Fri Oct 12 2012 Mikolaj Izdebski - 1.1.1-1 - Update to upstream version 1.1.1 - Convert patches to POM macro - Remove patch for bug 748074, upstreamed * Thu Jul 19 2012 Fedora Release Engineering - 1.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Feb 02 2012 Jaromir Capik - 1.0.1-4 - Migration to plexus-containers-component-metadata - Maven3 compatibility patches - Minor spec file changes according to the latest guidelines * Fri Jan 13 2012 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Jul 15 2011 Jaromir Capik - 1.0.1-2 - Removal of plexus-maven-plugin dependency (not needed) * Tue Jun 28 2011 Alexander Kurtakov 1.0.1-1 - Update to latest upstream 1.0.1. - Adapt to current guidelines. * Thu Mar 10 2011 Stanislav Ochotnicky - 1.0-1 - Update to latest upstream (1.0) * Tue Feb 08 2011 Fedora Release Engineering - 1.0-0.3.b2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Dec 13 2010 Stanislav Ochotnicky - 1.0-0.2.b2 - Fix FTBFS (#631388) - Use new maven plugin names - Versionless jars & javadocs * Wed May 19 2010 Alexander Kurtakov 1.0-0.1.b2 - Initial package