[xmedcon] * Minor change to correct includedir

Ankur Sinha ankursinha at fedoraproject.org
Sun Nov 13 05:30:46 UTC 2011


commit 4ed52a38a49f22f333d9b0c01d944c6fe03179df
Author: Ankur Sinha <sanjay.ankur at gmail.com>
Date:   Sun Nov 13 11:00:16 2011 +0530

    * Minor change to correct includedir

 xmedcon.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/xmedcon.spec b/xmedcon.spec
index a064f42..ef7bd27 100644
--- a/xmedcon.spec
+++ b/xmedcon.spec
@@ -1,6 +1,6 @@
 Name:           xmedcon
 Version:        0.10.7
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        A medical image conversion utility and library
 
 # Please refer to http://xmedcon.sourceforge.net/pub/readme/README for details
@@ -53,7 +53,7 @@ rm -rvf ./libs/tpc/
 sed -i \
        -e  "s|tpc_prefix/lib|tpc_prefix/%{_lib}|" \
        -e  "s|nifti_prefix/lib|nifti_prefix/%{_lib}|" configure
-%configure --disable-static --disable-rpath --with-nifti-prefix=%{_prefix} --with-tpc-prefix=%{_prefix} --enable-shared
+%configure --disable-static --disable-rpath --with-nifti-prefix=%{_prefix} --with-tpc-prefix=%{_prefix} --enable-shared --includedir=%{_includedir}/xmedcon
 
 # Remove rpath
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@@ -67,8 +67,7 @@ make %{?_smp_mflags}
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT/%{_includedir}/%{name}/
-mv -v $RPM_BUILD_ROOT/%{_includedir}/*.* $RPM_BUILD_ROOT/%{_includedir}/%{name}/
+mv -v $RPM_BUILD_ROOT/%{_includedir}/*.h $RPM_BUILD_ROOT/%{_includedir}/%{name}/
 
 install -d $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/48x48/apps/
 install -m 0644 -p etc/%{name}.png -t $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/48x48/apps/
@@ -117,6 +116,10 @@ fi
 %{_datadir}/aclocal/*
 
 %changelog
+* Sun Nov 13 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.10.7-5
+- Correct placements of includes and configure command
+- RHBZ #753246
+
 * Tue Aug 09 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.10.7-4
 - Move xmedcon-config to -devel
 - Correct requires for -devel


More information about the scm-commits mailing list