]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
tzdata: Fix installation location of the files
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 5 Jul 2015 22:52:17 +0000 (00:52 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 5 Jul 2015 22:52:17 +0000 (00:52 +0200)
The files were installed in a wrong sub-directory
and therefore could not be properly found by programs
using time.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tzdata/tzdata.nm

index 434fb68cf6fa1445da5c4a02474100a29bdd755b..8a5abd34df076b594636f33274086921ecaa2b6e 100644 (file)
@@ -8,7 +8,7 @@ tzcode_version = 2014j
 
 name       = tzdata
 version    = %{tzdata_version}
-release    = 1
+release    = 2
 arch       = noarch
 
 groups     = System/Base
@@ -63,7 +63,7 @@ build
 
        install
                mkdir -pv %{BUILDROOT}%{datadir}/zoneinfo
-               cp -prd zoneinfo %{BUILDROOT}%{datadir}/zoneinfo
+               cp -prd zoneinfo/* %{BUILDROOT}%{datadir}/zoneinfo
 
                install -p -m 644 zone.tab iso3166.tab \
                        %{BUILDROOT}%{datadir}/zoneinfo