|
@@ -31,15 +31,16 @@ Summary(ja): RPM パッケージ管理システム
|
|
Name: rpm
|
|
Name: rpm
|
|
Version: 4.12.0.1
|
|
Version: 4.12.0.1
|
|
%define rpm_version %{version}
|
|
%define rpm_version %{version}
|
|
-Release: 2%{_dist_release}
|
|
+Release: 3%{_dist_release}
|
|
Group: System Environment/Base
|
|
Group: System Environment/Base
|
|
-License: GPL
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
|
|
+License: GPL
|
|
Source: http://rpm.org/releases/rpm-4.12.x/rpm-%{version}%{?_prever}.tar.bz2
|
|
Source: http://rpm.org/releases/rpm-4.12.x/rpm-%{version}%{?_prever}.tar.bz2
|
|
%if %{with int_bdb}
|
|
%if %{with int_bdb}
|
|
Source1: db-%{bdbver}.tar.gz
|
|
Source1: db-%{bdbver}.tar.gz
|
|
%endif
|
|
%endif
|
|
-Source10: macros.vine
|
|
|
|
Source100: rpm-4.11.2-ja.po
|
|
Source100: rpm-4.11.2-ja.po
|
|
Source110: GROUPS_for_vine.txt
|
|
Source110: GROUPS_for_vine.txt
|
|
Source120: GROUPS-DESC_for_vine.txt
|
|
Source120: GROUPS-DESC_for_vine.txt
|
|
@@ -81,6 +82,9 @@ Patch1310: rpm-4.10.0-brp-strip-static-archive-find-a-only.patch
|
|
Patch1320: rpm-4.9.1.2-force-v3-sigs.patch
|
|
Patch1320: rpm-4.9.1.2-force-v3-sigs.patch
|
|
Patch1330: rpm-4.9.1.2-enable-xz-payload.patch
|
|
Patch1330: rpm-4.9.1.2-enable-xz-payload.patch
|
|
|
|
|
|
|
|
+# https://github.com/rpm-software-management/rpm/commit/5b4805df2085b0e7c4f09caad62638c3238b3bc1
|
|
|
|
+Patch10000: rpm-strip.patch
|
|
|
|
+
|
|
Conflicts: patch < 2.5
|
|
Conflicts: patch < 2.5
|
|
Requires(post): coreutils, shadow-utils
|
|
Requires(post): coreutils, shadow-utils
|
|
Requires(postun): coreutils, shadow-utils
|
|
Requires(postun): coreutils, shadow-utils
|
|
@@ -91,6 +95,7 @@ Requires: rpm-libs = %{version}
|
|
%if %{without int_bdb}
|
|
%if %{without int_bdb}
|
|
Requires: libdb-utils
|
|
Requires: libdb-utils
|
|
%endif
|
|
%endif
|
|
|
|
+Requires: vine-rpm-macros
|
|
|
|
|
|
Obsoletes: rpm-perl < %{version}
|
|
Obsoletes: rpm-perl < %{version}
|
|
|
|
|
|
@@ -125,9 +130,6 @@ BuildRequires: python-devel >= %{with_python_version}
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
|
-Distribution: Vine Linux
|
|
|
|
-
|
|
|
|
%description
|
|
%description
|
|
The RPM Package Manager (RPM) is a powerful command line driven
|
|
The RPM Package Manager (RPM) is a powerful command line driven
|
|
package management system capable of installing, uninstalling,
|
|
package management system capable of installing, uninstalling,
|
|
@@ -189,6 +191,7 @@ Requires: rpm = %{rpm_version}-%{release}
|
|
Requires: elfutils, binutils
|
|
Requires: elfutils, binutils
|
|
Requires: findutils, sed, grep, gawk, diffutils, file, patch >= 2.5
|
|
Requires: findutils, sed, grep, gawk, diffutils, file, patch >= 2.5
|
|
Requires: zip, gzip, bzip2, cpio, tar, xz
|
|
Requires: zip, gzip, bzip2, cpio, tar, xz
|
|
|
|
+Requires: vine-rpm-build-macros
|
|
|
|
|
|
%description build
|
|
%description build
|
|
The rpm-build package contains the scripts and executable programs
|
|
The rpm-build package contains the scripts and executable programs
|
|
@@ -263,6 +266,8 @@ that will manipulate RPM packages and databases.
|
|
%patch1320 -p1 -b .force-v3-sigs
|
|
%patch1320 -p1 -b .force-v3-sigs
|
|
%patch1330 -p1 -b .enable-xz-payload
|
|
%patch1330 -p1 -b .enable-xz-payload
|
|
|
|
|
|
|
|
+%patch10000 -p1 -b .brp-strip
|
|
|
|
+
|
|
# install updated japanese message catalogue
|
|
# install updated japanese message catalogue
|
|
cp -f po/ja.po po/ja.po.orig
|
|
cp -f po/ja.po po/ja.po.orig
|
|
cp -f %{SOURCE100} po/ja.po
|
|
cp -f %{SOURCE100} po/ja.po
|
|
@@ -336,9 +341,6 @@ install -m 644 scripts/rpm.log ${RPM_BUILD_ROOT}/etc/logrotate.d/rpm
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/rpm
|
|
mkdir -p $RPM_BUILD_ROOT/etc/rpm
|
|
|
|
|
|
-# install vine macros
|
|
|
|
-cp %{SOURCE10} $RPM_BUILD_ROOT/etc/rpm/macros.vine
|
|
|
|
-
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/spool/repackage
|
|
mkdir -p $RPM_BUILD_ROOT/var/spool/repackage
|
|
mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
|
|
mkdir -p $RPM_BUILD_ROOT/var/lib/rpm
|
|
for dbi in \
|
|
for dbi in \
|
|
@@ -393,6 +395,9 @@ done
|
|
rm -f .%{__libdir}/python%{with_python_version}/site-packages/rpm/*.{a,la}
|
|
rm -f .%{__libdir}/python%{with_python_version}/site-packages/rpm/*.{a,la}
|
|
rm -f .%{__libdir}/python%{with_python_version}/site-packages/rpmdb/*.{a,la}
|
|
rm -f .%{__libdir}/python%{with_python_version}/site-packages/rpmdb/*.{a,la}
|
|
%endif
|
|
%endif
|
|
|
|
+ # obsoleted files (macros for metainfo are provided by vine-rpm-macros)
|
|
|
|
+ rm -f ./usr/lib/rpm/appdata.prov
|
|
|
|
+ rm -f ./usr/lib/rpm/fileattrs/appdata.attr
|
|
}
|
|
}
|
|
|
|
|
|
%clean
|
|
%clean
|
|
@@ -456,7 +461,7 @@ exit 0
|
|
%config(noreplace,missingok) /etc/cron.daily/rpm
|
|
%config(noreplace,missingok) /etc/cron.daily/rpm
|
|
%config(noreplace,missingok) /etc/logrotate.d/rpm
|
|
%config(noreplace,missingok) /etc/logrotate.d/rpm
|
|
%dir /etc/rpm
|
|
%dir /etc/rpm
|
|
-%config(noreplace,missingok) /etc/rpm/macros.*
|
|
+#config(noreplace,missingok) /etc/rpm/macros.*
|
|
%attr(0755, rpm, rpm) %dir /var/lib/rpm
|
|
%attr(0755, rpm, rpm) %dir /var/lib/rpm
|
|
%attr(0755, rpm, rpm) %dir /var/spool/repackage
|
|
%attr(0755, rpm, rpm) %dir /var/spool/repackage
|
|
|
|
|
|
@@ -548,7 +553,6 @@ exit 0
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%rpmattr %{__bindir}/rpmbuild
|
|
%rpmattr %{__bindir}/rpmbuild
|
|
%rpmattr %{__bindir}/rpmspec
|
|
%rpmattr %{__bindir}/rpmspec
|
|
-%rpmattr %{__prefix}/lib/rpm/appdata.prov
|
|
|
|
%rpmattr %{__prefix}/lib/rpm/brp-*
|
|
%rpmattr %{__prefix}/lib/rpm/brp-*
|
|
%rpmattr %{__prefix}/lib/rpm/check-files
|
|
%rpmattr %{__prefix}/lib/rpm/check-files
|
|
%rpmattr %{__prefix}/lib/rpm/check-prereqs
|
|
%rpmattr %{__prefix}/lib/rpm/check-prereqs
|
|
@@ -608,6 +612,12 @@ exit 0
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri May 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.12.0.1-3
|
|
|
|
+- moved macros.vine to vine-rpm-macros.
|
|
|
|
+- dropped appdata macros.
|
|
|
|
+- imported metainfo.fileattr from upstream.
|
|
|
|
+- imported Patch10000 from upstream.
|
|
|
|
+
|
|
* Tue Nov 24 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 4.12.0.1-2
|
|
* Tue Nov 24 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 4.12.0.1-2
|
|
- add new utils (rpm2archive)
|
|
- add new utils (rpm2archive)
|
|
|
|
|