rpms/tcl-tktreectrl/F-10 tcl-tktreectrl.spec,1.1,1.2

Michael Thomas wart at fedoraproject.org
Sat Dec 20 17:24:18 UTC 2008


Author: wart

Update of /cvs/extras/rpms/tcl-tktreectrl/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20964

Modified Files:
	tcl-tktreectrl.spec 
Log Message:
- Move html documentation to proper doc directory
- Add missing Requires: on tk
- Remove redundant BuildRequires.  Everything necessary is brought in by
  tk-devel.




Index: tcl-tktreectrl.spec
===================================================================
RCS file: /cvs/extras/rpms/tcl-tktreectrl/F-10/tcl-tktreectrl.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- tcl-tktreectrl.spec	30 Oct 2008 14:39:29 -0000	1.1
+++ tcl-tktreectrl.spec	20 Dec 2008 17:23:48 -0000	1.2
@@ -4,17 +4,18 @@
 
 Name:		tcl-%{realname}
 Version:	2.2.8
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Multi-column hierarchical listbox widget for Tk
 Group:		System Environment/Libraries
 License:	TCL
 URL:		http://tktreectrl.sourceforge.net/
 Source0:	http://downloads.sourceforge.net/tktreectrl/%{realname}-%{version}.tar.gz
 BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+Obsoletes:	tk-%{realname} < 2.2.3-6
 Provides:	%{realname} = %{version}-%{release}
 Provides:	tk-%{realname} = %{version}-%{release}
-BuildRequires:	tcl-devel, tk-devel, libX11-devel
-Requires:	tcl(abi) = 8.5
+BuildRequires:	tk-devel
+Requires:	tcl(abi) = 8.5 tk
 
 
 %description
@@ -34,16 +35,25 @@
 install -d %{buildroot}%{tcl_sitearch}
 mv %{buildroot}%{_libdir}/treectrl%{version} %{buildroot}%{tcl_sitearch}/treectrl%{version}
 
+# Remove documentation files from the installation tree
+rm -rf $RPM_BUILD_ROOT%{tcl_sitearch}/treectrl%{version}/htmldoc
+
 %clean
 rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
-%doc README.txt license.terms ChangeLog
+%doc README.txt license.terms ChangeLog doc/*.html
 %{tcl_sitearch}/treectrl%{version}/
 %{_mandir}/mann/treectrl*
 
 %changelog
+* Sat Dec 20 2008 Wart <wart at kobold.org> 2.2.8-2
+- Move html documentation to proper doc directory
+- Add missing Requires: on tk
+- Remove redundant BuildRequires.  Everything necessary is brought in by
+  tk-devel.
+
 * Fri Oct 24 2008 Tom "spot" Callaway <tcallawa at redhat.com> 2.2.8-1
 - update to 2.2.8
 




More information about the fedora-extras-commits mailing list