Use pico/pilot version numbers

OBS-URL: https://build.opensuse.org/package/show/server:mail/alpine?expand=0&rev=30
This commit is contained in:
Jan Engelhardt 2014-03-03 11:55:16 +00:00 committed by Git OBS Bridge
parent 8aa24cb643
commit 88dc714163
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 3 11:54:13 UTC 2014 - jengelh@inai.de
- The pico and pilot standalone programs have version numbers of
their own; expose these in the .spec file
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 22 11:43:51 UTC 2014 - max@suse.com Wed Jan 22 11:43:51 UTC 2014 - max@suse.com

View File

@ -81,6 +81,8 @@ command.
%package -n pico %package -n pico
Summary: A small, easy to use editor Summary: A small, easy to use editor
Group: Productivity/Editors/Other Group: Productivity/Editors/Other
Version: 5.07
Release: 0
%description -n pico %description -n pico
Pico is a simple, display-oriented text editor based on the Pine Pico is a simple, display-oriented text editor based on the Pine
@ -88,19 +90,17 @@ message system composer. As with Pine, commands are displayed at the
bottom of the screen, and context-sensitive help is provided. bottom of the screen, and context-sensitive help is provided.
Characters are inserted into the text as they are typed. Characters are inserted into the text as they are typed.
%package -n pilot %package -n pilot
Summary: Simple file system browser Summary: Simple file system browser
Group: Productivity/File utilities Group: Productivity/File utilities
Version: 2.99
Release: 0
%description -n pilot %description -n pilot
Pilot is a simple, display-oriented file system browser based on the Pilot is a simple, display-oriented file system browser based on the
Pine message system composer. As with Pine, commands are displayed at Pine message system composer. As with Pine, commands are displayed at
the bottom of the screen, and context-sensitive help is provided. the bottom of the screen, and context-sensitive help is provided.
%prep %prep
%setup -q %setup -q
%if !%{build_vanilla} %if !%{build_vanilla}
@ -155,7 +155,7 @@ export CFLAGS="${RPM_OPT_FLAGS/-O2/-Os} \
# On -Waddress: # On -Waddress:
# #
# Added with gcc-4.2: It warns when the address of a variable (not a pointer) # Added with gcc-4.2: It warns when the address of a variable (not a pointer)
# is used in an expression. Since addresses of variables are # always non-zero, # is used in an expression. Since addresses of variables are always non-zero,
# they are always true and can be safely removed from the expression, # they are always true and can be safely removed from the expression,
# but the code is safe nontheless. # but the code is safe nontheless.
# #