[erlang/el6] Kill defattr directive (no longer required since EL5/FC6)

Peter Lemenkov peter at fedoraproject.org
Sat Mar 2 06:15:11 UTC 2013


commit 3b4490ada0a46849eac89209390d7c596585f3fa
Author: Fedora Build <lemenkov at gmail.com>
Date:   Mon Sep 10 22:35:17 2012 +0400

    Kill defattr directive (no longer required since EL5/FC6)
    
    Signed-off-by: Fedora Build <lemenkov at gmail.com>
    
    Conflicts:
    	erlang.spec

 erlang.spec |   63 -----------------------------------------------------------
 1 files changed, 0 insertions(+), 63 deletions(-)
---
diff --git a/erlang.spec b/erlang.spec
index 17719d0..34fca65 100644
--- a/erlang.spec
+++ b/erlang.spec
@@ -1194,7 +1194,6 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %files
-%defattr(-,root,root)
 %if %{with doc}
 %dir %{_docdir}/%{n_uvr}/
 %doc %{_docdir}/%{n_uvr}/AUTHORS
@@ -1206,14 +1205,12 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files appmon
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/appmon-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/appmon.*
 %endif
 
 %files asn1
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/asn1-*/
 %{_libdir}/erlang/lib/asn1-*/ebin
 %{_libdir}/erlang/lib/asn1-*/priv
@@ -1224,7 +1221,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files common_test
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/common_test-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/ct.*
@@ -1242,14 +1238,12 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files compiler
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/compiler-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/compile.*
 %endif
 
 %files cosEvent
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/cosEvent-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/cosEventApp.*
@@ -1264,7 +1258,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files cosEventDomain
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/cosEventDomain-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/CosEventDomainAdmin.*
@@ -1274,7 +1267,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files cosFileTransfer
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/cosFileTransfer-*/
 %{_libdir}/erlang/lib/cosFileTransfer-*/ebin
 %{_libdir}/erlang/lib/cosFileTransfer-*/include
@@ -1289,7 +1281,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files cosNotification
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/cosNotification-*/
 %{_libdir}/erlang/lib/cosNotification-*/ebin
 %{_libdir}/erlang/lib/cosNotification-*/include
@@ -1326,7 +1317,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files cosProperty
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/cosProperty-*/
 %{_libdir}/erlang/lib/cosProperty-*/ebin
 %{_libdir}/erlang/lib/cosProperty-*/include
@@ -1342,7 +1332,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files cosTime
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/cosTime-*/
 %{_libdir}/erlang/lib/cosTime-*/ebin
 %{_libdir}/erlang/lib/cosTime-*/include
@@ -1357,7 +1346,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files cosTransactions
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/cosTransactions-*/
 %{_libdir}/erlang/lib/cosTransactions-*/ebin
 %{_libdir}/erlang/lib/cosTransactions-*/include
@@ -1374,7 +1362,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files crypto
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/crypto-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/crypto.*
@@ -1382,7 +1369,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files debugger
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/debugger-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/debugger.*
@@ -1391,7 +1377,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files dialyzer
-%defattr(-,root,root)
 %{_bindir}/dialyzer
 %{_libdir}/erlang/bin/dialyzer
 %{_libdir}/erlang/erts-*/bin/dialyzer
@@ -1401,7 +1386,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files diameter
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/diameter-*/
 %{_libdir}/erlang/lib/diameter-*/bin
 %{_libdir}/erlang/lib/diameter-*/ebin
@@ -1419,7 +1403,6 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %files doc
-%defattr(-,root,root)
 %if %{with doc}
 %doc %{_docdir}/%{n_uvr}/doc
 %doc %{_docdir}/%{n_uvr}/erts-*/
@@ -1438,7 +1421,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files edoc
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/edoc-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/edoc.*
@@ -1450,11 +1432,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files erl_docgen
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/erl_docgen-*/
 
 %files erl_interface
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/erl_interface-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man1/erl_call.*
@@ -1471,8 +1451,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files erts
-%defattr(-,root,root)
-
 # TODO these directories should be packaged separately
 %dir %{_libdir}/erlang/
 %dir %{_libdir}/erlang/bin/
@@ -1553,7 +1531,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/erlang/usr/
 
 %files et
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/et-*/
 %{_libdir}/erlang/lib/et-*/ebin
 %{_libdir}/erlang/lib/et-*/include
@@ -1566,7 +1543,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files eunit
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/eunit-*/
 %{_libdir}/erlang/lib/eunit-*/ebin
 %{_libdir}/erlang/lib/eunit-*/include
@@ -1576,7 +1552,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files examples
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/asn1-*/examples
 #%{_libdir}/erlang/lib/cosFileTransfer-*/examples
 #%{_libdir}/erlang/lib/cosNotification-*/examples
@@ -1605,7 +1580,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/erlang/lib/wx-*/examples
 
 %files gs
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/gs-*/
 %{_libdir}/erlang/lib/gs-*/contribs
 %{_libdir}/erlang/lib/gs-*/ebin
@@ -1616,11 +1590,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files hipe
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/hipe-*/
 
 %files ic
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/ic-*/
 %{_libdir}/erlang/lib/ic-*/ebin
 %{_libdir}/erlang/lib/ic-*/include
@@ -1634,7 +1606,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files inets
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/inets-*/
 %{_libdir}/erlang/lib/inets-*/ebin
 %{_libdir}/erlang/lib/inets-*/include
