]> git.pld-linux.org Git - packages/util-linux.git/commitdiff
- fixed broken upgrade; use %service; rel 4, STBR auto/ac/util-linux-2_12r-4
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 8 Feb 2006 16:48:03 +0000 (16:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    util-linux.spec -> 1.275

util-linux.spec

index 7c8eba3e51dec604699931f4c694e775f14972d2..73584b30332691b22141c17b7cca90dc94fbd2ed 100644 (file)
@@ -17,7 +17,7 @@ Summary(tr):  Temel sistem ara
 Summary(uk):   îÁ¦ҠÂÁÚÏ×ÉÈ ÓÉÓÔÅÍÎÉÈ ÕÔÉ̦ԠÄÌÑ Linux
 Name:          util-linux
 Version:       2.12r
-Release:       3
+Release:       4
 License:       distributable
 Group:         Applications/System
 # devel versions at ftp://ftp.kernel.org/pub/linux/utils/util-linux/testing
@@ -69,6 +69,7 @@ BuildRequires:        grep
 BuildRequires: libselinux-devel
 %{!?with_uClibc:BuildRequires: ncurses-devel >= 5.0}
 %{!?with_uClibc:BuildRequires: pam-devel >= 0.79.0}
+BuildRequires: rpmbuild(macros) >= 1.268
 BuildRequires: texinfo
 BuildRequires: textutils
 %{!?with_uClibc:BuildRequires: zlib-devel}
@@ -140,7 +141,7 @@ Summary(pl):        Obs
 Group:         Applications/System
 Requires(post,preun):  /sbin/chkconfig
 Requires:      rc-scripts
-#Requires: uname(release) >= 2.6
+#Requires:     uname(release) >= 2.6
 
 %description -n blockdev
 The utility blockdev allows one to call block device ioctls from the
@@ -157,8 +158,8 @@ Summary:    Programs for setting up and configuring loopback devices
 Summary(de):   Programme zum Einrichten und Konfigurieren von Loopback-Geräten
 Summary(fr):   Programmes pour mettre en place et configurer les loopback
 Summary(pl):   Program do konfiguracji urz±dzenia blokowego loopback
-Summary(tr):   Yerel-çevrim aygýtlarýnýn kurulmasý ve ayarlanmasý için programlar
 Summary(ru):   ðÒÏÇÒÁÍÍÙ ÄÌÑ ÎÁÓÔÒÏÊËÉ loopback-ÕÓÔÒÏÊÓÔ×
+Summary(tr):   Yerel-çevrim aygýtlarýnýn kurulmasý ve ayarlanmasý için programlar
 Summary(uk):   ðÒÏÇÒÁÍÉ ÄÌÑ ËÏÎƦÇÕÒÁ槠loopback-ÐÒÉÓÔÒϧ×
 Group:         Applications/System
 
@@ -225,9 +226,9 @@ Summary:    Programs for mounting and unmounting filesystems
 Summary(de):   Programme zum montieren und abmontieren von Dateisystemen
 Summary(fr):   Programme pour monter et démonter des systèmes de fichiers
 Summary(pl):   Programy do montowania i odmontowywania systemów plików
+Summary(ru):   ðÒÏÇÒÁÍÍÙ ÄÌÑ ÍÏÎÔÉÒÏ×ÁÎÉÑ É ÒÁÚÍÏÎÔÉÒÏ×ÁÎÉÑ ÆÁÊÌÏ×ÙÈ ÓÉÓÔÅÍ
 Summary(tr):   Dosya sistemlerini baðlamak ve çözmek için programlar
 Summary(uk):   ðÒÏÇÒÁÍÉ ÄÌÑ ÍÏÎÔÕ×ÁÎÎÑ ÔÁ ÒÏÚÍÏÎÔÕ×ÁÎÎÑ ÆÁÊÌÏ×ÉÈ ÓÉÓÔÅÍ
-Summary(ru):   ðÒÏÇÒÁÍÍÙ ÄÌÑ ÍÏÎÔÉÒÏ×ÁÎÉÑ É ÒÁÚÍÏÎÔÉÒÏ×ÁÎÉÑ ÆÁÊÌÏ×ÙÈ ÓÉÓÔÅÍ
 Group:         Applications/System
 Requires:      cryptsetup >= 0.2-1.pre1.4
 Requires:      libgcrypt >= 1.2.0-6
@@ -504,31 +505,23 @@ rm -rf $RPM_BUILD_ROOT
 
 %post -n blockdev
 /sbin/chkconfig --add blockdev
-if [ -f /var/lock/subsys/blockdev ]; then
-       /etc/rc.d/init.d/blockdev restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/blockdev start\" to start blockdev."
-fi
+%service blockdev restart
 
 %preun -n blockdev
-if [ -f /var/lock/subsys/blockdev ]; then
-       /etc/rc.d/init.d/blockdev stop 1>&2
+if [ "$1" = "0" ]; then
+       %service blockdev stop
+       /sbin/chkconfig --del blockdev
 fi
-/sbin/chkconfig --del blockdev
 
 %post -n rawdevices
 /sbin/chkconfig --add rawdevices
-if [ -f /var/lock/subsys/rawdevices ]; then
-       /etc/rc.d/init.d/rawdevices restart 1>&2
-else
-       echo "Run \"/etc/rc.d/init.d/rawdevices start\" to start rawdevices."
-fi
+%service rawdevices restart
 
 %preun -n rawdevices
-if [ -f /var/lock/subsys/rawdevices ]; then
-       /etc/rc.d/init.d/rawdevices stop 1>&2
+if [ "$1" = "0" ]; then
+       %service rawdevices stop
+       /sbin/chkconfig --del rawdevices
 fi
-/sbin/chkconfig --del rawdevices
 
 %files %{!?with_uClibc:-f %{name}.lang}
 %defattr(644,root,root,755)
This page took 0.039317 seconds and 4 git commands to generate.