SPECS (AC-branch): poldek.spec - added prereq patch ported from po...

qboosh qboosh at pld-linux.org
Thu Jul 28 14:57:24 CEST 2005


Author: qboosh                       Date: Thu Jul 28 12:57:24 2005 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- added prereq patch ported from poldek 0.18.x
- mark snapshot in release

---- Files affected:
SPECS:
   poldek.spec (1.197.2.17 -> 1.197.2.18) 

---- Diffs:

================================================================
Index: SPECS/poldek.spec
diff -u SPECS/poldek.spec:1.197.2.17 SPECS/poldek.spec:1.197.2.18
--- SPECS/poldek.spec:1.197.2.17	Wed Jul 27 12:34:17 2005
+++ SPECS/poldek.spec	Thu Jul 28 14:57:18 2005
@@ -12,12 +12,13 @@
 Summary(pl):	Pomocnicze narzędzie do zarządzania pakietami RPM
 Name:		poldek
 Version:	0.19.0
-Release:	1
+Release:	1.%{snap}
 License:	GPL v2
 Group:		Applications/System
 Source0:	http://team.pld.org.pl/~mis/poldek/download/snapshots/%{name}-%{version}-cvs%{snap}.tar.bz2
 # Source0-md5:	d529239d781c3d9e36577305d46d1a37
 Source1:	%{name}.conf
+Patch0:		%{name}-prereq.patch
 URL:		http://team.pld.org.pl/~mis/poldek/
 BuildRequires:	automake
 BuildRequires:	autoconf
@@ -67,8 +68,6 @@
 
 %{!?with_imode:This version hasn't got interactive mode.}
 
-%{!?with_imode:This version hasn't got interactive mode.}
-
 %description -l pl
 poldek jest narzędziem linii poleceń służącym do weryfikacji,
 instalacji (włączając instalację systemu od zera), aktualizacji i
@@ -120,6 +119,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}-cvs%{snap}
+%patch0 -p1
 
 %build
 %{__autopoint}
@@ -169,17 +169,17 @@
 
 %find_lang %{name}
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %postun
 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
-%post libs	-p /sbin/ldconfig
-%postun libs	-p /sbin/ldconfig
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
 
 %triggerpostun -- poldek <= 0.18.3-5
 sed -i -e '/^promoteepoch:.*yes/s/^/#/' %{_sysconfdir}/poldek.conf
@@ -204,13 +204,13 @@
 
 %files libs
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so.*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.so
-%{_includedir}/*
 %{_libdir}/lib*.la
+%{_includedir}/*
 
 %files static
 %defattr(644,root,root,755)
@@ -222,6 +222,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.197.2.18  2005/07/28 12:57:18  qboosh
+- added prereq patch ported from poldek 0.18.x
+- mark snapshot in release
+
 Revision 1.197.2.17  2005/07/27 10:34:17  havner
 - fix-info-dir
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/poldek.spec?r1=1.197.2.17&r2=1.197.2.18&f=u




More information about the pld-cvs-commit mailing list