rawhide report: 20060331 changes

Tomasz Kłoczko kloczek at zie.pg.gda.pl
Fri Mar 31 10:27:30 UTC 2006


Dnia 31-03-2006, pią o godzinie 03:22 -0500, Build System napisał(a):
[..]
> NetworkManager-0.6.2-1.fc6
> --------------------------
> * Thu Mar 30 2006 Dan Williams <dcbw at redhat.com> - 0.6.2-1
> - Update to 0.6.2:
>     * Fix various WPA-related bugs
>     * Clean up leaks
>     * Increased DHCP timeout to account for slow DHCP servers, or
> STP-enabled
>         switches
>     * Allow applet to reconnect on dbus restarts
>     * Add "Dynamic WEP" support
>     * Allow hiding of password/key entry text
>     * More responsive connection switching 

Still this package is broken.
glib subpackage icorectly requires main package.

Index: NetworkManager.spec
===================================================================
RCS file: /cvs/dist/devel/NetworkManager/NetworkManager.spec,v
retrieving revision 1.102
diff -u -r1.102 NetworkManager.spec
--- NetworkManager.spec 17 Mar 2006 04:43:36 -0000      1.102
+++ NetworkManager.spec 31 Mar 2006 10:13:16 -0000
@@ -94,7 +94,6 @@
 %package glib
 Summary: Libraries for adding NetworkManager support to applications
that use glib.
 Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
 Requires: dbus >= %{dbus_version}
 Requires: dbus-glib >= %{dbus_version}

If glib realy requires manin package generate separated glib and
glib-devel subpackage is useless (better will be merge glib to main and
glib-devel to devel).
Also instead waste of time in %build for generate static libraries and
remove them in %installe better will be add --disable-static to
configure switches (this kind waste of time can be fixed in *MANY*
Fedora spec files).

Index: NetworkManager.spec
===================================================================
RCS file: /cvs/dist/devel/NetworkManager/NetworkManager.spec,v
retrieving revision 1.102
diff -u -r1.102 NetworkManager.spec
--- NetworkManager.spec 17 Mar 2006 04:43:36 -0000      1.102
+++ NetworkManager.spec 31 Mar 2006 10:16:53 -0000
@@ -121,7 +120,12 @@
 %patch2 -p1 -b .device-up

 %build
-%configure --with-named=/usr/sbin/named --with-named-dir=/var/named/data --with-named-user=named --enable-notify=yes
+%configure \
+       --with-named=/usr/sbin/named \
+       --with-named-dir=/var/named/data \
+       --with-named-user=named \
+       --enable-notify=yes \
+       --disable-static
 make


@@ -130,10 +134,7 @@
 make install DESTDIR=$RPM_BUILD_ROOT
 %find_lang %{name}
 %{__rm} -f $RPM_BUILD_ROOT%{_bindir}/NMLoadModules
-%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/libnm_glib.la
-%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/libnm_glib.a
-%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/libnm-util.la
-%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/libnm-util.a
+%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la
 %{__cp} test/nm-tool $RPM_BUILD_ROOT%{_bindir}/

 %clean

kloczek




More information about the devel mailing list