SPECS: anaconda.spec - -debug package for debugging purposes
glen
glen at pld-linux.org
Mon Jun 5 22:51:29 CEST 2006
Author: glen Date: Mon Jun 5 20:51:29 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- -debug package for debugging purposes
---- Files affected:
SPECS:
anaconda.spec (1.43 -> 1.44)
---- Diffs:
================================================================
Index: SPECS/anaconda.spec
diff -u SPECS/anaconda.spec:1.43 SPECS/anaconda.spec:1.44
--- SPECS/anaconda.spec:1.43 Mon Jun 5 21:29:05 2006
+++ SPECS/anaconda.spec Mon Jun 5 22:51:23 2006
@@ -1,4 +1,7 @@
# $Revision$, $Date$
+# TODO
+# - split anaconda-gui and anaconda-tui
+#
%if 0
# FC to PLD deps replace rules, extracted from cvs logs
:%s#libxml2-python#python-libxml2#
@@ -15,7 +18,7 @@
Summary(pl): Graficzny instalator systemu
Name: anaconda
Version: 11.0.5
-Release: 0.60
+Release: 0.63
License: GPL
Group: Applications/System
Source0: %{name}-%{version}.tar.bz2
@@ -157,6 +160,14 @@
nośników, nie są przewidziane do używania na już zainstalowanych
systemach.
+%package debug
+Summary: Sourcecode for Anaconda
+AutoReqProv: false
+Group: Applications/System
+Requires: %{name} = %{version}-%{release}
+
+%description debug
+
%prep
%setup -q
%patch0 -p1
@@ -217,7 +228,7 @@
cp %{SOURCE4} $RPM_BUILD_ROOT%{_libdir}/anaconda-runtime/scrubtree
%find_lang %{name}
-%py_postclean %{_libdir}/anaconda
+%{!?debug:%py_postclean %{_libdir}/anaconda}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -242,6 +253,15 @@
%attr(755,root,root) %{_libdir}/anaconda/*-stub
%attr(755,root,root) %{_libdir}/anaconda/*.so
+%if %{!?debug:0}%{?debug:1}
+%files debug
+%defattr(644,root,root,755)
+%{_libdir}/anaconda/*.py
+%{_libdir}/anaconda/installclasses/*.py
+%{_libdir}/anaconda/iw/*.py
+%{_libdir}/anaconda/textw/*.py
+%endif
+
%files runtime
%defattr(644,root,root,755)
%dir %{_libdir}/anaconda-runtime
@@ -298,6 +318,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.44 2006/06/05 20:51:23 glen
+- -debug package for debugging purposes
+
Revision 1.43 2006/06/05 19:29:05 glen
- fix custom installclass
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/anaconda.spec?r1=1.43&r2=1.44&f=u
More information about the pld-cvs-commit
mailing list