SPECS (DEVEL): kadu.spec - fix %setup handling when building --wit...

shadzik shadzik at pld-linux.org
Sat Dec 30 20:06:56 CET 2006


Author: shadzik                      Date: Sat Dec 30 19:06:56 2006 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- fix %setup handling when building --with snap, it doesn't break common build

---- Files affected:
SPECS:
   kadu.spec (1.97.2.69 -> 1.97.2.70) 

---- Diffs:

================================================================
Index: SPECS/kadu.spec
diff -u SPECS/kadu.spec:1.97.2.69 SPECS/kadu.spec:1.97.2.70
--- SPECS/kadu.spec:1.97.2.69	Sat Dec 23 23:05:34 2006
+++ SPECS/kadu.spec	Sat Dec 30 20:06:51 2006
@@ -48,11 +48,11 @@
 Group:		Applications/Communications
 
 %if %{with snap}
-Source0:	http://kadu.net/download/snapshots/%{year}/%{name}-%{_snap}.tar.bz2
-# Source0-md5:	013d9cde2da23021418a50d15203c36e
+Source100:	http://kadu.net/download/snapshots/%{year}/%{name}-%{_snap}.tar.bz2
+# Source100-md5:	013d9cde2da23021418a50d15203c36e
 %else
-Source1:	http://kadu.net/download/stable/%{name}-%{version}-%{_rel}.tar.bz2
-# Source1-md5:	75e5ebd7d0952e5ac4d10ea87b8f3f60
+Source0:	http://kadu.net/download/stable/%{name}-%{version}-%{_rel}.tar.bz2
+# Source0-md5:	75e5ebd7d0952e5ac4d10ea87b8f3f60
 %endif
 
 Source2:	http://scripts.one.pl/xmms/devel/%{version}/xmms-%{_xmms_mod_ver}.tar.gz
@@ -138,7 +138,6 @@
 %description module-sound-alsa -l pl
 Moduł obsługi dźwięku przez ALSA.
 
-
 %package module-sound-arts
 Summary:	Support aRts sound server
 Summary(pl):	Wsparcie dla serwera dzwięku arts
@@ -260,7 +259,7 @@
 Moduł szpiegowski pokazujący ukryte osoby.
 
 %prep
-%setup -q -n %{name}
+%setup -q -T -b %{?with_snap:10}0 -n %{name}
 %patch0 -p1
 
 %if %{with xmms}
@@ -682,6 +681,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.97.2.70  2006/12/30 19:06:51  shadzik
+- fix %setup handling when building --with snap, it doesn't break common build
+
 Revision 1.97.2.69  2006/12/23 22:05:34  shadzik
 - better snapshot handling ( --with  snap)
 - snapshot up to 20061218
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kadu.spec?r1=1.97.2.69&r2=1.97.2.70&f=u



More information about the pld-cvs-commit mailing list