Hello community,

here is the log from the commit of package mawk for openSUSE:Factory checked in 
at 2012-05-15 17:42:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mawk (Old)
 and      /work/SRC/openSUSE:Factory/.mawk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mawk", Maintainer is "f...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mawk/mawk.changes        2012-01-10 
14:51:10.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.mawk.new/mawk.changes   2012-05-15 
17:42:13.000000000 +0200
@@ -1,0 +2,7 @@
+Tue May 15 08:43:19 UTC 2012 - g...@opensuse.org
+
+- package COPYING
+- simplify installation
+- make example scripts executable
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mawk.spec ++++++
--- /var/tmp/diff_new_pack.54b96u/_old  2012-05-15 17:42:14.000000000 +0200
+++ /var/tmp/diff_new_pack.54b96u/_new  2012-05-15 17:42:14.000000000 +0200
@@ -16,6 +16,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           mawk
 Summary:        Implementation of New/POSIX AWK
 License:        GPL-2.0
@@ -44,22 +45,25 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+chmod 755 examples/*
 
 %build
 # without --enable-warnings several functions will not be marked with gcc's
 # noreturn attribute and produce warnings when $RPM_OPT_FLAGS contains -Wall
-%configure --enable-warnings
+%configure \
+    --enable-warnings \
+    --bindir=/bin
 make %{?_smp_mflags}
 
 %install
 %make_install
+
 # move to /bin and symlink to /usr/bin
-%__mkdir_p $RPM_BUILD_ROOT/bin
-%__mv $RPM_BUILD_ROOT/usr/bin/mawk $RPM_BUILD_ROOT/bin
-%__ln_s ../../bin/mawk $RPM_BUILD_ROOT/usr/bin/mawk
+install -d -m 755 %{buildroot}/%{_bindir}
+ln -s ../../bin/mawk %{buildroot}/%{_bindir}/mawk
 # create ghost files
-touch $RPM_BUILD_ROOT/bin/awk $RPM_BUILD_ROOT/usr/bin/awk \
-    $RPM_BUILD_ROOT/%{_mandir}/man1/awk.1.gz
+touch %{buildroot}/bin/awk %{buildroot}%{_bindir}/awk \
+    %{buildroot}%{_mandir}/man1/awk.1.gz
 
 %check
 make check
@@ -76,12 +80,12 @@
 
 %files
 %defattr(-,root,root,-)
-%doc CHANGES README ACKNOWLEDGMENT examples/
+%doc ACKNOWLEDGMENT CHANGES COPYING README examples/
 %doc %{_mandir}/man1/mawk.1*
 %ghost /bin/awk
 %ghost %{_bindir}/awk
 %ghost %{_mandir}/man1/awk.1.gz
-/usr/bin/mawk
+%{_bindir}/mawk
 /bin/mawk
 
 %changelog

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

Reply via email to