Hello community,

here is the log from the commit of package fish for openSUSE:Factory checked in 
at 2018-04-16 12:50:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fish (Old)
 and      /work/SRC/openSUSE:Factory/.fish.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fish"

Mon Apr 16 12:50:42 2018 rev:15 rq:596747 version:2.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/fish/fish.changes        2018-04-02 
22:49:23.725477981 +0200
+++ /work/SRC/openSUSE:Factory/.fish.new/fish.changes   2018-04-16 
12:51:00.884691313 +0200
@@ -1,0 +2,7 @@
+Thu Apr 12 11:41:42 UTC 2018 - jeng...@inai.de
+
+- Trim some bias from description.
+- Anchor grep patterns in %post(un) so that it does not erroneously
+  match other lines.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ fish.spec ++++++
--- /var/tmp/diff_new_pack.ubOsJ0/_old  2018-04-16 12:51:01.576666144 +0200
+++ /var/tmp/diff_new_pack.ubOsJ0/_new  2018-04-16 12:51:01.580665999 +0200
@@ -19,7 +19,7 @@
 Name:           fish
 Version:        2.7.1
 Release:        0
-Summary:        A user friendly interactive shell
+Summary:        The "friendly interactive shell"
 License:        GPL-2.0-only
 Group:          System/Shells
 Url:            https://fishshell.com/
@@ -37,10 +37,8 @@
 Recommends:     terminfo
 
 %description
-fish is a user friendly command line shell for UNIX-like operating systems
-such as Linux.
-
-It's geared towards interactive use and its features are focused on user
+fish is a command line shell.
+It is geared towards interactive use and its features are focused on user
 friendlieness and discoverability. The language syntax is simple but
 incompatible with other shell languages.
 
@@ -55,7 +53,7 @@
 %setup -q
 
 # fix E: env-script-interpreter
-find ./share/tools -type f -name *.py -exec sed -i -r '1s|^#!%{_bindir}/env 
|#!%{_bindir}/|' {} \;
+find share/tools -type f -name *.py -exec sed -i -r '1s|^#!%{_bindir}/env 
|#!%{_bindir}/|' {} +
 
 %build
 %configure \
@@ -69,14 +67,14 @@
 
 %post
 # Add fish to the list of allowed shells in /etc/shells
-if ! grep %{_bindir}/%{name} %{_sysconfdir}/shells >/dev/null; then
+if ! grep -q '^%{_bindir}/%{name}$' %{_sysconfdir}/shells; then
        echo %{_bindir}/%{name} >>%{_sysconfdir}/shells
 fi
 
 %postun
 # Remove fish from the list of allowed shells in /etc/shells
 if [ "$1" = 0 ]; then
-       grep -v %{_bindir}/%{name} %{_sysconfdir}/shells 
>%{_sysconfdir}/%{name}.tmp
+       grep -v '^%{_bindir}/%{name}$' %{_sysconfdir}/shells 
>%{_sysconfdir}/%{name}.tmp
        mv %{_sysconfdir}/%{name}.tmp %{_sysconfdir}/shells
 fi
 


Reply via email to