]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
- redone _noautocompress handling to use parameter instead of file
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 11 Aug 2003 22:09:41 +0000 (22:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- killed all no longer necessary builddir locking, at last!
  (modified files: compress-doc, compress-doc.patch, rpm.macros)
- release .20.7 - for heavy testing again, then release can be increased to .21

Changed files:
    rpm.macros -> 1.126

rpm.macros

index 97e62525715c8f7a0681bee5fa5f47c2ab56bcdc..217181266c369ca49016028234ed09e7090b0df8 100644 (file)
@@ -330,38 +330,14 @@ echo "Compress kernel modules if any."; \
 ###################################################################
 # Requires/Provides automation
 # exceptions system by Jacek Konieczny <jajcus@pld.org.pl>
-%__spec_prep_pre \
-_autoreqprov=n \
-%{?_noautocompressdoc:_autoreqprov=y}\
-if [ "$_autoreqprov" = "y" ] ; then \
-    if [ -f %{_builddir}/__rpm_lock ] ; then \
-       echo "Some package using \%_noauto*  macros is already being built" >&2 \
-       echo "If it is not true delete %{_builddir}/__rpm_lock" >&2 \
-       exit 1 \
-    else \
-       rm -f %{_builddir}/__rpm_*\
-       touch %{_builddir}/__rpm_lock \
-    fi \
-fi \
-%{?_noautocompressdoc:echo '%{_noautocompressdoc}' > %{_builddir}/__rpm_noautocompressdoc}\
-%{___build_pre}\
-%{nil}
-
-
-%__spec_clean_pre      %{___build_pre}\
-_autoreqprov=n \
-%{?_noautocompressdoc:_autoreqprov=y}\
-if [ "$_autoreqprov" = "y" ] ; then \
-       rm -f %{_builddir}/__rpm_* \
-fi \
-%{nil}
-
-
-#%_noautoreqfiles      "%{_defaultdocdir}.*" "%{_examplesdir}.*"
+#
+#%_noautoreqfiles      '%{_defaultdocdir}.*' '%{_examplesdir}.*'
 #%_noautoreq           %{nil}
 #%_noautoreqdep                %{nil}
 #%_noautoprovfiles     %{nil}
 #%_noautoprov          %{nil}
+#%_noautocompressdoc   %{nil}
+#
 %_missing_doc_files_terminate_build    1%{nil}
 %_unpackaged_files_terminate_build     %{nil}
 # (X)emacs support
This page took 0.369892 seconds and 4 git commands to generate.