Tue, 28 Aug 2012 18:34:20 +0200
Modernize packaging for forthcoming stack release.
pyzor/pyzor.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/pyzor/pyzor.spec Tue Aug 28 18:34:10 2012 +0200 1.2 +++ b/pyzor/pyzor.spec Tue Aug 28 18:34:20 2012 +0200 1.3 @@ -1,6 +1,6 @@ 1.4 ## 1.5 ## pyzor.spec -- OpenPKG RPM Specification 1.6 -## Copyright (c) 2009 Michael Schloh von Bennewitz <michael@schloh.com> 1.7 +## Copyright (c) 2012 Michael Schloh von Bennewitz <michael@schloh.com> 1.8 ## 1.9 ## Permission to use, copy, modify, and distribute this software for 1.10 ## any purpose with or without fee is hereby granted, provided that 1.11 @@ -33,18 +33,14 @@ 1.12 Group: Mail 1.13 License: GPL 1.14 Version: 0.5.0 1.15 -Release: 20090722 1.16 +Release: 20120800 1.17 1.18 # list of sources 1.19 Source0: http://switch.dl.sourceforge.net/sourceforge/pyzor/pyzor-%{version}.tar.gz 1.20 1.21 # build information 1.22 -Prefix: %{l_prefix} 1.23 -BuildRoot: %{l_buildroot} 1.24 -BuildPreReq: OpenPKG, openpkg >= 20040130, python 1.25 -PreReq: OpenPKG, openpkg >= 20040130, python 1.26 -AutoReq: no 1.27 -AutoReqProv: no 1.28 +BuildPreReq: OpenPKG, openpkg >= 20100101, python 1.29 +PreReq: OpenPKG, openpkg >= 20100101, python 1.30 1.31 %description 1.32 Pyzor is a UCE-blocking networked system that uses signatures 1.33 @@ -69,9 +65,6 @@ 1.34 %build 1.35 1.36 %install 1.37 - # remove previously existing installations 1.38 - rm -rf $RPM_BUILD_ROOT 1.39 - 1.40 # run the native installation logic 1.41 %{l_prefix}/bin/python \ 1.42 setup.py install \ 1.43 @@ -93,5 +86,4 @@ 1.44 %files -f files 1.45 1.46 %clean 1.47 - rm -rf $RPM_BUILD_ROOT 1.48