Author: glen                         Date: Wed Apr 28 04:50:11 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.0.2, use same cflags/ldflags as ubuntu

---- Files affected:
packages/libnih:
   libnih.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/libnih/libnih.spec
diff -u packages/libnih/libnih.spec:1.3 packages/libnih/libnih.spec:1.4
--- packages/libnih/libnih.spec:1.3     Tue Apr 20 06:37:42 2010
+++ packages/libnih/libnih.spec Wed Apr 28 06:50:05 2010
@@ -12,13 +12,13 @@
 
 Summary:       Lightweight application development library
 Name:          libnih
-Version:       1.0.1
-Release:       3
+Version:       1.0.2
+Release:       1
 License:       GPL v2
 Group:         Libraries
 URL:           https://launchpad.net/libnih/
 Source0:       
http://launchpad.net/libnih/1.0/%{version}/+download/%{name}-%{version}.tar.gz
-# Source0-md5: 3e410e32a51b4e6124547c2ced308efc
+# Source0-md5: 89bf20db4ff3f005cc37482a4f050650
 Patch0:                pkgconfig-libdir.patch
 BuildRequires: autoconf >= 2.62
 BuildRequires: automake >= 1:1.11
@@ -26,8 +26,12 @@
 BuildRequires: expat-devel >= 1:2.0.0
 BuildRequires: gettext >= 0.17
 BuildRequires: libtool >= 2:2.2.4
+BuildRequires: pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                specflags       -fstack-protector -fPIE
+%define                specldflags     -Wl,-z,now -pie
+
 # Filter GLIBC_PRIVATE Requires
 %define                _noautoreq      (GLIBC_PRIVATE)
 
@@ -54,10 +58,13 @@
 %patch0 -p1
 
 %build
+%{__gettextize}
 %{__aclocal} -I m4
-%{__autoconf}
 %{__automake}
+%{__autoconf}
+%{__autoheader}
 %{__libtoolize}
+LDFLAGS="%{rpmldflags} %{specldflags}"
 %configure \
        --disable-static \
        --disable-rpath
@@ -117,6 +124,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/04/28 04:50:05  glen
+- up to 1.0.2, use same cflags/ldflags as ubuntu
+
 Revision 1.3  2010/04/20 04:37:42  glen
 - fix pkgconfig lib64 path; rel 3
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libnih/libnih.spec?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to