Browse Source

simplify packaging

Ralf S. Engelschall 23 years ago
parent
commit
d265f50f7a
1 changed files with 4 additions and 6 deletions
  1. 4 6
      rdesktop/rdesktop.spec

+ 4 - 6
rdesktop/rdesktop.spec

@@ -23,8 +23,6 @@
 ##  SUCH DAMAGE.
 ##  SUCH DAMAGE.
 ##
 ##
 
 
-%define       V_major      1.2.0
-
 #   package information
 #   package information
 Name:         rdesktop
 Name:         rdesktop
 Summary:      Windows 2000 and Terminal Services RDP client.
 Summary:      Windows 2000 and Terminal Services RDP client.
@@ -34,11 +32,11 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [PLUS]
 Distribution: OpenPKG [PLUS]
 Group:        Terminal
 Group:        Terminal
 License:      GPL
 License:      GPL
-Version:      %{V_major}
-Release:      20030131
+Version:      1.2.0
+Release:      20030214
 
 
 #   list of sources
 #   list of sources
-Source0:      http://osdn.dl.sourceforge.net/sourceforge/rdesktop/rdesktop-%{V_major}.tar.gz
+Source0:      http://osdn.dl.sourceforge.net/sourceforge/rdesktop/rdesktop-%{version}.tar.gz
 Patch0:       rdesktop.patch
 Patch0:       rdesktop.patch
 
 
 #   build information
 #   build information
@@ -56,7 +54,7 @@ AutoReqProv:  no
     Unlike Citrix ICA, no server extensions are required.
     Unlike Citrix ICA, no server extensions are required.
 
 
 %prep
 %prep
-    %setup -q -n rdesktop-%{V_major}
+    %setup -q
     %patch -p0
     %patch -p0
 
 
 %build
 %build