Provide and obsolete classworlds
This commit is contained in:
parent
4db9460305
commit
a1d004b6a3
@ -34,7 +34,7 @@
|
||||
|
||||
Name: %{parent}-%{subname}
|
||||
Version: 2.4
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: Plexus Classworlds Classloader Framework
|
||||
License: ASL 2.0 and Plexus
|
||||
Group: Development/Libraries
|
||||
@ -63,6 +63,11 @@ BuildRequires: maven-surefire-provider-junit
|
||||
BuildRequires: maven-plugin-bundle
|
||||
BuildRequires: plexus-utils
|
||||
|
||||
Requires: java
|
||||
Requires: jpackage-utils
|
||||
Provides: %{subname} = %{version}-%{release}
|
||||
Obsoletes: %{subname} < %{version}-%{release}
|
||||
|
||||
%description
|
||||
Classworlds is a framework for container developers
|
||||
who require complex manipulation of Java's ClassLoaders.
|
||||
@ -77,6 +82,8 @@ classworlds.
|
||||
Summary: Javadoc for %{name}
|
||||
Group: Documentation
|
||||
Requires: jpackage-utils
|
||||
Provides: %{subname}-javadoc = %{version}-%{release}
|
||||
Obsoletes: %{subname}-javadoc < %{version}-%{release}
|
||||
|
||||
%description javadoc
|
||||
API documentation for %{name}.
|
||||
@ -115,7 +122,7 @@ install -Dpm 644 target/%{name}-%{version}.jar \
|
||||
|
||||
# pom
|
||||
install -Dpm 644 pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP.%{parent}-%{subname}.pom
|
||||
%add_maven_depmap JPP.%{parent}-%{subname}.pom plexus/%{subname}.jar
|
||||
%add_maven_depmap JPP.%{parent}-%{subname}.pom plexus/%{subname}.jar -a classworlds:classworlds
|
||||
|
||||
# javadoc
|
||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
@ -132,6 +139,9 @@ cp -pr target/site/apidocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
|
||||
%doc %{_javadocdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Tue Nov 20 2012 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.4-9
|
||||
- Provide and obsolete classworlds
|
||||
|
||||
* Mon Nov 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4-8
|
||||
- Fix source URL to be stable
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user