[gnome-sdk-images] Remove %clean sections



commit 557bf7a5df7ecd8c23445fd9e9904e81800891db
Author: Alexander Larsson <alexl redhat com>
Date:   Wed Mar 25 14:18:26 2015 +0100

    Remove %clean sections
    
    These are not even used anymore

 packages/SPECS/dbus-glib.spec          |    4 ----
 packages/SPECS/dbus.spec               |    3 ---
 packages/SPECS/dejavu-fonts.spec       |    4 ----
 packages/SPECS/enchant.spec            |    3 ---
 packages/SPECS/freetype.spec           |    3 ---
 packages/SPECS/hicolor-icon-theme.spec |    3 ---
 packages/SPECS/hunspell-en.spec        |    3 ---
 packages/SPECS/hunspell.spec           |    3 ---
 packages/SPECS/libICE.spec             |    3 ---
 packages/SPECS/libSM.spec              |    3 ---
 packages/SPECS/libX11.spec             |    3 ---
 packages/SPECS/libXau.spec             |    3 ---
 packages/SPECS/libXcomposite.spec      |    3 ---
 packages/SPECS/libXcursor.spec         |    3 ---
 packages/SPECS/libXdamage.spec         |    3 ---
 packages/SPECS/libXdmcp.spec           |    3 ---
 packages/SPECS/libXext.spec            |    3 ---
 packages/SPECS/libXfixes.spec          |    3 ---
 packages/SPECS/libXft.spec             |    3 ---
 packages/SPECS/libXi.spec              |    3 ---
 packages/SPECS/libXinerama.spec        |    3 ---
 packages/SPECS/libXpm.spec             |    3 ---
 packages/SPECS/libXrandr.spec          |    3 ---
 packages/SPECS/libXrender.spec         |    3 ---
 packages/SPECS/libXt.spec              |    3 ---
 packages/SPECS/libXtst.spec            |    3 ---
 packages/SPECS/libXv.spec              |    3 ---
 packages/SPECS/libpciaccess.spec       |    3 ---
 packages/SPECS/libthai.spec            |    3 ---
 packages/SPECS/libxcb.spec             |    3 ---
 packages/SPECS/libxkbfile.spec         |    3 ---
 packages/SPECS/mesa.spec               |    3 ---
 packages/SPECS/wayland.spec            |    3 ---
 packages/SPECS/xcb-proto.spec          |    3 ---
 34 files changed, 0 insertions(+), 104 deletions(-)
---
diff --git a/packages/SPECS/dbus-glib.spec b/packages/SPECS/dbus-glib.spec
index 49477e3..076dfa6 100644
--- a/packages/SPECS/dbus-glib.spec
+++ b/packages/SPECS/dbus-glib.spec
@@ -46,10 +46,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf %{buildroot}
-
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
diff --git a/packages/SPECS/dbus.spec b/packages/SPECS/dbus.spec
index 9a9afe3..a4d34a6 100644
--- a/packages/SPECS/dbus.spec
+++ b/packages/SPECS/dbus.spec
@@ -96,9 +96,6 @@ mkdir -p %{buildroot}/var/lib/dbus
 install -pm 644 -t %{buildroot}%{_pkgdocdir} \
     doc/introspect.dtd doc/introspect.xsl doc/system-activation.txt
 
-%clean
-rm -rf %{buildroot}
-
 %post libs -p /sbin/ldconfig
 
 %postun libs -p /sbin/ldconfig
diff --git a/packages/SPECS/dejavu-fonts.spec b/packages/SPECS/dejavu-fonts.spec
index e1d7530..a4d1a45 100644
--- a/packages/SPECS/dejavu-fonts.spec
+++ b/packages/SPECS/dejavu-fonts.spec
@@ -40,10 +40,6 @@ for fontconf in *conf ; do
         %{buildroot}%{_fontconfig_confdir}/$fontconf
 done
 
-%clean
-rm -fr %{buildroot}
-
-
 %files
 %defattr(0644,root,root,0755)
 %doc AUTHORS BUGS LICENSE NEWS README
