diff options
| author | Michel Alexandre Salim <salimma@fedoraproject.org> | 2012-05-10 11:50:47 +0700 |
|---|---|---|
| committer | Michel Alexandre Salim <salimma@fedoraproject.org> | 2012-05-10 11:50:47 +0700 |
| commit | a9be37f22073c724c8ccf79f278d4588c09d5937 (patch) | |
| tree | 6bc366ab936476d8c26ec7dbbebc9f46c3bb09ab | |
| parent | 83583a0ce1048a09d486523fabfc2fad415a20d1 (diff) | |
| download | specs-a9be37f22073c724c8ccf79f278d4588c09d5937.tar.gz specs-a9be37f22073c724c8ccf79f278d4588c09d5937.tar.xz specs-a9be37f22073c724c8ccf79f278d4588c09d5937.zip | |
vala-compat: incorporate review feedbacks
| -rw-r--r-- | gnome/vala-compat.spec | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/gnome/vala-compat.spec b/gnome/vala-compat.spec index 89168f1..6de9a8e 100644 --- a/gnome/vala-compat.spec +++ b/gnome/vala-compat.spec @@ -2,7 +2,7 @@ Name: vala-compat Version: 0.16.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A modern programming language for GNOME Group: Development/Languages @@ -61,8 +61,8 @@ language features to GNOME developers without imposing any additional runtime requirements and without using a different ABI compared to applications and libraries written in C. -This package contains development files for %{name}. This is not necessary for -using the %{name} compiler. +This package contains development files for %{name}. This is not +necessary for using the %{name} compiler. %package tools @@ -75,13 +75,14 @@ Provides: %{name}-vapigen = %{version}-%{release} Obsoletes: %{name}-vapigen < %{version}-%{release} %description tools -Vala is a new programming language that aims to bring modern programming -language features to GNOME developers without imposing any additional -runtime requirements and without using a different ABI compared to -applications and libraries written in C. +Vala is a new programming language that aims to bring modern +programming language features to GNOME developers without imposing any +additional runtime requirements and without using a different ABI +compared to applications and libraries written in C. -This package contains tools to generate Vala projects, as well as API bindings -from existing C libraries, allowing access from Vala programs. +This package contains tools to generate Vala projects, as well as API +bindings from existing C libraries, allowing access from Vala +programs. %package doc @@ -145,7 +146,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/libvala-%{api_ver}.la /sbin/ldconfig for f in %{vala_binaries}; do - if find -L /etc/alternatives/$f -type l | grep $f; + if [ -L /etc/alternatives/$f ]; then # older vala packages fail to remove alternatives on upgrade %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) @@ -155,7 +156,7 @@ do done for f in %{vala_manpages}; do - if find -L /etc/alternatives/$f -type l | grep $f; + if [ -L /etc/alternatives/$f ]; then %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) fi @@ -166,7 +167,7 @@ done %posttrans tools for f in %{vala_tools_binaries}; do - if find -L /etc/alternatives/$f -type l | grep $f; + if [ -L /etc/alternatives/$f ]; then %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) fi @@ -175,7 +176,7 @@ do done for f in %{vala_tools_manpages}; do - if find -L /etc/alternatives/$f -type l | grep $f; + if [ -L /etc/alternatives/$f ]; then %{_sbindir}/alternatives --remove $f $(readlink /etc/alternatives/$f) fi @@ -251,5 +252,9 @@ done %changelog +* Thu May 10 2012 Michel Salim <salimma@fedoraproject.org> - 0.16.0-2 +- Reindent description texts to avoid long lines +- Make alternative scriptlet less noisy (Ralph Bean) + * Sat May 5 2012 Michel Salim <salimma@fedoraproject.org> - 0.16.0-1 - Initial package, based on vala-0.16.0-4 |
