- Clean up old, no longer needed cruft from spec
- BuildRoot and %clean haven't been needed in ages - Dont bother compressing ChangeLog which is not even packaged anymore - Remove old ocaml-conflict from pre-4.8.0 era
This commit is contained in:
parent
54309be7c5
commit
365a62b957
14
rpm.spec
14
rpm.spec
@ -24,7 +24,7 @@
|
|||||||
Summary: The RPM package management system
|
Summary: The RPM package management system
|
||||||
Name: rpm
|
Name: rpm
|
||||||
Version: %{rpmver}
|
Version: %{rpmver}
|
||||||
Release: %{?snapver:0.%{snapver}.}16%{?dist}
|
Release: %{?snapver:0.%{snapver}.}17%{?dist}
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Url: http://www.rpm.org/
|
Url: http://www.rpm.org/
|
||||||
Source0: http://rpm.org/releases/rpm-4.11.x/%{name}-%{srcver}.tar.bz2
|
Source0: http://rpm.org/releases/rpm-4.11.x/%{name}-%{srcver}.tar.bz2
|
||||||
@ -136,8 +136,6 @@ BuildRequires: libubsan
|
|||||||
%global sanitizer_flags -fsanitize=address -fsanitize=undefined
|
%global sanitizer_flags -fsanitize=address -fsanitize=undefined
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
%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,
|
||||||
@ -203,7 +201,6 @@ Requires: /usr/bin/gdb-add-index
|
|||||||
# provide, typically coming from redhat-rpm-config.
|
# provide, typically coming from redhat-rpm-config.
|
||||||
Requires: system-rpm-config
|
Requires: system-rpm-config
|
||||||
Requires: perl-generators
|
Requires: perl-generators
|
||||||
Conflicts: ocaml-runtime < 3.11.1-7
|
|
||||||
|
|
||||||
%description build
|
%description build
|
||||||
The rpm-build package contains the scripts and executable programs
|
The rpm-build package contains the scripts and executable programs
|
||||||
@ -389,12 +386,6 @@ find $RPM_BUILD_ROOT -name "*.la"|xargs rm -f
|
|||||||
rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*}
|
rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*}
|
||||||
rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/perl*
|
rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/perl*
|
||||||
|
|
||||||
# compress our ChangeLog, it's fairly big...
|
|
||||||
bzip2 -9 ChangeLog
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
@ -537,6 +528,9 @@ exit 0
|
|||||||
%doc doc/librpm/html/*
|
%doc doc/librpm/html/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 26 2014 Panu Matilainen <pmatilai@redhat.com> - 4.11.2-17
|
||||||
|
- Clean up old, no longer needed cruft from spec
|
||||||
|
|
||||||
* Thu Jun 26 2014 Panu Matilainen <pmatilai@redhat.com> - 4.11.2-16
|
* Thu Jun 26 2014 Panu Matilainen <pmatilai@redhat.com> - 4.11.2-16
|
||||||
- Mark licenses as such, not documentation
|
- Mark licenses as such, not documentation
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user