rpms/embryo/F-13 embryo.spec,1.12,1.13

thomasj thomasj at fedoraproject.org
Sun Apr 4 08:39:27 UTC 2010


Author: thomasj

Update of /cvs/pkgs/rpms/embryo/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv12851

Modified Files:
	embryo.spec 
Log Message:
spec fixes 1



Index: embryo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/embryo/F-13/embryo.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- embryo.spec	4 Apr 2010 06:50:41 -0000	1.12
+++ embryo.spec	4 Apr 2010 08:39:26 -0000	1.13
@@ -44,7 +44,8 @@ developing applications that use %{name}
 %build
 %configure --disable-static
 make %{?_smp_mflags}
-cd doc; make doc %{?_smp_mflags}
+sed -i -e 's/$projectname Documentation Generated: $datetime/$projectname Documentation/' doc/foot.html
+./gendoc
 
 %install
 rm -rf %{buildroot}
@@ -56,17 +57,10 @@ chrpath --delete %{buildroot}%{_bindir}/
 
 # remove unfinished manpages
 find doc/man/man3 -size -100c -delete
-
-for l in todo %{name}.dox
-do
- rm -f doc/man/man3/$l.3
-done 
-
+rm -f doc/man/man3/todo.3 # remove todo
 chmod -x doc/html/*
-
-mkdir -p %{buildroot}%{_mandir}/man3
-install -Dpm0644 doc/man/man3/* %{buildroot}%{_mandir}/man3
-
+install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man3
+install -p -m 644 doc/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3
 
 %clean
 rm -rf %{buildroot}



More information about the scm-commits mailing list