Index: python-BeautifulSoup.spec
===================================================================
RCS file: /cvsroot/SPECS/python-BeautifulSoup.spec,v
retrieving revision 1.2
diff -u -r1.2 python-BeautifulSoup.spec
--- python-BeautifulSoup.spec	31 Mar 2007 17:20:18 -0000	1.2
+++ python-BeautifulSoup.spec	3 Apr 2007 21:45:18 -0000
@@ -29,6 +29,18 @@
 metody i idiomy pythonowe do iterowania oraz przeszukiwania drzewa
 wyniku parsowania.
 
+%package devel-src
+Summary:	Python BeautifulSoup module sources
+Summary(pl.UTF-8):	Pliki źródłowe modułu BeautifulSoup dla Pythona
+Group:		Development/Languages/Python
+Requires:	%{name}-modules = %{epoch}:%{version}-%{release}
+
+%description devel-src
+Python BeautifulSoup module sources.
+
+%description devel-src -l pl.UTF-8
+Pliki źródłowe modułu BeautifulSoup dla Pythona.
+
 %prep
 %setup -q -n %{_module}-%{version}
 
@@ -45,7 +57,7 @@
 
 install BeautifulSoupTests.py \
 	$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
-%py_postclean
+rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/BeautifulSoupTests.py
 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/BeautifulSoupTests.py[co]
 
 %clean
@@ -55,6 +67,10 @@
 %defattr(644,root,root,755)
 %{_examplesdir}/%{name}-%{version}/BeautifulSoupTests.py
 %{py_sitescriptdir}/BeautifulSoup.py[co]
+
+%files devel-src
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/BeautifulSoup.py
 
 %define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