diff --git a/packages/SPECS/enchant.spec b/packages/SPECS/enchant.spec
index 3a782e0..9a3e22b 100644
--- a/packages/SPECS/enchant.spec
+++ b/packages/SPECS/enchant.spec
@@ -55,9 +55,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/enchant/*.la
 
 %postun -p /sbin/ldconfig
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %changelog
 * Thu Jan 22 2015 Alexander Larsson <alexl redhat com> - 1.6.0-1
 - Initial version
diff --git a/packages/SPECS/freetype.spec b/packages/SPECS/freetype.spec
index 6b7bbe6..e16e8fc 100644
--- a/packages/SPECS/freetype.spec
+++ b/packages/SPECS/freetype.spec
@@ -74,9 +74,6 @@ make %{?_smp_mflags}
 # Don't package static a or .la files
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
diff --git a/packages/SPECS/hicolor-icon-theme.spec b/packages/SPECS/hicolor-icon-theme.spec
index ab9088d..eaddf1a 100644
--- a/packages/SPECS/hicolor-icon-theme.spec
+++ b/packages/SPECS/hicolor-icon-theme.spec
@@ -39,9 +39,6 @@ fi
 %posttrans
 gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc README COPYING ChangeLog
diff --git a/packages/SPECS/hunspell-en.spec b/packages/SPECS/hunspell-en.spec
index 1df2efe..c60328f 100644
--- a/packages/SPECS/hunspell-en.spec
+++ b/packages/SPECS/hunspell-en.spec
@@ -98,9 +98,6 @@ for lang in $en_US_aliases; do
 done
 popd
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc scowl/speller/README_en_CA.txt
diff --git a/packages/SPECS/hunspell.spec b/packages/SPECS/hunspell.spec
index 72c9a08..b953f84 100644
--- a/packages/SPECS/hunspell.spec
+++ b/packages/SPECS/hunspell.spec
@@ -40,9 +40,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
 mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell
 %find_lang %{name}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
diff --git a/packages/SPECS/libICE.spec b/packages/SPECS/libICE.spec
index 582866f..24d00e6 100644
--- a/packages/SPECS/libICE.spec
+++ b/packages/SPECS/libICE.spec
@@ -43,9 +43,6 @@ for f in AUTHORS ChangeLog COPYING ; do
     cp -p $f ${RPM_BUILD_ROOT}%{_docdir}/%{name}/${f}
 done
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libSM.spec b/packages/SPECS/libSM.spec
index 39da1cb..aade6fa 100644
--- a/packages/SPECS/libSM.spec
+++ b/packages/SPECS/libSM.spec
@@ -43,9 +43,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 # we %%doc these ourselves, later, and only the text versions
 rm -rf $RPM_BUILD_ROOT%{_docdir}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libX11.spec b/packages/SPECS/libX11.spec
index dc13172..e559a49 100644
--- a/packages/SPECS/libX11.spec
+++ b/packages/SPECS/libX11.spec
@@ -62,9 +62,6 @@ find $RPM_BUILD_ROOT -name 'Xcms.txt' -delete
 # FIXME package these properly
 rm -rf $RPM_BUILD_ROOT%{_docdir}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXau.spec b/packages/SPECS/libXau.spec
index 9015d1a..38bb523 100644
--- a/packages/SPECS/libXau.spec
+++ b/packages/SPECS/libXau.spec
@@ -44,9 +44,6 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 # We intentionally don't ship *.la files
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXcomposite.spec b/packages/SPECS/libXcomposite.spec
index a4e4907..1823c1d 100644
--- a/packages/SPECS/libXcomposite.spec
+++ b/packages/SPECS/libXcomposite.spec
@@ -37,9 +37,6 @@ make %{?_smp_mflags}
 make install DESTDIR=$RPM_BUILD_ROOT
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXcursor.spec b/packages/SPECS/libXcursor.spec
index d5b922d..d4b0f62 100644
--- a/packages/SPECS/libXcursor.spec
+++ b/packages/SPECS/libXcursor.spec
@@ -59,9 +59,6 @@ install -m 644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/icons/default/index.them
 # We intentionally don't ship *.la files
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXdamage.spec b/packages/SPECS/libXdamage.spec
index 7a6cda2..b0bbe3d 100644
--- a/packages/SPECS/libXdamage.spec
+++ b/packages/SPECS/libXdamage.spec
@@ -38,9 +38,6 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 # We intentionally don't ship *.la files
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXdmcp.spec b/packages/SPECS/libXdmcp.spec
index 47a0f98..d1f1b71 100644
--- a/packages/SPECS/libXdmcp.spec
+++ b/packages/SPECS/libXdmcp.spec
@@ -40,9 +40,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 # manual fixup later
 rm -rf $RPM_BUILD_ROOT%{_docdir}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXext.spec b/packages/SPECS/libXext.spec
index 3299b92..e57b12c 100644
--- a/packages/SPECS/libXext.spec
+++ b/packages/SPECS/libXext.spec
@@ -44,9 +44,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 # do this with %%doc below
 rm -rf $RPM_BUILD_ROOT%{_docdir}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXfixes.spec b/packages/SPECS/libXfixes.spec
index 5168331..573493a 100644
--- a/packages/SPECS/libXfixes.spec
+++ b/packages/SPECS/libXfixes.spec
@@ -40,9 +40,6 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 # We intentionally don't ship *.la files
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXft.spec b/packages/SPECS/libXft.spec
index 364da94..8a0f145 100644
--- a/packages/SPECS/libXft.spec
+++ b/packages/SPECS/libXft.spec
@@ -47,9 +47,6 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man1/xft-config*
 # We intentionally don't ship *.la files
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXi.spec b/packages/SPECS/libXi.spec
index e2a8a2e..e5d946f 100644
--- a/packages/SPECS/libXi.spec
+++ b/packages/SPECS/libXi.spec
@@ -51,9 +51,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
 # We intentionally don't ship *.la files
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXinerama.spec b/packages/SPECS/libXinerama.spec
index 4bc701b..75f70da 100644
--- a/packages/SPECS/libXinerama.spec
+++ b/packages/SPECS/libXinerama.spec
@@ -42,9 +42,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
 # We intentionally don't ship *.la files
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXpm.spec b/packages/SPECS/libXpm.spec
index 16db767..e0e3b5c 100644
--- a/packages/SPECS/libXpm.spec
+++ b/packages/SPECS/libXpm.spec
@@ -39,9 +39,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
 # We intentionally don't ship *.la files
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXrandr.spec b/packages/SPECS/libXrandr.spec
index 970596f..cd3e249 100644
--- a/packages/SPECS/libXrandr.spec
+++ b/packages/SPECS/libXrandr.spec
@@ -41,9 +41,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXrender.spec b/packages/SPECS/libXrender.spec
index 896429e..83c7957 100644
--- a/packages/SPECS/libXrender.spec
+++ b/packages/SPECS/libXrender.spec
@@ -41,9 +41,6 @@ rm $RPM_BUILD_ROOT/%{_docdir}/*/libXrender.txt
 # We intentionally don't ship *.la files
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXt.spec b/packages/SPECS/libXt.spec
index d19303d..312a7e0 100644
--- a/packages/SPECS/libXt.spec
+++ b/packages/SPECS/libXt.spec
@@ -49,9 +49,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 # adding to installed docs in order to avoid using %%doc magic
 cp -p COPYING ${RPM_BUILD_ROOT}%{_datadir}/doc/%{name}/COPYING
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXtst.spec b/packages/SPECS/libXtst.spec
index e7a33ab..8e6eaba 100644
--- a/packages/SPECS/libXtst.spec
+++ b/packages/SPECS/libXtst.spec
@@ -46,9 +46,6 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
 rm -rf $RPM_BUILD_ROOT%{_docdir}
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libXv.spec b/packages/SPECS/libXv.spec
index 798207c..51f902b 100644
--- a/packages/SPECS/libXv.spec
+++ b/packages/SPECS/libXv.spec
@@ -41,9 +41,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
 # We intentionally don't ship *.la files
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libpciaccess.spec b/packages/SPECS/libpciaccess.spec
index f6bfd9b..ab437d6 100644
--- a/packages/SPECS/libpciaccess.spec
+++ b/packages/SPECS/libpciaccess.spec
@@ -40,9 +40,6 @@ make %{?_smp_mflags}
 make install DESTDIR=$RPM_BUILD_ROOT
 rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libthai.spec b/packages/SPECS/libthai.spec
