[tango/f18] update spec file

MERCIER Jonathan bioinfornatics at fedoraproject.org
Sun Jun 9 13:06:47 UTC 2013


commit 1ab7b1983fe341a9d4fabc20ae74d1c50670e55f
Author: bioinfornatics <bioinfornatics at fedoraproject.org>
Date:   Sun Jun 9 15:06:19 2013 +0200

    update spec file

 tango.spec |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/tango.spec b/tango.spec
index 350f054..40193ac 100644
--- a/tango.spec
+++ b/tango.spec
@@ -1,6 +1,7 @@
-%global     alphatag            20120821
+%global     snapdate            20120821
 %global     tango_revision      git7b92443
 %global     debug_package       %{nil}
+%global     alphatag            %{snapdate}git%{tango_revision}
 
 # The source for this package was pulled from upstream's git.
 # Use the following commands to generate the tarball:
@@ -11,7 +12,7 @@
 
 Name:           tango
 Version:        2
-Release:        11.%{alphatag}%{tango_revision}%{?dist}
+Release:        12%{?dist}
 Summary:        The Developer's Library for D
 
 Group:          Development/Libraries
@@ -21,7 +22,7 @@ Group:          Development/Libraries
 # unwelcome restriction, in which case the AFL is the correct license to apply. 
 License:        AFL or BSD
 URL:            http://www.dsource.org/projects/tango
-Source0:        %{name}-%{alphatag}%{tango_revision}.tar.xz
+Source0:        %{name}-%{alphatag}.tar.xz
 
 BuildRequires:  ldc, ldc-phobos-devel, ldc-druntime-devel
 BuildRequires:  gcc, make
@@ -143,7 +144,6 @@ rm -rf ./build/bin/*
 find . -type f \( -name "*.d" -or -name "*.xml" \) -exec sed -i 's/\r//' {} \;
 # temp geany config directory for allow geany to generate tags
 mkdir geany_config
-
 %build
 #./build/script/bob.rb -v -r ldc -c ldc  -p linux . 
 make %{?_smp_mflags} -f build/Makefile DCFLAGS+="%{_d_optflags}" LIBDIR=%{_libdir} DCFLAGS_IMPORT="-Itango" all-shared
@@ -152,10 +152,10 @@ make %{?_smp_mflags} -f build/Makefile DCFLAGS+="%{_d_optflags}" LIBDIR=%{_libdi
 geany -c geany_config -g tango.d.tags $(find tango/ -name "*.d")
 
 %install
-mkdir -p                %{buildroot}%{_libdir}/
-mkdir -p                %{buildroot}%{_datadir}/pkgconfig
-mkdir -p                %{buildroot}%{_d_includedir}/%{name}
-mkdir -p                %{buildroot}/%{_datadir}/geany/tags/
+mkdir -p %{buildroot}%{_libdir}/
+mkdir -p %{buildroot}%{_datadir}/pkgconfig
+mkdir -p %{buildroot}%{_d_includedir}/%{name}
+mkdir -p %{buildroot}/%{_datadir}/geany/tags/
 
 # Tango
 make %{?_smp_mflags} -f build/Makefile DCFLAGS+="%{_d_optflags} -d" DESTDIR=%{buildroot} DATA_DIR=%{_datadir} INCLUDE_DIR=%{_d_includedir} LIB_DIR=%{_libdir} install-shared 
@@ -186,6 +186,9 @@ install -m0755 tango.d.tags %{buildroot}/%{_datadir}/geany/tags/
 
 
 %changelog
+* Fri Feb 15 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2-12.20120821git7b92443
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
 * Wed Oct 03 2012 Jonathan MERCIER <bioinfornatics at gmail.com> - 2-11.20120821git7b92443
 - update
 


More information about the scm-commits mailing list