[Jpackage-commits] dist/javassist/JPP-6 javassist.spec,1.6,1.7

David Walluck david at ryu.zarb.org
Tue Feb 10 23:06:23 CET 2009


Update of /home/projects/jpackage/cvs/dist/javassist/JPP-6
In directory ryu.zarb.org:/tmp/cvs-serv13288

Modified Files:
	javassist.spec 
Log Message:
- add pom

Index: javassist.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/javassist/JPP-6/javassist.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -C 2 -d -r1.6 -r1.7
*** javassist.spec	15 Jan 2009 22:24:11 -0000	1.6
--- javassist.spec	10 Feb 2009 22:06:21 -0000	1.7
***************
*** 47,51 ****
  Name:           javassist
  Version:        3.9.0
! Release:        2%{?dist}
  Epoch:          0
  Summary:        Java Programming Assistant: bytecode manipulation
--- 47,51 ----
  Name:           javassist
  Version:        3.9.0
! Release:        3%{?dist}
  Epoch:          0
  Summary:        Java Programming Assistant: bytecode manipulation
***************
*** 57,61 ****
  Source0:        javassist-rel_3_9_0_ga-src.tar.bz2
  Source1:        javassist-component-info.xml
! BuildRequires:  jpackage-utils >= 0:1.7
  BuildRequires:  ant >= 0:1.6
  BuildArch:      noarch
--- 57,63 ----
  Source0:        javassist-rel_3_9_0_ga-src.tar.bz2
  Source1:        javassist-component-info.xml
! Requires(post): jpackage-utils >= 0:1.7.5
! Requires(postun): jpackage-utils >= 0:1.7.5
! BuildRequires:  jpackage-utils >= 0:1.7.5
  BuildRequires:  ant >= 0:1.6
  BuildArch:      noarch
***************
*** 143,146 ****
--- 145,153 ----
  cp -pr tutorial/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/
  
+ # poms
+ install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
+ install -pm 644 pom.xml $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom
+ %add_to_maven_depmap javassist javassist %{version} JPP %{name}
+ 
  %if %{with_repolib}
  install -d -m 755 $RPM_BUILD_ROOT%{repodir}
***************
*** 159,162 ****
--- 166,175 ----
  rm -rf $RPM_BUILD_ROOT
  
+ %post
+ %update_maven_depmap
+ 
+ %postun
+ %update_maven_depmap
+ 
  %files
  %defattr(0644,root,root,0755)
***************
*** 164,167 ****
--- 177,182 ----
  %{_javadir}/%{name}-%{version}.jar
  %{_javadir}/%{name}.jar
+ %{_datadir}/maven2/poms/JPP-%{name}.pom
+ %{_mavendepmapfragdir}/%{name}
  
  %files demo
***************
*** 185,188 ****
--- 200,206 ----
  
  %changelog
+ * Tue Feb 10 2009 David Walluck <dwalluck at redhat.com> 0:3.9.0-3
+ - add pom
+ 
  * Thu Jan 15 2009 David Walluck <dwalluck at redhat.com> 0:3.9.0-2
  - bump release so that we are newer than f10




More information about the JPackage-commits mailing list