Actually install a jar with a name that maven users expect.
This commit is contained in:
parent
b3a208ae38
commit
af4b505305
@ -1,6 +1,6 @@
|
|||||||
Name: xml-commons-resolver
|
Name: xml-commons-resolver
|
||||||
Version: 1.2
|
Version: 1.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: Resolver subproject of xml-commons
|
Summary: Resolver subproject of xml-commons
|
||||||
License: ASL 1.1
|
License: ASL 1.1
|
||||||
@ -73,8 +73,8 @@ touch META-INF/MANIFEST.MF
|
|||||||
zip -u build/resolver.jar META-INF/MANIFEST.MF
|
zip -u build/resolver.jar META-INF/MANIFEST.MF
|
||||||
|
|
||||||
# Jars
|
# Jars
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_javadir}
|
install -pD -T build/resolver.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
||||||
cp build/resolver.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/xml-resolver-%{version}.jar
|
||||||
|
|
||||||
# Jar versioning
|
# Jar versioning
|
||||||
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}.jar; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
||||||
@ -124,6 +124,9 @@ fi
|
|||||||
%{_javadocdir}/%{name}-%{version}
|
%{_javadocdir}/%{name}-%{version}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 24 2010 Mat Booth <fedora@matbooth.co.uk> 0:1.2-4
|
||||||
|
- Forgot to actually install a jar with a name that maven users expect.
|
||||||
|
|
||||||
* Sun Sep 19 2010 Mat Booth <fedora@matbooth.co.uk> 0:1.2-3
|
* Sun Sep 19 2010 Mat Booth <fedora@matbooth.co.uk> 0:1.2-3
|
||||||
- Install a maven pom and depmap.
|
- Install a maven pom and depmap.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user