Name: maven-enforcer Version: 1.2 Release: 8%{?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: maven-local BuildRequires: mvn(commons-lang:commons-lang) BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) BuildRequires: mvn(org.apache.maven.shared:maven-common-artifact-filters) BuildRequires: mvn(org.apache.maven.shared:maven-dependency-tree) BuildRequires: mvn(org.apache.maven:maven-artifact) BuildRequires: mvn(org.apache.maven:maven-compat) BuildRequires: mvn(org.apache.maven:maven-core) BuildRequires: mvn(org.apache.maven:maven-parent) BuildRequires: mvn(org.apache.maven:maven-plugin-api) BuildRequires: mvn(org.apache.maven:maven-project) BuildRequires: mvn(org.beanshell:bsh) BuildRequires: mvn(org.codehaus.plexus:plexus-container-default) BuildRequires: mvn(org.codehaus.plexus:plexus-i18n) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) %description Enforcer is a build rule execution framework. %package javadoc Summary: Javadoc for %{name} %description javadoc API documentation for %{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 Obsoletes: maven2-plugin-enforcer <= 0:2.0.8 Provides: maven2-plugin-enforcer = 1:%{version}-%{release} %description plugin This component contains the standard Enforcer Rules. %prep %setup -q -n enforcer-%{version} %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 %build %mvn_build -s -f %install %mvn_install %files -f .mfiles-enforcer %doc LICENSE NOTICE %files api -f .mfiles-enforcer-api %doc LICENSE NOTICE %dir %{_javadir}/%{name} %files rules -f .mfiles-enforcer-rules %files plugin -f .mfiles-maven-enforcer-plugin %files javadoc -f .mfiles-javadoc %doc LICENSE NOTICE %changelog * 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