[Jpackage-commits] dist/apache-commons-cli2/devel apache-commons-cli2.spec, 1.4, 1.5

jpackage jpackage at ryu.zarb.org
Thu Dec 9 10:20:09 CET 2010


Update of /home/projects/jpackage/cvs/dist/apache-commons-cli2/devel
In directory ryu.zarb.org:/tmp/cvs-serv16242

Modified Files:
	apache-commons-cli2.spec 
Log Message:
Fix jakarta compat symlinks

Index: apache-commons-cli2.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/apache-commons-cli2/devel/apache-commons-cli2.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -C 2 -d -r1.4 -r1.5
*** apache-commons-cli2.spec	20 Oct 2010 20:20:25 -0000	1.4
--- apache-commons-cli2.spec	9 Dec 2010 09:20:07 -0000	1.5
***************
*** 55,59 ****
  Name:           apache-commons-cli2
  Version:        2.0
! Release:        3%{?dist}
  Epoch:          0
  Summary:        Apache Commons CLI2, a redesigned Command Line Interface for Java
--- 55,59 ----
  Name:           apache-commons-cli2
  Version:        2.0
! Release:        4%{?dist}
  Epoch:          0
  Summary:        Apache Commons CLI2, a redesigned Command Line Interface for Java
***************
*** 200,206 ****
  mkdir -p $RPM_BUILD_ROOT%{_javadir}
  cp -p target/%{short_name}-%{version}-SNAPSHOT.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
! (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|apache-|jakarta-|g"`; done)
! (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|apache-||g"`; done)
! (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
  
  # javadoc
--- 200,209 ----
  mkdir -p $RPM_BUILD_ROOT%{_javadir}
  cp -p target/%{short_name}-%{version}-SNAPSHOT.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
! ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
! ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{short_name}-%{version}.jar
! ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{short_name}.jar
! ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/jakarta-%{short_name}-%{version}.jar
! ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/jakarta-%{short_name}.jar
! 
  
  # javadoc
***************
*** 260,263 ****
--- 263,269 ----
  
  %changelog
+ * Thu Dec 09 2010 Ralph Apel <r.apel at r-apel.de> - 0:2.0-4
+ - Fix jakarta compat symlinks
+ 
  * Thu Oct 20 2010 Ralph Apel <r.apel at r-apel.de> - 0:2.0-3
  - Add commons-sandbox-parent.pom




More information about the JPackage-commits mailing list