rpms/filesystem/devel filesystem.spec,1.45,1.46

Phil Knirsch (pknirsch) fedora-extras-commits at redhat.com
Tue May 27 15:28:46 UTC 2008


Author: pknirsch

Update of /cvs/pkgs/rpms/filesystem/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15153

Modified Files:
	filesystem.spec 
Log Message:
- First round of Fedora package review changes (#225752)



Index: filesystem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/filesystem/devel/filesystem.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- filesystem.spec	20 May 2008 14:14:13 -0000	1.45
+++ filesystem.spec	27 May 2008 15:28:03 -0000	1.46
@@ -1,6 +1,6 @@
 Summary: The basic directory layout for a Linux system
 Name: filesystem
-Version: 2.4.14
+Version: 2.4.15
 Release: 1%{?dist}
 License: Public Domain
 Group: System Environment/Base
@@ -18,6 +18,8 @@
 %prep
 rm -f $RPM_BUILD_DIR/filelist
 
+%build
+
 %install
 rm -rf %{buildroot}
 mkdir %{buildroot}
@@ -25,9 +27,9 @@
 cd %{buildroot}
 
 mkdir -p mnt/{floppy,cdrom} \
-	bin boot dev \
-	etc/{X11/{applnk,fontpath.d},xdg/autostart,opt,xinetd.d,skel,sysconfig,pki,fonts/conf.d,news} \
-	home lib/modules %{_lib}/tls media mnt opt proc root sbin selinux srv sys tmp \
+        bin boot dev \
+        etc/{X11/{applnk,fontpath.d},xdg/autostart,opt,xinetd.d,skel,sysconfig,pki,fonts/conf.d,news} \
+        home lib/modules %{_lib}/tls media mnt opt proc root sbin selinux srv sys tmp \
         usr/{bin,etc,games,include,%{_lib}/{games,sse2,tls,X11},lib/{games,locale,X11},libexec,local/{bin,etc,games,lib,%{_lib},sbin,src,share/{applications,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x},info},libexec,include,},sbin,share/{applications,desktop-directories,dict,doc,empty,fonts,games,gnome,icons,info,man/man{1,2,3,4,5,6,7,8,9,n,1x,2x,3x,4x,5x,6x,7x,8x,9x,0p,1p,3p},mime-info,misc,omf,pixmaps,themes,xsessions},src,src/kernels} \
         var/{empty,lib/{games,misc},local,lock/subsys,log,nis,preserve,run,spool/{mail,lpd},tmp,db,cache,opt,games,yp}
 
@@ -35,33 +37,33 @@
 ln -snf spool/mail var/mail
 
 grep -v "^$" /usr/share/iso-codes/iso_639.tab | grep -v "^#" | while read a b c d ; do
-	[[ "$d" =~ "^Reserved" ]] && continue
-	[[ "$d" =~ "^No linguistic" ]] && continue
-	
-	locale=$c
-	if [ "$locale" = "XX" ]; then
-		locale=$b
-	fi
-	echo "%lang(${locale})	/usr/share/locale/${locale}" >> $RPM_BUILD_DIR/filelist
+    [[ "$d" =~ "^Reserved" ]] && continue
+    [[ "$d" =~ "^No linguistic" ]] && continue
+
+    locale=$c
+    if [ "$locale" = "XX" ]; then
+        locale=$b
+    fi
+    echo "%lang(${locale})	/usr/share/locale/${locale}" >> $RPM_BUILD_DIR/filelist
 done
 cat %{SOURCE1} | grep -v "^#" | grep -v "^$" | while read loc ; do
-	locale=$loc
-	locality=
-	[[ "$locale" =~ "@" ]] && locale=${locale%%@*}
-	[[ "$locale" =~ "_" ]] && locality=${locale##*_}
-
-	# If the locality is not official, skip it
-	if [ -n "$locality" ]; then
-		grep -q "^$locality" /usr/share/iso-codes/iso_3166.tab || continue
-	fi
-	# If the locale is not official, skip it
-	egrep -q "[[:space:]]${locale%_*}[[:space:]]" /usr/share/iso-codes/iso_639.tab || continue
-	echo "%lang(${locale})	/usr/share/locale/${loc}" >> $RPM_BUILD_DIR/filelist
+    locale=$loc
+    locality=
+    [[ "$locale" =~ "@" ]] && locale=${locale%%@*}
+    [[ "$locale" =~ "_" ]] && locality=${locale##*_}
+
+    # If the locality is not official, skip it
+    if [ -n "$locality" ]; then
+        grep -q "^$locality" /usr/share/iso-codes/iso_3166.tab || continue
+    fi
+    # If the locale is not official, skip it
+    egrep -q "[[:space:]]${locale%_*}[[:space:]]" /usr/share/iso-codes/iso_639.tab || continue
+    echo "%lang(${locale})	/usr/share/locale/${loc}" >> $RPM_BUILD_DIR/filelist
 done
 
 
 cat $RPM_BUILD_DIR/filelist | while read a b ; do
-	mkdir -p -m 755 %{buildroot}/$b/LC_MESSAGES
+    mkdir -p -m 755 %{buildroot}/$b/LC_MESSAGES
 done
 
 %clean
@@ -136,6 +138,9 @@
 /var/yp
 
 %changelog
+* Tue May 27 2008 Phil Knirsch <pknirsch at redhat.com> - 2.4.15-1
+- First round of Fedora package review changes (#225752)
+
 * Tue May 20 2008 Phil Knirsch <pknirsch at redhat.com> - 2.4.14-1
 - Added /usr/src/kernels to owned and created dirs (#442283)
 
@@ -353,7 +358,7 @@
 * Thu Jun 01 2000 Preston Brown <pbrown at redhat.com>
 - add /var/spool/lpd to filesystem, owned by user/group lp, tight permissions
 
-* Tue May 23 2000 Trond Eivind Glomsrød <teg at redhat.com>
+* Tue May 23 2000 Trond Eivind Glomsrød <teg at redhat.com>
 - Added /etc/xinetd.d
 
 * Mon May 15 2000 Preston Brown <pbrown at redhat.com>




More information about the fedora-extras-commits mailing list