]> git.pld-linux.org Git - packages/setup.git/blobdiff - setup.spec
- oh, well.. no time mean many mistakes... :(
[packages/setup.git] / setup.spec
index 047edf13b4ddfa3e45375726ef71acbdfc70c360..e94a7e9bd3a75854941faa40e54fa8a9218ca112 100644 (file)
@@ -1,6 +1,5 @@
 # TODO:
 # - make some README.PLD with system features description
-# - use joinpasswd in post
 Summary:       Simple setup files
 Summary(de):   Einfache Setup-Dateien
 Summary(es):   Varios archivos básicos de configuración
@@ -10,12 +9,13 @@ Summary(pl): Podstawowe pliki systemu Linux
 Summary(pt_BR):        Vários arquivos básicos de configuração
 Summary(tr):   Basit kurulum dosyalarý
 Name:          setup
-Version:       2.4.4
-Release:       1.1
+Version:       2.4.5
+Release:       1
 License:       Public Domain, partially BSD-like
 Group:         Base
 Source0:       http://piorun.ds.pg.gda.pl/~blues/SOURCES/%{name}-%{version}.tar.bz2
-# Source0-md5: 74484812aa2e01e5b2fa5c4e8276969a
+# Source0-md5: 620d450c5bbc6097fafd3bbfc798ece7
+BuildRequires: dietlibc-static
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 AutoReqProv:   no
 
@@ -61,7 +61,7 @@ dosyalar
 %build
 %{__make} \
        OPT_FLAGS="%{rpmcflags}" \
-       CC=%{__cc}
+       CC="diet %{__cc}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -71,17 +71,8 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-#%triggerin -- %{name} < %{version}-%{release}
-#[ "$1" = "1" ] && exit 0
-#[ ! -e /etc/group.rpmnew ] && exit 0
-#cat /etc/group.rpmnew | while read GROUPLINE ; do
-#      GR="`echo $GROUPLINE | cut -f 1 -d ':'`"
-#      if ! grep -q "^$GR" /etc/group ; then
-#              echo "$GROUPLINE" >> /etc/group
-#      fi
-#done
-
-%post  -p joinpasswd
+%triggerpostun -- %{name} < %{version}-%{release}
+%{_sbindir}/joinpasswd
 
 %files
 %defattr(644,root,root,755)
This page took 0.362713 seconds and 4 git commands to generate.