Updating link to change in openSUSE:Factory/rpm revision 147.0

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=e9b7b17a2fa73578dc59f1ba95b885af
This commit is contained in:
OBS User buildservice-autocommit 2011-06-20 07:23:52 +00:00 committed by Git OBS Bridge
parent 6839977296
commit c97e7e6599
2 changed files with 2 additions and 19 deletions

View File

@ -26,14 +26,13 @@ License: GPLv2+
Group: System/Packages Group: System/Packages
Summary: Python Bindings for Manipulating RPM Packages Summary: Python Bindings for Manipulating RPM Packages
Version: 4.9.0 Version: 4.9.0
Release: 9 Release: 10
Requires: rpm = %{version} Requires: rpm = %{version}
%py_requires %py_requires
Source99: rpm.spec Source99: rpm.spec
%{expand:%(sed -n -e '/^Source:/,/^BuildRoot:/p' <%_sourcedir/rpm.spec)} %{expand:%(sed -n -e '/^Source:/,/^BuildRoot:/p' <%_sourcedir/rpm.spec)}
%global with_python 1 %global with_python 1
%description %description
The rpm-python package contains a module that permits applications The rpm-python package contains a module that permits applications
written in the Python programming language to use the interface written in the Python programming language to use the interface
@ -52,7 +51,6 @@ Authors:
%prep %prep
%{expand:%(sed -n -e '/^%%prep/,/^%%install/p' <%_sourcedir/rpm.spec | sed -e '1d' -e '$d')} %{expand:%(sed -n -e '/^%%prep/,/^%%install/p' <%_sourcedir/rpm.spec | sed -e '1d' -e '$d')}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/lib mkdir -p $RPM_BUILD_ROOT/usr/lib
@ -66,15 +64,11 @@ python %py_libdir/py_compile.py *.py
python -O %py_libdir/py_compile.py *.py python -O %py_libdir/py_compile.py *.py
popd popd
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/python*/*/* %{_libdir}/python*/*/*
%changelog %changelog

View File

@ -29,7 +29,7 @@ PreReq: %insserv_prereq %fillup_prereq permissions
AutoReqProv: on AutoReqProv: on
Summary: The RPM Package Manager Summary: The RPM Package Manager
Version: 4.9.0 Version: 4.9.0
Release: 17 Release: 19
Source: rpm-%{version}.tar.bz2 Source: rpm-%{version}.tar.bz2
Source1: RPM-HOWTO.tar.bz2 Source1: RPM-HOWTO.tar.bz2
Source2: RPM-Tips.html.tar.bz2 Source2: RPM-Tips.html.tar.bz2
@ -123,7 +123,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
# avoid bootstrapping problem # avoid bootstrapping problem
%define _binary_payload w9.bzdio %define _binary_payload w9.bzdio
%description %description
RPM Package Manager is the main tool for managing the software packages RPM Package Manager is the main tool for managing the software packages
of the SuSE Linux distribution. of the SuSE Linux distribution.
@ -147,7 +146,6 @@ Group: System/Packages
Requires: rpm = %{version} Requires: rpm = %{version}
Requires: popt-devel Requires: popt-devel
%description devel %description devel
This package contains the RPM C library and header files. These This package contains the RPM C library and header files. These
development files will simplify the process of writing programs which development files will simplify the process of writing programs which
@ -197,7 +195,6 @@ cp -a %{SOURCE4} suse_macros
rm -f m4/libtool.m4 rm -f m4/libtool.m4
rm -f m4/lt*.m4 rm -f m4/lt*.m4
%build %build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -ffunction-sections" export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -ffunction-sections"
export LDFLAGS="-Wl,-Bsymbolic-functions -ffunction-sections" export LDFLAGS="-Wl,-Bsymbolic-functions -ffunction-sections"
@ -217,7 +214,6 @@ rm po/de.gmo
make %{?_smp_mflags} make %{?_smp_mflags}
make convertdb1 make convertdb1
%install %install
mkdir -p $RPM_BUILD_ROOT/usr/lib mkdir -p $RPM_BUILD_ROOT/usr/lib
mkdir -p $RPM_BUILD_ROOT/usr/share/locale mkdir -p $RPM_BUILD_ROOT/usr/share/locale
@ -291,11 +287,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/rpm-plugins/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/rpm-plugins/*.la
sh $RPM_BUILD_ROOT/usr/lib/rpm/find-lang.sh $RPM_BUILD_ROOT rpm sh $RPM_BUILD_ROOT/usr/lib/rpm/find-lang.sh $RPM_BUILD_ROOT rpm
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%post %post
%{fillup_only -an services} %{fillup_only -an services}
%run_permissions %run_permissions
@ -309,14 +303,12 @@ fi
# delete no longer maintained databases # delete no longer maintained databases
rm -f var/lib/rpm/Filemd5s var/lib/rpm/Filedigests var/lib/rpm/Requireversion var/lib/rpm/Provideversion rm -f var/lib/rpm/Filemd5s var/lib/rpm/Filedigests var/lib/rpm/Requireversion var/lib/rpm/Provideversion
%postun %postun
%{insserv_cleanup} %{insserv_cleanup}
%verifyscript %verifyscript
%verify_permissions -f /usr/lib/rpm/permlist %verify_permissions -f /usr/lib/rpm/permlist
%files -f rpm.lang %files -f rpm.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc CHANGES.gz COPYING GROUPS %doc CHANGES.gz COPYING GROUPS
@ -344,7 +336,6 @@ rm -f var/lib/rpm/Filemd5s var/lib/rpm/Filedigests var/lib/rpm/Requireversion va
%verify(not mode) %dir %attr(755,root,root) /usr/src/packages/RPMS/* %verify(not mode) %dir %attr(755,root,root) /usr/src/packages/RPMS/*
/var/adm/fillup-templates/sysconfig.services-rpm /var/adm/fillup-templates/sysconfig.services-rpm
%files devel %files devel
%defattr(644,root,root,755) %defattr(644,root,root,755)
/usr/include/rpm /usr/include/rpm
@ -354,6 +345,4 @@ rm -f var/lib/rpm/Filemd5s var/lib/rpm/Filedigests var/lib/rpm/Requireversion va
%{_libdir}/librpmsign.so %{_libdir}/librpmsign.so
%{_libdir}/pkgconfig/rpm.pc %{_libdir}/pkgconfig/rpm.pc
%changelog %changelog