From 8bba9c106b1cb8338868d43f9557a89e8ffa1fd0 Mon Sep 17 00:00:00 2001 From: mej Date: Sun, 18 Apr 2010 07:03:09 +0000 Subject: [PATCH] After discussing with raster, this is what he requested for the spec files: using the SVN revision instead of the datestamp. Other methods can still be used, however, by adding (e.g.): --define "_rel 0.`date +%Y%m%d`" to the rpmbuild command line. Other spec files will need similar changes. This is just the first few. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@48099 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- eina.spec.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eina.spec.in b/eina.spec.in index 58c231f..52ec011 100644 --- a/eina.spec.in +++ b/eina.spec.in @@ -1,12 +1,13 @@ +%{!?_rel:%{expand:%%global _rel 0.r%(svnversion | sed 's/[^0-9].*$//' || echo 0000)}} %define _missing_doc_files_terminate_build 0 Summary: Data Type Library Name: @PACKAGE@ Version: @VERSION@ -Release: 0.%(date '+%Y%m%d') -License: BSD +Release: %{_rel} +License: LGPLv2.1 Group: System Environment/Libraries -Source: %{name}-%{version}.tar.gz +Source: http://download.enlightenment.org/releases/%{name}-%{version}.tar.gz Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings } Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} @@ -47,7 +48,6 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT %defattr(-, root, root) %doc AUTHORS COPYING README %{_libdir}/*.so.* -#%{_libdir}/%{name}* %files devel %defattr(-, root, root) -- 2.7.4