Hello community,

here is the log from the commit of package libnet for openSUSE:Factory checked 
in at 2013-10-04 10:57:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libnet (Old)
 and      /work/SRC/openSUSE:Factory/.libnet.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libnet"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libnet/libnet.changes    2013-04-05 
17:28:13.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libnet.new/libnet.changes       2013-10-04 
10:57:57.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Oct  3 12:54:03 UTC 2013 - mvysko...@suse.com
+
+- Install just plain c files in samples/ 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ libnet.spec ++++++
--- /var/tmp/diff_new_pack.vpJHNf/_old  2013-10-04 10:57:58.000000000 +0200
+++ /var/tmp/diff_new_pack.vpJHNf/_new  2013-10-04 10:57:58.000000000 +0200
@@ -72,6 +72,9 @@
 %prep
 %setup -q
 
+# HACK: to have samples/ dir untouched and ready for installation
+cp -r sample sample_doc
+
 %build
 CFLAGS="%{optflags} -Wall -Wno-unused" \
 %configure --libdir=/%{_lib} --disable-static --with-pic
@@ -82,8 +85,10 @@
 install -d -m 755 %{buildroot}/{%{_bindir},%{_mandir}/man3}
 install -m 755 libnet-config %{buildroot}/%{_bindir}
 install -m 644 doc/man/man3/*.3 %{buildroot}/%{_mandir}/man3
-find doc/ sample/ -name "Makefile*" -o -name ".libs" | xargs rm -rf
-find sample -name "*.o" -o -type f -perm +111 |xargs rm -rf
+find doc/  -name "Makefile*" -o -name ".libs" | xargs rm -rf
+rm -rf sample/
+# HACK: rename untouched dir back
+mv sample_doc sample
 %{__rm} -v %{buildroot}/%{_lib}/*.la
 %{__install} -d -m 0755 %{buildroot}%{_libdir}
 %{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libnet.so) 
%{buildroot}%{_libdir}/libnet.so

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to