rpms/tla/devel tla.spec,1.12,1.13

Shahms King (shahms) fedora-extras-commits at redhat.com
Tue May 3 22:47:26 UTC 2005


Author: shahms

Update of /cvs/extras/rpms/tla/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16628

Modified Files:
	tla.spec 
Log Message:
fix documentation packaging



Index: tla.spec
===================================================================
RCS file: /cvs/extras/rpms/tla/devel/tla.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- tla.spec	3 May 2005 21:11:30 -0000	1.12
+++ tla.spec	3 May 2005 22:47:24 -0000	1.13
@@ -1,6 +1,6 @@
 Name:           tla
 Version:        1.3.2
-Release:        2
+Release:        3.fc4
 Summary:        The Low-Budget Arch Revision Control System
 
 Group:          Development/Tools
@@ -42,9 +42,11 @@
 ../configure \
   --prefix=%{_prefix} --with-install-link-tools=yes --with-cc=%{__cc}
 make CFLAGS="$RPM_OPT_FLAGS $(neon-config --cflags)" # %{?_smp_mflags} # 1.[23] is not parallel build clean
+
+# put the documentation in a reasonable spot and only include html/css files
 mkdir -p docs-tla/html
-cp -a ../docs-tla docs-tla/html
-find docs-tla/html -not -name \*.css -not -name \*.html -exec rm {} \;
+(cd ../docs-tla; find .  -name \*.css -o -name \*.html | xargs tar -cf- ) | \
+(cd docs-tla/html; tar -xf-)
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -61,12 +63,16 @@
 
 %files
 %defattr(-,root,root,-)
-%doc src/COPYING src/tla/ChangeLog src/=build/docs-tla/html
+%doc src/COPYING src/tla/ChangeLog src/=build/docs-tla/html/
 %{_bindir}/make-links
 %{_bindir}/remove-links
 %{_bindir}/tla
 
 %changelog
+* Tue May 03 2005 Shahms E. King <shahms at shahms.com> - 0:1.3.2-3
+- Add disttag
+- Fix documentation packaging
+
 * Tue May 03 2005 Shahms E. King <shahms at shahms.com> - 0:1.3.2-2
 - Increment release for devel
 




More information about the fedora-extras-commits mailing list