Explorar o código

upgrading package: dia 0.94 -> 0.96.1

Ralf S. Engelschall %!s(int64=18) %!d(string=hai) anos
pai
achega
ccfcb84cdb
Modificáronse 2 ficheiros con 5 adicións e 19 borrados
  1. 0 12
      dia/dia.patch
  2. 5 7
      dia/dia.spec

+ 0 - 12
dia/dia.patch

@@ -1,12 +0,0 @@
-Index: objects/custom/shape_info.h
---- objects/custom/shape_info.h.orig	2004-08-16 09:56:15 +0200
-+++ objects/custom/shape_info.h	2006-01-02 21:50:52 +0100
-@@ -166,7 +166,7 @@
- 
- void shape_info_realise(ShapeInfo* info);
- void shape_info_print(ShapeInfo *info);
--void parse_path(ShapeInfo *info, const char *path_str, DiaSvgGraphicStyle *s);
-+static void parse_path(ShapeInfo *info, const char *path_str, DiaSvgGraphicStyle *s);
- 
- /*MC 11/03 handy g_new0 variant for struct with variable size */
- #define g_new0_ext(struct_type, ext_size)		\

+ 5 - 7
dia/dia.spec

@@ -23,8 +23,8 @@
 ##
 
 #   package version
-%define       V_major 0.94
-%define       V_minor %nil
+%define       V_major 0.96
+%define       V_minor 1
 
 #   package information
 Name:         dia
@@ -36,12 +36,11 @@ Distribution: OpenPKG Community
 Class:        EVAL
 Group:        DTP
 License:      GPL
-Version:      %{V_major}
-Release:      20061013
+Version:      %{V_major}.%{V_minor}
+Release:      20070329
 
 #   list of sources
 Source0:      ftp://ftp.gnome.org/pub/gnome/sources/dia/%{V_major}/dia-%{V_major}.tar.bz2
-Patch0:       dia.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -69,7 +68,7 @@ AutoReqProv:  no
 
 %track
     prog dia = {
-        version   = %{V_major}
+        version   = %{V_major}.%{V_minor}
         url       = http://www.gnome.org/projects/dia/downld.html
         regex     = ftp://ftp.gnome.org/pub/gnome/sources/dia/(\d+(\.\d+)+)/
         url       = ftp://ftp.gnome.org/pub/gnome/sources/dia/__NEWVER__/
@@ -78,7 +77,6 @@ AutoReqProv:  no
 
 %prep
     %setup -q -n dia-%{V_major}
-    %patch -p0
 
 %build
     %{l_shtool} subst \