auto-import changelog data from net-snmp-5.1.1-3.src.rpm
Thu May 06 2004 Phil Knirsch <pknirsch@redhat.com> 5.1.1-3 - Reworked the perl filelist stuff (Thanks to marius feraru).
This commit is contained in:
parent
3762211db6
commit
542d6af255
@ -3,7 +3,7 @@
|
|||||||
Summary: A collection of SNMP protocol tools and libraries.
|
Summary: A collection of SNMP protocol tools and libraries.
|
||||||
Name: net-snmp
|
Name: net-snmp
|
||||||
Version: 5.1.1
|
Version: 5.1.1
|
||||||
Release: 2
|
Release: 3
|
||||||
License: BSDish
|
License: BSDish
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
Source0: ftp://net-snmp.sourceforge.net/net-snmp-%{version}.tar.gz
|
Source0: ftp://net-snmp.sourceforge.net/net-snmp-%{version}.tar.gz
|
||||||
@ -189,23 +189,32 @@ ln -s snmptrap ${RPM_BUILD_ROOT}/usr/bin/snmpinform
|
|||||||
cp local/mib2c.*.conf ${RPM_BUILD_ROOT}%{_datadir}/snmp
|
cp local/mib2c.*.conf ${RPM_BUILD_ROOT}%{_datadir}/snmp
|
||||||
|
|
||||||
pushd perl
|
pushd perl
|
||||||
make PREFIX=${RPM_BUILD_ROOT}/%{_prefix} install_vendor
|
make install_vendor
|
||||||
eval $(perl '-V:installvendorlib')
|
eval $(perl '-V:installvendorarch')
|
||||||
|
|
||||||
# Urgs, what an evil hack. Brrr.
|
# Urgs, what an evil hack. Brrr.
|
||||||
%if "%{_libdir}" == "/usr/lib64"
|
#%if "%{_libdir}" == "/usr/lib64"
|
||||||
installvendorlib=`echo $installvendorlib | sed 's/lib/lib64/'`
|
#installvendorarch=`echo $installvendorarch | sed 's/lib/lib64/'`
|
||||||
%endif
|
#%endif
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT%{_libdir} -name Makefile.subs.pl | xargs rm -f
|
# remove special files
|
||||||
find $RPM_BUILD_ROOT%{_libdir} -name perllocal.pod | xargs rm -f
|
find $RPM_BUILD_ROOT -name perllocal.pod \
|
||||||
find $RPM_BUILD_ROOT%{_libdir} -name .packlist | xargs rm -f
|
-o -name .packlist \
|
||||||
|
-o -name "*.bs" \
|
||||||
|
-o -name Makefile.subs.pl \
|
||||||
|
| xargs -ri rm -f {}
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT/$installvendorlib -type f -print \
|
# no empty directories
|
||||||
-o -type d -a \
|
find $RPM_BUILD_ROOT/$installvendorarch \
|
||||||
-name NetSNMP -printf '%%%%dir %%p\n' \
|
-depth -type d -a -empty -exec rmdir {} \;
|
||||||
-o -name SNMP -printf '%%%%dir %%p\n' | \
|
|
||||||
sed "s@$RPM_BUILD_ROOT@@g" > ../perl.lst
|
# build files list
|
||||||
|
find $RPM_BUILD_ROOT/$installvendorarch -type f -print \
|
||||||
|
-o -type d -a -printf '%%%%dir %%p\n' \
|
||||||
|
| sed "s@$RPM_BUILD_ROOT@@g" \
|
||||||
|
| grep -v "$installvendorarch\$" \
|
||||||
|
| grep -v '/auto$' \
|
||||||
|
> ../perl.lst
|
||||||
popd
|
popd
|
||||||
find $RPM_BUILD_ROOT -name '*.so' | xargs chmod 0755
|
find $RPM_BUILD_ROOT -name '*.so' | xargs chmod 0755
|
||||||
|
|
||||||
@ -276,6 +285,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%attr(0644,root,root) %{_mandir}/man3/*.3pm.*
|
%attr(0644,root,root) %{_mandir}/man3/*.3pm.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 06 2004 Phil Knirsch <pknirsch@redhat.com> 5.1.1-3
|
||||||
|
- Reworked the perl filelist stuff (Thanks to marius feraru).
|
||||||
|
|
||||||
* Thu Apr 08 2004 Phil Knirsch <pknirsch@redhat.com> 5.1.1-2
|
* Thu Apr 08 2004 Phil Knirsch <pknirsch@redhat.com> 5.1.1-2
|
||||||
- Added Kaj J. Niemi that fixes ipAdEntIfIndex problem (#119106)
|
- Added Kaj J. Niemi that fixes ipAdEntIfIndex problem (#119106)
|
||||||
- Added Kaj J. Niemi to shut up memshared message for 2.6 kernel (#119203)
|
- Added Kaj J. Niemi to shut up memshared message for 2.6 kernel (#119203)
|
||||||
|
Loading…
Reference in New Issue
Block a user