[aunit/f17] New version - 2011
Pavel Zhukov
landgraf at fedoraproject.org
Sat Mar 10 06:57:17 UTC 2012
commit 6cf8b648827bc413605f8f7eef31be73ab6509c9
Author: Pavel Zhukov <landgraf at fedoraproject.org>
Date: Sat Mar 10 10:57:11 2012 +0400
New version - 2011
aunit-2010-libdir.patch | 2 +-
aunit.spec | 21 +++++++++++++--------
2 files changed, 14 insertions(+), 9 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 31cc4f8..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: 4%{?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,8 +96,8 @@ rm -rf $RPM_BUILD_ROOT
%changelog
-* 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