[aunit] Update to aunit-2011
Pavel Zhukov
landgraf at fedoraproject.org
Sun Mar 4 12:32:29 UTC 2012
commit ca7530e4235ef2ef21ae149913e38bffca8d1601
Author: Pavel Zhukov <landgraf at fedoraproject.org>
Date: Sun Mar 4 12:32:11 2012 +0400
Update to aunit-2011
aunit-2010-libdir.patch | 2 +-
aunit.spec | 24 +++++++++++++-----------
2 files changed, 14 insertions(+), 12 deletions(-)
---
diff --git a/aunit-2010-libdir.patch b/aunit-2010-libdir.patch
index 81b366a..9336441 100644
--- a/aunit-2010-libdir.patch
+++ b/aunit-2010-libdir.patch
@@ -4,7 +4,7 @@
project AUnit_Build is
for Languages use ("Ada");
-+ Version := "2010";
++ Version := "2011";
for Object_Dir use
"obj/" & AUnit_Shared.Target & "-" & AUnit_Shared.Runtime;
for Library_Dir use
diff --git a/aunit.spec b/aunit.spec
index cbc9cf1..5dd362e 100644
--- a/aunit.spec
+++ b/aunit.spec
@@ -1,6 +1,10 @@
+## rpmbuild cannot create debuginfo
+## for ada packages
+%define debug_package %{nil}
+
Name: aunit
-Version: 2010
-Release: 5%{?dist}
+Version: 2011
+Release: 1%{?dist}
Summary: Unit test framework for Ada
Group: Development/Languages
License: GPLv2+
@@ -48,12 +52,13 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%build
## Doen't compile without this options
export GNATFLAGS="%{GNAT_optflags} -cargs -fno-strict-aliasing "
-make %{?_smp_mflags}
+make
+## make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-export ADA_PROJECT_DIR=%{_GNAT_project_dir}
+export ADA_PROJECT_PATH=%{_GNAT_project_dir}
make install DESTDIR=$RPM_BUILD_ROOT I_LIB="%{buildroot}/%{_libdir}/%{name}/"
## There is no gps in fedora
rm -rf %{buildroot}/%{_datadir}/gps/
@@ -73,8 +78,8 @@ rm -rf $RPM_BUILD_ROOT
%doc COPYING README
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/native-full
-%{_libdir}/%{name}/native-full/lib%{name}.so.2010
-%{_libdir}/lib%{name}.so.2010
+%{_libdir}/%{name}/native-full/lib%{name}.so.%{version}
+%{_libdir}/lib%{name}.so.%{version}
%files devel
%defattr(-,root,root,-)
@@ -91,11 +96,8 @@ rm -rf $RPM_BUILD_ROOT
%changelog
-* Sun Mar 04 2012 Pavel Zhukov <landgraf at fedoraproject.org> - 2011-5
-- rebuild for gprbuild-2011
-
-* Tue Jan 10 2012 Pavel Zhukov <landgraf at fedoraproject.org> - 2010-4
-- Rebuild for new GCC-4.7
+* Sun Mar 04 2012 Pavel Zhukov <landgraf at fedoraproject.org> - 2011-1
+- Update to 2011
* Fri Jun 03 2011 Dan HorĂ¡k <dan[at]danny.cz> - 2010-3
- updated the supported arch list
More information about the scm-commits
mailing list