[PragmARC] Removed the buildroot tag, buildroot cleaning and default file attributes as all of that is handled

Björn Persson rombobeorn at fedoraproject.org
Sun May 22 14:44:24 UTC 2011


commit bfa18ad13839d51d5f14b69bbc9e1581e8e8eeaf
Author: Björn Persson <bjorn at rombobjörn.se>
Date:   Sun May 22 16:44:10 2011 +0200

    Removed the buildroot tag, buildroot cleaning and default file attributes as all of that is handled by default now.

 PragmARC.spec |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)
---
diff --git a/PragmARC.spec b/PragmARC.spec
index d6e3a27..fd83b58 100644
--- a/PragmARC.spec
+++ b/PragmARC.spec
@@ -1,6 +1,6 @@
 Name:           PragmARC
 Version:        20060427
-Release:        11%{?dist}
+Release:        11.1%{?dist}
 Summary:        PragmAda Reusable Components, a component library for Ada
 Summary(sv):    PragmAda Reusable Components, ett komponentbibliotek för ada
 
@@ -10,7 +10,6 @@ URL:            http://pragmada.x10hosting.com/pragmarc.htm
 Source1:        http://pragmada.x10hosting.com/pragmarc.zip
 Source2:        build_pragmarc.gpr
 Source3:        pragmarc.gpr
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gcc-gnat fedora-gnat-project-common >= 3 dos2unix chrpath
 
@@ -58,29 +57,22 @@ dos2unix --keepdate license.txt readme.txt arc_list.txt design.txt Test/*
 
 
 %install
-rm -rf %{buildroot}
-mv build_target %{buildroot}
+mv build_target/* --target-directory=%{buildroot}
 # Add the project file for projects that use this library.
 mkdir --parents %{buildroot}%{_GNAT_project_dir}
 cp -p %{SOURCE3} %{buildroot}%{_GNAT_project_dir}/
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
 
 %files
-%defattr(-,root,root,-)
 %doc license.txt gpl.txt
 %{_libdir}/*.so.*
 
 %files devel
-%defattr(-,root,root,-)
 %doc readme.txt arc_list.txt design.txt Test
 %{_includedir}/*
 %{_libdir}/*.so
@@ -89,6 +81,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sun May 22 2011 Björn Persson <bjorn at rombobjörn.se> - 20060427-11.1
+- Removed some obsolete stuff.
+
 * Tue May 03 2011 Björn Persson <bjorn at rombobjörn.se> - 20060427-11
 - Updated to make use of fedora-gnat-project-common 3.
 


More information about the scm-commits mailing list