Hi,
With the proposed patch example, I can do what I need (have rpms with
hour and minute), and leave the default to be the current status quo.
It also has the nice effect of allowing the release tag to be changed
without changing the original tar.gz which is quite useful to other
distributors.
sudo su - makerpm -c -- "rpmbuild -tb /tmp/eina*.tar.gz"
(...)
Wrote: /home/makerpm/redhat/RPMS/x86_64/eina-0.9.9.063-0.20100417.x86_64.rpm
Wrote:
/home/makerpm/redhat/RPMS/x86_64/eina-devel-0.9.9.063-0.20100417.x86_64.rpm
Wrote:
/home/makerpm/redhat/RPMS/x86_64/eina-debuginfo-0.9.9.063-0.20100417.x86_64.rpm
sudo su - makerpm -c -- "rpmbuild --define \"_release 0.`date
+%Y%m%d%H%M`\" -tb /tmp/eina*.tar.gz"
(...)
Wrote:
/home/makerpm/redhat/RPMS/x86_64/eina-0.9.9.063-0.201004171122.x86_64.rpm
Wrote:
/home/makerpm/redhat/RPMS/x86_64/eina-devel-0.9.9.063-0.201004171122.x86_64.rpm
Wrote:
/home/makerpm/redhat/RPMS/x86_64/eina-debuginfo-0.9.9.063-0.201004171122.x86_64.rpm
Is like this ok, now? Can I proceed?
Rui
Index: eina.spec.in
===================================================================
--- eina.spec.in (revision 48068)
+++ eina.spec.in (working copy)
@@ -3,7 +3,7 @@
Summary: Data Type Library
Name: @PACKAGE@
Version: @VERSION@
-Release: 0.%(date '+%Y%m%d')
+Release: %{?_release:%{_release}}%{!?_release:0.%(date '+%Y%m%d')}
License: BSD
Group: System Environment/Libraries
Source: %{name}-%{version}.tar.gz
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel