rpms/sqlite/devel sqlite.spec,1.4,1.5

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Jul 14 20:23:23 UTC 2005


Author: roland

Update of /cvs/dist/rpms/sqlite/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv7023

Modified Files:
	sqlite.spec 
Log Message:
Punt newfangled rpm macros.


Index: sqlite.spec
===================================================================
RCS file: /cvs/dist/rpms/sqlite/devel/sqlite.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sqlite.spec	14 Jul 2005 20:17:04 -0000	1.4
+++ sqlite.spec	14 Jul 2005 20:23:21 -0000	1.5
@@ -1,5 +1,5 @@
 # --with-tcl enables sqlite-tcl subpackage, and also makes %%check possible.
-%bcond_with tcl
+%define tcl 0%{?_with_tcl:1}
 
 Summary: Library that implements an embeddable SQL database engine
 Name: sqlite
@@ -12,7 +12,7 @@
 Obsoletes: sqlite3 sqlite3-devel
 BuildRequires: ncurses-devel readline-devel
 BuildRequires: /usr/bin/tclsh
-%if %{with tcl}
+%if %{tcl}
 BuildRequires: tcl-devel
 %endif
 BuildRoot: %{_tmppath}/%{name}-root
@@ -36,7 +36,7 @@
 documentation for %{name}. If you like to develop programs using %{name},
 you will need to install %{name}-devel.
 
-%if %{with tcl}
+%if %{tcl}
 %package tcl
 Summary: Tcl module for the sqlite3 embeddable SQL database engine.
 Group: Development/Languages
@@ -61,7 +61,7 @@
 
 %{__install} -D -m0644 sqlite3.1 %{buildroot}%{_mandir}/man1/sqlite3.1
 
-%if %{with tcl}
+%if %{tcl}
 %check
 make test
 %endif
@@ -89,7 +89,7 @@
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 
-%if %{with tcl}
+%if %{tcl}
 %files tcl
 %defattr(-, root, root)
 %{_datadir}/tcl*/sqlite3




More information about the fedora-cvs-commits mailing list