SPECS: e2fsprogs.spec - pl for -libs - avoid creating empty packag...

qboosh qboosh at pld-linux.org
Tue May 6 20:33:16 CEST 2008


Author: qboosh                       Date: Tue May  6 18:33:16 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl for -libs
- avoid creating empty package if with allstatic

---- Files affected:
SPECS:
   e2fsprogs.spec (1.190 -> 1.191) 

---- Diffs:

================================================================
Index: SPECS/e2fsprogs.spec
diff -u SPECS/e2fsprogs.spec:1.190 SPECS/e2fsprogs.spec:1.191
--- SPECS/e2fsprogs.spec:1.190	Wed Apr 30 08:27:54 2008
+++ SPECS/e2fsprogs.spec	Tue May  6 20:33:11 2008
@@ -290,13 +290,17 @@
 
 %package libs
 Summary:	ext2 filesystem-specific libraries
+Summary(pl.UTF-8):	Biblioteki dla systemu plików ext2
 Group:		Libraries
-Conflicts:	%{name} < 1.40.6-3
+Conflicts:	e2fsprogs < 1.40.6-3
 Conflicts:	fsck < 1.40.6-3
 
 %description libs
 ext2 filesystem-specific libraries.
 
+%description libs -l pl.UTF-8
+Biblioteki dla systemu plików ext2.
+
 %package devel
 Summary:	ext2 filesystem-specific libraries and headers
 Summary(cs.UTF-8):	Knihovny a hlavičkové soubory pro systém souborů ext2
@@ -321,7 +325,9 @@
 Summary(zh_CN.UTF-8):	ext2 文件系统特有的静态库和头文件。
 Summary(zh_TW.UTF-8):	ext2 檔案系統特定的靜態函式庫與表頭。
 Group:		Development/Libraries
+%if %{with allstatic}
 Requires:	%{name}-libs = %{version}-%{release}
+%endif
 Requires:	libcom_err-devel = %{version}-%{release}
 Requires:	libuuid-devel = %{version}-%{release}
 Obsoletes:	libext2fs2-devel
@@ -570,7 +576,9 @@
 Summary:	Check and repair a Linux file system
 Summary(pl.UTF-8):	Sprawdzenie i naprawa linuksowego systemu plików
 Group:		Applications/System
+%if %{with allstatic}
 Requires:	%{name}-libs = %{version}-%{release}
+%endif
 Requires:	libuuid = %{version}-%{release}
 
 %description -n fsck
@@ -698,14 +706,14 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -p /sbin/postshell
+%post	-p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun -p /sbin/postshell
+%postun	-p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
 
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
+%post	libs -p /sbin/ldconfig
+%postun	libs -p /sbin/ldconfig
 
 %post	devel -p /sbin/postshell
 -/usr/sbin/fix-info-dir -c %{_infodir}
@@ -864,9 +872,9 @@
 %{_datadir}/ss
 %{_infodir}/e2compr.info*
 
+%if %{without allstatic}
 %files libs
 %defattr(644,root,root,755)
-%if %{without allstatic}
 %attr(755,root,root) /%{_lib}/libblkid.so.*.*
 %attr(755,root,root) %ghost /%{_lib}/libblkid.so.1
 %attr(755,root,root) /%{_lib}/libe2p.so.*.*
@@ -953,8 +961,8 @@
 
 %files -n uuidd
 %defattr(644,root,root,755)
-%attr(2775,uuidd,uuidd) /var/lib/libuuid
 %attr(6755,uuidd,uuidd) %{_sbindir}/uuidd
+%attr(2775,uuidd,uuidd) /var/lib/libuuid
 %{_mandir}/man8/uuidd.8*
 
 %files -n fsck
@@ -978,6 +986,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.191  2008-05-06 18:33:11  qboosh
+- pl for -libs
+- avoid creating empty package if with allstatic
+
 Revision 1.190  2008-04-30 06:27:54  glen
 - second conflict for blkid; rel 5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/e2fsprogs.spec?r1=1.190&r2=1.191&f=u



More information about the pld-cvs-commit mailing list