]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - aiccu/aiccu.nm
glibc: Update to 2.20
[people/ms/ipfire-3.x.git] / aiccu / aiccu.nm
index a879172aa8170f0e15b15ff2d48648f46502386c..a97fb4e6ce3dbae2e6a02f7e5cf7ff0555e73575 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = aiccu
 version    = 20070115
-release    = 1
+release    = 2
 
 groups     = System/Daemons
 url        = http://www.sixxs.net/tools/aiccu/
@@ -19,6 +19,7 @@ description
 end
 
 source_dl  = http://www.sixxs.net/archive/sixxs/aiccu/unix/
+sources = %{name}_%{version}.tar.gz
 
 build
        requires
@@ -27,11 +28,10 @@ build
 
        DIR_APP = %{DIR_SRC}/%{name}
 
-       build
-               %{DO_FIX_LIBTOOL}
-               make %{PARALLELISMFLAGS} RPM_OPT_FLAGS="%{CFLAGS}"
-       end
+       make_build_targets += \
+               RPM_OPT_FLAGS="%{CFLAGS}"
 
+       # Remove old sysvinit stuff and emtpy usr/share directory.
        install_cmds
                rm -rvf %{BUILDROOT}/{etc,usr/share}
        end
@@ -39,6 +39,17 @@ end
 
 packages
        package %{name}
+               script postin
+                       systemctl daemon-reload >/dev/null 2>&1 || :
+               end
+
+               script postup
+                       systemctl daemon-reload >/dev/null 2>&1 || :
+               end
+
+               script postun
+                       systemctl daemon-reload >/dev/null 2>&1 || :
+               end
        end
 
        package %{name}-debuginfo