index a515ed6..f14b5a7 100644
--- a/packages/SPECS/libthai.spec
+++ b/packages/SPECS/libthai.spec
@@ -40,9 +40,6 @@ make
 
 rm $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
diff --git a/packages/SPECS/libxcb.spec b/packages/SPECS/libxcb.spec
index 40409ce..448110d 100644
--- a/packages/SPECS/libxcb.spec
+++ b/packages/SPECS/libxcb.spec
@@ -60,9 +60,6 @@ sed 's,@libdir@,%{_libdir},;s,@prefix@,%{_prefix},;s,@exec_prefix@,%{_exec_prefi
 
 find $RPM_BUILD_ROOT -name '*.la' -delete
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/libxkbfile.spec b/packages/SPECS/libxkbfile.spec
index b69ea20..a6cdd1b 100644
--- a/packages/SPECS/libxkbfile.spec
+++ b/packages/SPECS/libxkbfile.spec
@@ -39,9 +39,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
 # We intentionally don't ship *.la files
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
diff --git a/packages/SPECS/mesa.spec b/packages/SPECS/mesa.spec
index b5e1b99..75810d5 100644
--- a/packages/SPECS/mesa.spec
+++ b/packages/SPECS/mesa.spec
@@ -198,9 +198,6 @@ rm -f $RPM_BUILD_ROOT%{_includedir}/GL/osmesa.h
 # remove .la files
 find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %check
 
 %post libGL -p /sbin/ldconfig
diff --git a/packages/SPECS/wayland.spec b/packages/SPECS/wayland.spec
index 7ed2d18..bc573ab 100644
--- a/packages/SPECS/wayland.spec
+++ b/packages/SPECS/wayland.spec
@@ -79,9 +79,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
 
 find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -n libwayland-client -p /sbin/ldconfig
 %postun -n libwayland-client -p /sbin/ldconfig
 
diff --git a/packages/SPECS/xcb-proto.spec b/packages/SPECS/xcb-proto.spec
index c7ea47f..c286981 100644
--- a/packages/SPECS/xcb-proto.spec
+++ b/packages/SPECS/xcb-proto.spec
@@ -31,9 +31,6 @@ make %{?_smp_mflags}
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc COPYING NEWS README TODO doc/xml-xcb.txt


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]