SPECS: poldek.spec - require rpm-lib from same rpm that poldek was...

glen glen at pld-linux.org
Thu Jan 10 12:11:47 CET 2008


Author: glen                         Date: Thu Jan 10 11:11:47 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- require rpm-lib from same rpm that poldek was built with; rel .12

---- Files affected:
SPECS:
   poldek.spec (1.303 -> 1.304) 

---- Diffs:

================================================================
Index: SPECS/poldek.spec
diff -u SPECS/poldek.spec:1.303 SPECS/poldek.spec:1.304
--- SPECS/poldek.spec:1.303	Mon Jan  7 23:17:03 2008
+++ SPECS/poldek.spec	Thu Jan 10 12:11:41 2008
@@ -9,16 +9,16 @@
 %define	ver_db	4.3.27-1
 %define	ver_rpm	4.4.9-1
 #
-%define		_snap	20070703.00
-%define		_rel	11
+%define		snap	20070703.00
+%define		rel	12
 Summary:	RPM packages management helper tool
 Summary(pl.UTF-8):	Pomocnicze narzędzie do zarządzania pakietami RPM
 Name:		poldek
 Version:	0.21
-Release:	0.%{_snap}.%{_rel}
+Release:	0.%{snap}.%{rel}
 License:	GPL v2
 Group:		Applications/System
-Source0:	http://poldek.pld-linux.org/download/snapshots/%{name}-%{version}-cvs%{_snap}.tar.bz2
+Source0:	http://poldek.pld-linux.org/download/snapshots/%{name}-%{version}-cvs%{snap}.tar.bz2
 # Source0-md5:	dae23dec560fad954abf157fd250e4c3
 Source1:	%{name}.conf
 Source2:	%{name}-multilib.conf
@@ -75,6 +75,7 @@
 Requires:	%{name}-libs = %{version}-%{release}
 Requires:	db >= %{ver_db}
 Requires:	rpm >= %{ver_rpm}
+Requires:	rpm-lib = %(rpm -q --qf '%{V}' rpm-lib)
 # vf* scripts use sed
 Requires:	sed
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -157,7 +158,7 @@
 Moduły języka Python dla poldka.
 
 %prep
-%setup -q -n %{name}-%{version}%{?_snap:-cvs%{_snap}}
+%setup -q -n %{name}-%{version}%{?snap:-cvs%{snap}}
 %patch1 -p1
 %patch2 -p1
 %ifarch %{x8664}
@@ -373,6 +374,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.304  2008-01-10 11:11:41  glen
+- require rpm-lib from same rpm that poldek was built with; rel .12
+
 Revision 1.303  2008-01-07 22:17:03  arvenil
 - added desktop file and icon
 - icon by Karol Kreński (mimooh) <mimooh at inf.sgsp.edu.pl> adapted as icon by me;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/poldek.spec?r1=1.303&r2=1.304&f=u



More information about the pld-cvs-commit mailing list