SPECS: javassist.spec - Release: 1 - %doc handling fixed (previously the /u...

jajcus jajcus at pld-linux.org
Fri May 9 14:18:36 CEST 2008


Author: jajcus                       Date: Fri May  9 12:18:36 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Release: 1
- %doc handling fixed (previously the /usr/share/doc/%{name}-%{version} directory was not packaged)

---- Files affected:
SPECS:
   javassist.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/javassist.spec
diff -u SPECS/javassist.spec:1.2 SPECS/javassist.spec:1.3
--- SPECS/javassist.spec:1.2	Mon Jan 14 22:59:01 2008
+++ SPECS/javassist.spec	Fri May  9 14:18:31 2008
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	Asystent programisty Javy: operacje na bajtkodzie
 Name:		javassist
 Version:	3.5
-Release:	0.1
+Release:	1
 License:	MPL and LGPL
 Group:		Development/Languages/Java
 Source0:	http://repository.jboss.com/javassist/3.5.0.CR1-brew/src/%{name}-%{version}.CR1-src.tar.gz
@@ -106,11 +106,6 @@
 cp -pr html/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
 ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink
 
-# manual
-install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/tutorial
-cp -pr tutorial/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}/tutorial
-cp -p License.html $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -119,7 +114,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc %{_docdir}/%{name}-%{version}/License.html
+%doc License.html Readme.html
 %{_javadir}/*.jar
 
 %files demo
@@ -133,7 +128,7 @@
 
 %files manual
 %defattr(644,root,root,755)
-%doc %{_docdir}/%{name}-%{version}/tutorial
+%doc tutorial
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -141,6 +136,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008-05-09 12:18:31  jajcus
+- Release: 1
+- %doc handling fixed (previously the /usr/share/doc/%{name}-%{version} directory was not packaged)
+
 Revision 1.2  2008-01-14 21:59:01  qboosh
 - pl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/javassist.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list