[meego-commits] 5300: Changes to Trunk:Testing/cloog

Austin Zhang austin.zhang at intel.com
Fri Jul 2 03:22:07 UTC 2010


Hi,
I have made the following changes to cloog in project Trunk:Testing. Please review and accept ASAP.

Thank You,
Austin Zhang

[This message was auto-generated]

---

Request #5300:

  submit:   home:austin:branches:Trunk:Testing/cloog(r2)(cleanup) -> Trunk:Testing/cloog


Message:
    Only build for ix86 (arm don't need this), also let it keep at prjconf

State:   new          2010-07-01T15:18:25 austin
Comment: None



changes files:
--------------
--- cloog.changes
+++ cloog.changes
@@ -1,3 +1,4 @@
-* Tue Mar 23 2010 Jian-feng Ding <jian-feng.ding at intel.com> 0.15.7
-- Remove unused empty main package
-
+* Tue Jun 29 2010 Austin Zhang <austin.zhang at intel.com> 0.15.7-2
+- Only build for ix86 (arm don't need this), also let it keep at
+  prjconf
+ 

spec files:
-----------
--- cloog.spec
+++ cloog.spec
@@ -1,6 +1,6 @@
 # 
 # Do not Edit! Generated by:
-# spectacle version 0.14
+# spectacle version 0.17
 # 
 # >> macros
 # << macros
@@ -9,17 +9,21 @@
 Name:       cloog
 Summary:    The Chunky Loop Generator
 Version:    0.15.7
-Release:    1
+Release:    2
 Group:      System/Libraries
 License:    GPLv2+
+ExclusiveArch:  %ix86
 URL:        http://www.cloog.org
 Source0:    %{name}-ppl-%{version}.tar.gz
 Source100:  cloog.yaml
+Requires(preun): info
+Requires(post): info
 BuildRequires:  ppl-devel >= 0.10.2
 BuildRequires:  gmp-devel >= 4.1.3
 BuildRequires:  texinfo >= 4.12
 BuildRequires:  libtool
 
+
 %description
 CLooG is a software which generates loops for scanning Z-polyhedra. That is,
 CLooG finds the code or pseudo-code where each integral point of one or more
@@ -31,20 +35,21 @@
 %package ppl-devel
 Summary:    Development tools for the ppl based version of Chunky Loop Generator
 Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
 Requires:   %{name}-ppl = %{version}-%{release}
 Requires:   ppl-devel >= 0.10, gmp-devel >= 4.1.3
 
 %description ppl-devel
+-devel
 The header files and dynamic shared libraries of the Chunky Loop Generator.
 
 
 %package ppl
 Summary:    Parma Polyhedra Library backend (ppl) based version of the Cloog binaries
 Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
 Requires(post):  /sbin/ldconfig
 Requires(postun):  /sbin/ldconfig
-Requires(post):  /sbin/install-info
-Requires(postun):  /sbin/install-info
 
 %description ppl
 The dynamic shared libraries of the Chunky Loop Generator
@@ -89,18 +94,20 @@
 
 
 
-%post ppl
-/sbin/ldconfig
-%install_info --info-dir=%_infodir %{_infodir}/cloog.info*gz
-
-%postun ppl
-/sbin/ldconfig
-if [ $1 = 0 ] ;then
-%install_info_delete --info-dir=%{_infodir} %{_infodir}/cloog.info*gz
-fi
 
 
 
+
+%post ppl -p /sbin/ldconfig
+
+%postun ppl -p /sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+# >> files
+# << files
+
+
 %files ppl-devel
 %defattr(-,root,root,-)
 # >> files ppl-devel

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

++++++ cloog.yaml
--- cloog.yaml
+++ cloog.yaml
@@ -1,10 +1,11 @@
 Name: cloog
 Summary: The Chunky Loop Generator
 Version: 0.15.7
-Release: 1
+Release: 2
 Group: System/Libraries
 License: GPLv2+
 URL: http://www.cloog.org
+ExclusiveArch: "%ix86"
 Sources:
     - "%{name}-ppl-%{version}.tar.gz"
 Description: |
@@ -13,6 +14,10 @@
     parametrized polyhedron or parametrized polyhedra union is reached. CLooG is
     designed to avoid control overhead and to produce a very efficient code.
 
+RequiresPreUn:
+    - info
+RequiresPost:
+    - info
 PkgBR:
     - ppl-devel >= 0.10.2
     - gmp-devel >= 4.1.3
@@ -20,12 +25,12 @@
     - libtool
 Configure: none
 Builder: none
-NoFiles: yes
 SubPackages:
     - Name: ppl-devel
       Summary: Development tools for the ppl based version of Chunky Loop Generator
       Group: Development/Libraries
       Description: |
+          -devel
           The header files and dynamic shared libraries of the Chunky Loop Generator.
       Requires:
           - "%{name}-ppl = %{version}-%{release}"



More information about the MeeGo-commits mailing list