[barry] * Wed Aug 04 2010 Rahul Sundaram <sundaram at fedoraproject.org> - 0.2.20100329git - Rebuild for Boost

Rahul Sundaram sundaram at fedoraproject.org
Wed Aug 4 13:23:54 UTC 2010


commit 252d51a174013151e756f15b1a8e4f64a142d65b
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Wed Aug 4 18:53:07 2010 +0530

    * Wed Aug 04 2010 Rahul Sundaram <sundaram at fedoraproject.org> - 0.2.20100329git
    - Rebuild for Boost soname bump
    - Update spec for guidelines and drop obsolete ifdefs

 barry.spec |   28 ++++++----------------------
 1 files changed, 6 insertions(+), 22 deletions(-)
---
diff --git a/barry.spec b/barry.spec
index bf80ba4..d9f2556 100644
--- a/barry.spec
+++ b/barry.spec
@@ -1,13 +1,6 @@
-# Fedora <= 8 & ==11 currently supports opensync 0.22
-%if 0%{?fc9}%{?fc10}
-     %define with_opensync 0
-%else
-     %define with_opensync 1
-%endif
-
 Name:           barry
 Version:        0.17
-Release:        0.1.20100329git%{?dist}
+Release:        0.2.20100329git%{?dist}
 Summary:        BlackBerry Desktop for Linux
 
 Group:          Applications/Productivity
@@ -21,7 +14,6 @@ URL:            http://www.netdirect.ca/downloads/barry
 # (cd build/barry* && ../../tar-prepare.sh)
 # (cd build && ../tar-create.sh 0 15)
 Source0:        %{name}-%{version}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libusb-devel boost-devel desktop-file-utils gtkmm24-devel
 BuildRequires:  libglademm24-devel libglade2-devel libtar-devel libtool
@@ -56,15 +48,12 @@ This package contains the development library files for Barry, barry-libs.
 %package devel-docs
 Summary: BlackBerry Desktop for Linux - development libraries documentation
 Group: Development/Libraries
-%if 0%{?fedora} >= 10
 BuildArch: noarch
-%endif
 
 %description devel-docs
 This package contains the documentation for the development library files for
 Barry.
 
-%if %{with_opensync}
 %package opensync
 Summary: BlackBerry Desktop for Linux - opensync plugin
 Group: Applications/Productivity
@@ -73,7 +62,6 @@ Requires: libopensync = 1:0.22
 
 %description opensync
 This package contains the opensync plugin to synchronize your BlackBerry.
-%endif
 
 %prep
 %setup -q
@@ -97,18 +85,15 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 cd ../
 
 # opensync tree
-%if %{with_opensync}
 cd opensync-plugin/
 %{configure} PKG_CONFIG_PATH="..:$PKG_CONFIG_PATH" CXXFLAGS="-I../.." LDFLAGS="-L../../src"
 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
 %{__make} %{?_smp_mflags}
 cd ../
-%endif
 
 %install
 # main tree
-%{__rm} -rf %{buildroot}
 %{__make} DESTDIR=%{buildroot} install
 %{__mkdir_p} %{buildroot}%{_sysconfdir}/udev/rules.d
 %{__mkdir_p} %{buildroot}%{_sysconfdir}/security/console.perms.d
@@ -139,11 +124,9 @@ install -p -m 0644 ../logo/barry_logo_icon.png %{buildroot}%{_datadir}/icons/hic
 cd ../
 
 # opensync tree
-%if %{with_opensync}
 cd opensync-plugin/
 %{__make} DESTDIR=%{buildroot} install
 cd ../
-%endif
 
 %{__rm} -rf %{buildroot}%{_libdir}/opensync/plugins/*.la
 %{__rm} -rf %{buildroot}%{_libdir}/*.la
@@ -182,16 +165,12 @@ cd ../
 %defattr(-,root,root)
 %doc COPYING doc/*
 
-%if %{with_opensync}
 %files opensync
 %defattr(-,root,root)
 %{_libdir}/opensync/plugins/*
 %{_datadir}/opensync/defaults/*
 %doc COPYING
-%endif
 
-%clean
-%{__rm} -rf %{buildroot}
 
 %post
 touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -210,6 +189,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %postun libs -p /sbin/ldconfig
 
 %changelog
+* Wed Aug 04 2010 Rahul Sundaram <sundaram at fedoraproject.org> - 0.2.20100329git
+- Rebuild for Boost soname bump
+- Update spec for guidelines and drop obsolete ifdefs 
+
+
 * Mon Mar 29 2010 Nathanael Noblet <nathanael at gnat.ca> - 0.1.20100329git
 - Update version to include new udev rules fixing permission issue on f12
 - Fix icon and .desktop file installation


More information about the scm-commits mailing list