[packages/tzdata] break dependency loop

jajcus jajcus at pld-linux.org
Mon Mar 13 09:30:43 CET 2017


commit 2141fdbf9a858852a7c635341b346a5ca42787f1
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Mon Mar 13 09:26:54 2017 +0100

    break dependency loop
    
    warning: LOOP:
    warning: removing tzdata-zoneinfo-2016j-1.aos1.noarch "Requires: /etc/localtime" from tsort relations.
    warning: removing tzdata-2016j-1.aos1.noarch "Requires: tzdata-zoneinfo = 2016j-1.aos1" from tsort relations.
    
    This breaks package install order on clean systems.
    
    Release: 2

 tzdata.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/tzdata.spec b/tzdata.spec
index 71adf64..1231786 100644
--- a/tzdata.spec
+++ b/tzdata.spec
@@ -15,7 +15,7 @@ Summary:	Timezone data
 Summary(pl.UTF-8):	Dane o strefach czasowych
 Name:		tzdata
 Version:	%{tzdata_ver}
-Release:	1
+Release:	2
 License:	Public Domain (database), BSD/LGPL v2.1+ (code/test suite)
 Group:		Base
 # The tzdata-base-0.tar.bz2 is a simple building infrastructure and
@@ -262,6 +262,10 @@ fi
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/timezone
 %attr(754,root,root) /etc/rc.d/init.d/timezone
 %{systemdunitdir}/timezone.service
+%dir %{_datadir}/zoneinfo
+%{_datadir}/zoneinfo/localtime
+%{_datadir}/zoneinfo/posixrules
+%{_datadir}/zoneinfo/posixtime
 
 %if %{with java}
 %files -n java-tzdata
@@ -273,6 +277,9 @@ fi
 %defattr(644,root,root,755)
 %{_datadir}/zoneinfo
 %exclude %{_datadir}/zoneinfo/right
+%exclude %{_datadir}/zoneinfo/localtime
+%exclude %{_datadir}/zoneinfo/posixrules
+%exclude %{_datadir}/zoneinfo/posixtime
 
 %files zoneinfo_right
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tzdata.git/commitdiff/2141fdbf9a858852a7c635341b346a5ca42787f1



More information about the pld-cvs-commit mailing list