Hello community,

here is the log from the commit of package wvdial for openSUSE:Factory checked 
in at 2014-05-13 20:49:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wvdial (Old)
 and      /work/SRC/openSUSE:Factory/.wvdial.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wvdial"

Changes:
--------
--- /work/SRC/openSUSE:Factory/wvdial/wvdial.changes    2014-03-18 
14:07:08.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.wvdial.new/wvdial.changes       2014-05-13 
20:49:03.000000000 +0200
@@ -1,0 +2,6 @@
+Mon May 12 12:51:24 UTC 2014 - tchva...@suse.com
+
+- Obey as-needed adding patch wvdial-1.61-as-needed.patch
+- Clean up with spec-cleaner
+
+-------------------------------------------------------------------

New:
----
  wvdial-1.61-as-needed.patch

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

Other differences:
------------------
++++++ wvdial.spec ++++++
--- /var/tmp/diff_new_pack.vJkn1Z/_old  2014-05-13 20:49:04.000000000 +0200
+++ /var/tmp/diff_new_pack.vJkn1Z/_new  2014-05-13 20:49:04.000000000 +0200
@@ -17,17 +17,12 @@
 
 
 Name:           wvdial
-Url:            http://alumnit.ca/wiki/?WvDial
 Version:        1.61
 Release:        0
-Provides:       suseppp
-Provides:       toppp
-Requires:       ppp
-Provides:       wvdial-soho
 Summary:        A PPP dialer
 License:        LGPL-2.1+
 Group:          Hardware/Modem
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Url:            http://alumnit.ca/wiki/?WvDial
 Source0:        http://open.nit.ca/download/wvdial-%{version}.tar.bz2
 Source1:        wvdial.conf
 Source2:        wvdial-peers
@@ -37,10 +32,16 @@
 Patch3:         wvdial-1.56-chat.patch
 Patch4:         wvdial-1.56-no-logrotation-for-dev-null.patch
 Patch5:         wvdial-1.61_nocrtscts.patch
+Patch6:         wvdial-1.61-as-needed.patch
 BuildRequires:  gcc-c++
 BuildRequires:  pam-devel
 BuildRequires:  pkgconfig
 BuildRequires:  wvstreams-devel
+Requires:       ppp
+Provides:       suseppp
+Provides:       toppp
+Provides:       wvdial-soho
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 A PPP dialer. With this program you can manually establish a PPP
@@ -48,12 +49,6 @@
 scripts, is normally not necessary as this program contains enough
 intelligence to deal with most ISPs.
 
-
-
-Authors:
---------
-    Worldvisions Computer Technology, Inc.
-
 %prep
 %setup -q
 %patch0
@@ -62,33 +57,29 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
-# disable as-needed default
-export SUSE_ASNEEDED=0
 ./configure
-export CFLAGS="$RPM_OPT_FLAGS"
+export CFLAGS="%{optflags}"
 export COPTS="$CFLAGS"
-export CXXFLAGS="$RPM_OPT_FLAGS"
+export CXXFLAGS="%{optflags}"
 export CXXOPTS="$CXXFLAGS"
-make
+make -j1
 
 %install
 make ROOT=%{buildroot} prefix=%{buildroot}/usr install
-mkdir -p %{buildroot}/etc/ppp/peers
-install -m 640 %{S:1} %{buildroot}/etc/wvdial.conf
-install -m 644 %{S:2} %{buildroot}/etc/ppp/peers/wvdial
-
-%clean
-rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_sysconfdir}/ppp/peers
+install -m 640 %{SOURCE1} %{buildroot}%{_sysconfdir}/wvdial.conf
+install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/ppp/peers/wvdial
 
 %files
 %defattr (-, root, root)
-/usr/bin/wvdial
-/usr/bin/wvdialconf
-%dir /etc/ppp/peers
-%config(noreplace) /etc/ppp/peers/wvdial
-%config(noreplace) %attr (-, root, dialout) /etc/wvdial.conf
+%{_bindir}/wvdial
+%{_bindir}/wvdialconf
+%dir %{_sysconfdir}/ppp/peers
+%config(noreplace) %{_sysconfdir}/ppp/peers/wvdial
+%config(noreplace) %attr (-, root, dialout) %{_sysconfdir}/wvdial.conf
 %doc COPYING.LIB CHANGES README FAQ
 %doc %{_mandir}/man1/wvdial.1.gz
 %doc %{_mandir}/man1/wvdialconf.1.gz

++++++ wvdial-1.61-as-needed.patch ++++++
diff -urN wvdial-1.61/Makefile.in wvdial-1.61.new/Makefile.in
--- wvdial-1.61/Makefile.in     2008-10-22 22:01:09.000000000 +0200
+++ wvdial-1.61.new/Makefile.in 2014-05-12 14:56:04.858914044 +0200
@@ -21,6 +21,8 @@
 endif
 LIBS+=$(PC_LIBS)
 
+wvdial-LIBS+= -luniconf
+
 BINDIR=${prefix}/bin
 MANDIR=${prefix}/share/man
 PPPDIR=/etc/ppp/peers
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to