Hello community,

here is the log from the commit of package ndesk-dbus for openSUSE:Factory 
checked in at 2013-03-08 13:25:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ndesk-dbus (Old)
 and      /work/SRC/openSUSE:Factory/.ndesk-dbus.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ndesk-dbus", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ndesk-dbus/ndesk-dbus.changes    2011-09-23 
02:14:20.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ndesk-dbus.new/ndesk-dbus.changes       
2013-03-08 13:25:16.000000000 +0100
@@ -1,0 +2,8 @@
+Sat Jan 12 01:56:57 UTC 2013 - [email protected]
+
+- Use standard %configure and enable parallel build
+- Directly place .pc file in its final location
+- Simplify BuildRequires list, kill %clean section and unused
+  changelog (it's in .changes, after all)
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ndesk-dbus.spec ++++++
--- /var/tmp/diff_new_pack.pDkVPo/_old  2013-03-08 13:25:17.000000000 +0100
+++ /var/tmp/diff_new_pack.pDkVPo/_new  2013-03-08 13:25:17.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package ndesk-dbus (Version 0.6.0)
+# spec file for package ndesk-dbus
 #
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,38 +16,28 @@
 #
 
 
-
 Name:           ndesk-dbus
 Version:        0.6.0
-Release:        63
+Release:        0
 %if 0%{?fedora_version}  
    %define env_options export MONO_SHARED_DIR=/tmp  
 %endif  
 %if 0%{?sles_version} == 9
    %define exp_env export 
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome/%{_lib}/pkgconfig
 %endif
-%if 0%{?fedora_version}
-   %define build_req pkgconfig mono-devel
-%else
-   %if 0%{?sles_version} == 9
-      %define build_req pkgconfig mono-devel glib2-devel
-   %else
-      %if 0%{?suse_version} == 1000
-         %define build_req pkgconfig mono-devel glib2-devel
-      %else
-         %define build_req pkg-config mono-devel
-      %endif
-   %endif
-%endif
+Summary:        Managed C# implementation of D-Bus
 License:        MIT
 Group:          Development/Libraries/Other
-Summary:        Managed C# implementation of D-Bus
 Url:            http://www.ndesk.org/DBusSharp
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source0:        %{name}-%{version}.tar.bz2
 Provides:       ndesk-dbus-devel < %{version}
 Obsoletes:      ndesk-dbus-devel < %{version}
-BuildRequires:  %{?build_req}
+BuildRequires:  mono-devel
+BuildRequires:  pkgconfig
+%if 0%{?sles_version} == 9 || 0%{?suse_version} == 1000
+BuildRequires:  glib2-devel
+%endif
 BuildArch:      noarch
 
 %description
@@ -66,18 +56,13 @@
 %build
 %{?exp_env}
 %{?env_options}
-./configure --prefix=/usr
-make
+%configure --libdir="%_prefix/lib"
+make %{?_smp_mflags}
 
 %install
 %{?env_options}
-make DESTDIR=${RPM_BUILD_ROOT} install
-# For noarch
-mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/pkgconfig
-mv ${RPM_BUILD_ROOT}/usr/lib/pkgconfig/ndesk-dbus-1.0.pc 
${RPM_BUILD_ROOT}%{_datadir}/pkgconfig/
-
-%clean
-%{__rm} -rf ${RPM_BUILD_ROOT}
+# This is all noarch, so the .pc file can go to %%_datadir.
+make install DESTDIR="%buildroot" pkgconfigdir="%_datadir/pkgconfig"
 
 %files
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to