I have made the following changes intended for :
  CE:MW:Shared / swi-prolog

Please review and accept or decline.
BOSS has already run some checks on this request.
See the "Messages from BOSS" section below.

https://build.pub.meego.com//request/show/5291

Thank You,
rojkov

[This message was auto-generated]

---

Request # 5291:

Messages from BOSS:

State: review at 2012-07-24T15:52:28 by bossbot

Reviews:
       accepted by bossbot : Prechecks succeeded.
       new for CE-maintainers : Please replace this text with a review and 
approve/reject the review (not the SR). BOSS will take care of the rest

Changes:
  submit: home:rojkov:branches:CE:MW:Shared / swi-prolog -> CE:MW:Shared / 
swi-prolog
  
changes files:
--------------
--- swi-prolog.changes
+++ swi-prolog.changes
@@ -0,0 +1,4 @@
+* Tue Jul 24 2012 Dmitry Rozhkov <[email protected]> - 5.6.50
+- Fix packaging: check if swi-prolog-library-core gets removed from the system
+  before deleting library index.
+

spec files:
-----------
--- swi-prolog.spec
+++ swi-prolog.spec
@@ -1,11 +1,13 @@
 # 
 # Do NOT Edit the Auto-generated Part!
-# Generated by: spectacle version 0.23
+# Generated by: spectacle version 0.24.1
 # 
+
+Name:       swi-prolog
+
 # >> macros
 # << macros
 
-Name:       swi-prolog
 Summary:    Prolog Interpreter
 Version:    5.6.50
 Release:    0
@@ -23,7 +25,6 @@
 Patch4:     0003-FIXED-Bug-480-Possible-memory-issue-with-error-messa.patch
 Provides:   pl
 
-
 %description
 ISO/Edinburgh-style Prolog compiler.  Compliant with Part 1 of the ISO standard
 for Prolog.  Covers all traditional Edinburgh Prolog features and shares many
@@ -40,7 +41,6 @@
 a module system, garbage collection and an interface to the C language.
 
 
-
 %package runtime-lib
 Summary:    SWI-Prolog runtime environment dynamic lib
 Group:      System/Resource Policy
@@ -158,6 +158,7 @@
 # >> build post
 make ARCH=%{_arch} PLARCH=%{_arch}
 # << build post
+
 %install
 rm -rf %{buildroot}
 # >> install pre
@@ -180,21 +181,15 @@
 # << install post
 
 
-
-
-
-
-
 %post runtime-lib -p /sbin/ldconfig
 
 %postun runtime-lib -p /sbin/ldconfig
 
-
-
-
 %preun library-core
 # >> preun library-core
+if [ $1 -eq 0 ]; then
 /bin/rm -f -- %{_libdir}/swipl-%{version}/library/INDEX.pl
+fi
 # << preun library-core
 
 %post library-core
@@ -203,8 +198,6 @@
 %{_libdir}/swipl-%{version}/bin/%{_arch}/swipl --quiet -f none -F none -g 
"make_library_index('.')" -t halt
 # << post library-core
 
-
-
 %post library
 # >> post library
 cd %{_libdir}/swipl-%{version}/library
@@ -217,9 +210,6 @@
 %{_libdir}/swipl-%{version}/bin/%{_arch}/swipl --quiet -f none -F none -g 
"make_library_index('.')" -t halt
 # << postun library
 
-
-
-
 %files
 %defattr(-,root,root,-)
 # >> files
@@ -230,7 +220,6 @@
 %{_libdir}/swipl-%{version}/boot*.prc
 # << files
 
-
 %files runtime-lib
 %defattr(-,root,root,-)
 # >> files runtime-lib
@@ -363,4 +352,3 @@
 %{_libdir}/swipl-%{version}/lib/%{_arch}/libpl.so
 %exclude %{_libdir}/swipl-%{version}/lib/%{_arch}/libpl.a
 # << files devel
-

other changes:
--------------



Reply via email to