[glite-jobid-api-c] New release 2.2.11 (L&B 4.0.12).

František Dvořák valtri at fedoraproject.org
Fri Nov 22 19:38:09 UTC 2013


commit 6fa391332647a045971e2d1e505dd671f956dcf4
Author: František Dvořák <valtri at civ.zcu.cz>
Date:   Fri Nov 22 20:36:42 2013 +0100

    New release 2.2.11 (L&B 4.0.12).

 .gitignore             |    1 +
 glite-jobid-api-c.spec |   29 +++++++++++++++++++----------
 sources                |    2 +-
 3 files changed, 21 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5207f44..20afd71 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /glite-jobid-api-c-2.2.9.tar.gz
+/glite-jobid-api-c-2.2.11.tar.gz
diff --git a/glite-jobid-api-c.spec b/glite-jobid-api-c.spec
index 93fd8af..2296d36 100644
--- a/glite-jobid-api-c.spec
+++ b/glite-jobid-api-c.spec
@@ -1,6 +1,6 @@
 Name:           glite-jobid-api-c
-Version:        2.2.9
-Release:        2%{?dist}
+Version:        2.2.11
+Release:        1%{?dist}
 Summary:        C library handling gLite jobid
 
 License:        ASL 2.0
@@ -8,8 +8,11 @@ Url:            http://glite.cern.ch
 Source:         http://scientific.zcu.cz/emi/emi.jobid.api-c/%{name}-%{version}.tar.gz
 
 BuildRequires:  libtool
-BuildRequires:  cppunit-devel%{?_isa}
-BuildRequires:  openssl-devel%{?_isa}
+BuildRequires:  cppunit-devel
+BuildRequires:  openssl-devel
+BuildRequires:  perl
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(POSIX)
 BuildRequires:  pkgconfig
 
 %description
@@ -30,8 +33,8 @@ C library.
 
 
 %build
-/usr/bin/perl ./configure --root=/ --prefix=%{_prefix} --libdir=%{_lib} --module jobid.api-c
-CFLAGS="%{?optflags}" LDFLAGS="%{?__global_ldflags}" make
+perl ./configure --root=/ --prefix=%{_prefix} --libdir=%{_lib} --module jobid.api-c
+CFLAGS="%{?optflags}" LDFLAGS="%{?__global_ldflags}" make %{?_smp_mflags}
 
 
 %check
@@ -39,10 +42,9 @@ CFLAGS="%{?optflags}" LDFLAGS="%{?__global_ldflags}" make check
 
 
 %install
-mkdir -p $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \;
-find $RPM_BUILD_ROOT -name '*.a' -exec rm -rf {} \;
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
 
 %post -p /sbin/ldconfig
@@ -65,8 +67,15 @@ find $RPM_BUILD_ROOT -name '*.a' -exec rm -rf {} \;
 
 
 %changelog
+* Fri Nov 22 2013 František Dvořák <valtri at civ.zcu.cz> - 2.2.11-1
+- New release 2.2.11 (L&B 4.0.12)
+- Not used arch-specific BuildRequires
+- Perl dependencies
+- Enabled parallel build
+- The find command replaced by wildcards
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.9-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
 * Thu May 02 2013 František Dvořák <valtri at civ.zcu.cz> - 2.2.9-1
-- initial package
+- Initial package
diff --git a/sources b/sources
index ab44d04..b81749f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2f23806305ec2790dadecdca16310ccf  glite-jobid-api-c-2.2.9.tar.gz
+772523b832cf64419c1c83711febf3db  glite-jobid-api-c-2.2.11.tar.gz


More information about the scm-commits mailing list