@@ -1656,7 +1627,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files inviso
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/inviso-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/inviso.*
@@ -1668,12 +1638,10 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files jinterface
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/jinterface-*/
 %{_javadir}/%{name}/OtpErlang.jar
 
 %files kernel
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/kernel-*/
 %{_libdir}/erlang/lib/kernel-*/ebin
 %{_libdir}/erlang/lib/kernel-*/include
@@ -1715,7 +1683,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files megaco
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/megaco-*/
 %{_libdir}/erlang/lib/megaco-*/ebin
 %{_libdir}/erlang/lib/megaco-*/include
@@ -1737,7 +1704,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files mnesia
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/mnesia-*/
 %{_libdir}/erlang/lib/mnesia-*/ebin
 %{_libdir}/erlang/lib/mnesia-*/include
@@ -1749,7 +1715,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files observer
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/observer-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/crashdump.*
@@ -1758,14 +1723,12 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files odbc
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/odbc-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/odbc.*
 %endif
 
 %files orber
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/orber-*/
 %{_libdir}/erlang/lib/orber-*/COSS
 %{_libdir}/erlang/lib/orber-*/ebin
@@ -1795,7 +1758,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files os_mon
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/os_mon-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/cpu_sup.*
@@ -1807,14 +1769,12 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files otp_mibs
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/otp_mibs-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/otp_mib.*
 %endif
 
 %files parsetools
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/parsetools-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/leex.*
@@ -1822,7 +1782,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files percept
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/percept-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/egd.*
@@ -1831,21 +1790,18 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files pman
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/pman-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/pman.*
 %endif
 
 %files public_key
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/public_key-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/public_key.*
 %endif
 
 %files reltool
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/reltool-*/
 %{_libdir}/erlang/lib/reltool-*/ebin
 %{_libdir}/erlang/lib/reltool-*/src
@@ -1854,7 +1810,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files runtime_tools
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/runtime_tools-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/dbg.*
@@ -1863,7 +1818,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files sasl
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/sasl-*/
 %{_libdir}/erlang/lib/sasl-*/ebin
 %{_libdir}/erlang/lib/sasl-*/src
@@ -1881,7 +1835,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files snmp
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/snmp-*/
 %{_libdir}/erlang/lib/snmp-*/bin
 %{_libdir}/erlang/lib/snmp-*/ebin
@@ -1942,7 +1895,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files ssh
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/ssh-*/
 %{_libdir}/erlang/lib/ssh-*/ebin
 %{_libdir}/erlang/lib/ssh-*/include
@@ -1956,7 +1908,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files ssl
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/ssl-*/
 %{_libdir}/erlang/lib/ssl-*/ebin
 %{_libdir}/erlang/lib/ssl-*/priv
@@ -1969,7 +1920,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files stdlib
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/stdlib-*/
 %{_libdir}/erlang/lib/stdlib-*/ebin
 %{_libdir}/erlang/lib/stdlib-*/include
@@ -2038,7 +1988,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files syntax_tools
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/syntax_tools-*/
 %{_libdir}/erlang/lib/syntax_tools-*/ebin
 %if %{with doc}
@@ -2054,7 +2003,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files test_server
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/test_server-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/test_server.*
@@ -2063,14 +2011,12 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files toolbar
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/toolbar-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/toolbar.*
 %endif
 
 %files tools
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/tools-*/
 %{_libdir}/erlang/lib/tools-*/bin
 %{_libdir}/erlang/lib/tools-*/ebin
@@ -2091,21 +2037,18 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files tv
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/tv-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/tv.*
 %endif
 
 %files typer
-%defattr(-,root,root)
 %{_bindir}/typer
 %{_libdir}/erlang/bin/typer
 %{_libdir}/erlang/erts-*/bin/typer
 %{_libdir}/erlang/lib/typer-*/
 
 %files webtool
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/webtool-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man1/start_webtool.*
@@ -2113,7 +2056,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files wx
-%defattr(-,root,root)
 %dir %{_libdir}/erlang/lib/wx-*/
 %{_libdir}/erlang/lib/wx-*/ebin
 %{_libdir}/erlang/lib/wx-*/include
@@ -2340,7 +2282,6 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %files xmerl
-%defattr(-,root,root)
 %{_libdir}/erlang/lib/xmerl-*/
 %if %{with doc}
 %{_libdir}/erlang/man/man3/xmerl.*
@@ -2354,25 +2295,21 @@ rm -rf $RPM_BUILD_ROOT
 
 %if 0%{?el6}%{?fedora}
 %files -n emacs-erlang
-%defattr(-,root,root,-)
 %dir %{_emacs_sitelispdir}/erlang
 %doc %{_emacs_sitelispdir}/erlang/README
 %{_emacs_sitelispdir}/erlang/*.elc
 %{_emacs_sitestartdir}/erlang-init.el
 
 %files -n emacs-erlang-el
-%defattr(-,root,root,-)
 %{_emacs_sitelispdir}/erlang/*.el
 
 %files -n xemacs-erlang
-%defattr(-,root,root,-)
 %dir %{_xemacs_sitelispdir}/erlang
 %doc %{_xemacs_sitelispdir}/erlang/README
 %{_xemacs_sitelispdir}/erlang/*.elc
 %{_xemacs_sitestartdir}/erlang-init.el
 
 %files -n xemacs-erlang-el
-%defattr(-,root,root,-)
 %{_xemacs_sitelispdir}/erlang/*.el
 %endif
 


More information about the scm-commits mailing list