]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- more complete LSB rpm v3 support from mandriva (can open ooo rpm-s now)
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 26 Oct 2008 19:05:36 +0000 (19:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- use RPMTAG_INSTALLTIME instead of RPMTAG_INSTALLTID when filling hrmib cache
- %_smp_mflags cames from rpm-build-macros, don't let platform.in overwrite it
- move %_install_langs to separate file: /etc/rpm/macros.lang (for better rpm updates)

Changed files:
    rpm.spec -> 1.837.2.42.2.49.2.27

rpm.spec

index 004cf4d0b71d2a40f9a43f4285787a02d62d9e1d..af6cc30672ae4afe86dcc092c2648e6d495742d5 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -149,6 +149,10 @@ Patch79:   %{name}-macros-cpp.patch
 Patch80:       %{name}-link-selinux.patch
 Patch81:       %{name}-db-configure.patch
 Patch82:       %{name}-perl-makefile.patch
+Patch83:       %{name}-nosmpflags.patch
+Patch84:       %{name}-hirmib-ts.patch
+Patch85:       %{name}-perl_req-heredocs_pod.patch
+Patch86:       %{name}-rpmv3-support.patch
 URL:           http://rpm5.org/
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake >= 1.4
@@ -746,6 +750,10 @@ install %{SOURCE13} scripts/perl.prov
 %patch77 -p0
 %patch79 -p1
 %patch80 -p1
+%patch83 -p1
+%patch84 -p1
+%patch85 -p1
+%patch86 -p1
 
 mv -f po/{sr,sr@Latn}.po
 rm -rf sqlite zlib popt
@@ -972,30 +980,14 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/rpm/sysinfo/Obsoletename
 touch $RPM_BUILD_ROOT%{_sysconfdir}/rpm/sysinfo/Providename
 touch $RPM_BUILD_ROOT%{_sysconfdir}/rpm/sysinfo/Requirename
 
-%if "%{pld_release}" == "ti"
 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros <<EOF
 # customized rpm macros - global for host
 #
-#%%_install_langs pl_PL:en_US
+%if "%{pld_release}" == "ti"
 %%distribution PLD Titanium
-#
-# remove or replace with file_contexts path if you want to use custom
-# SELinux file contexts policy instead of one stored in packages payload
-%%_install_file_context_path   %%{nil}
-%%_verify_file_context_path    %%{nil}
-
-# If non-zero, all erasures will be automagically repackaged.
-%%_repackage_all_erasures      0
-
-# If non-zero, create debuginfo packages
-%%_enable_debug_packages               0
-EOF
 %else
-cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros <<EOF
-# customized rpm macros - global for host
-#
-#%%_install_langs pl_PL:en_US
 %%distribution PLD
+%endif
 #
 # remove or replace with file_contexts path if you want to use custom
 # SELinux file contexts policy instead of one stored in packages payload
@@ -1003,13 +995,23 @@ cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros <<EOF
 %%_verify_file_context_path    %%{nil}
 
 # If non-zero, all erasures will be automagically repackaged.
-#%%_repackage_all_erasures    1
+#%%_repackage_all_erasures     1
+
+# If non-zero, create debuginfo packages
+#%%_enable_debug_packages      1
 
 # Boolean (i.e. 1 == "yes", 0 == "no") that controls whether files
 # marked as %doc should be installed.
 #%%_excludedocs   1
 EOF
-%endif
+
+cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.lang <<EOF
+# Customized rpm macros - global for host
+#      A colon separated list of desired locales to be installed;
+#      "all" means install all locale specific files.
+#
+#%%_install_langs pl_PL:en_US
+EOF
 
 cat > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/noautoprovfiles <<EOF
 # global list of files (regexps) which don't generate Provides
This page took 0.055755 seconds and 4 git commands to generate.