- Review cleanups from Todd Zullinger (#226447)

This commit is contained in:
Jarod Wilson 2008-02-25 22:24:20 +00:00
parent 039b7fcbe0
commit 8d881d26c5

View File

@ -1,11 +1,11 @@
Name: sysfsutils
URL: http://sourceforge.net/projects/linux-diag/
License: GPL
License: GPLv2
Group: Development/Tools
Version: 2.1.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: sysfsutils and library interface to sysfs
Summary: Utilities for interfacing with sysfs
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: http://prdownloads.sourceforge.net/linux-diag/%{name}-%{version}.tar.gz
Patch0: sysfsutils-2.0.0-redhatify.patch
@ -18,7 +18,7 @@ with sysfs.
%package -n libsysfs
Summary: Shared library for interfacing with sysfs
Group: System Environment/Libraries
License: LGPL
License: LGPLv2+
%description -n libsysfs
Library used in handling linux kernel sysfs mounts and their various files.
@ -26,8 +26,8 @@ Library used in handling linux kernel sysfs mounts and their various files.
%package -n libsysfs-devel
Summary: Static library and headers for libsysfs
Group: Development/Libraries
License: LGPLv2+
Requires: libsysfs = %{version}-%{release}
Obsoletes: sysfsutils-devel
%description -n libsysfs-devel
libsysfs-devel provides the header files and static libraries required
@ -50,9 +50,9 @@ make DESTDIR=$RPM_BUILD_ROOT install
rm -f $RPM_BUILD_ROOT%{_bindir}/dlist_test $RPM_BUILD_ROOT%{_bindir}/get_bus_devices_list $RPM_BUILD_ROOT%{_bindir}/get_class_dev $RPM_BUILD_ROOT%{_bindir}/get_classdev_parent $RPM_BUILD_ROOT%{_bindir}/get_device $RPM_BUILD_ROOT%{_bindir}/get_driver $RPM_BUILD_ROOT%{_bindir}/testlibsysfs $RPM_BUILD_ROOT%{_bindir}/write_attr
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%post -p /sbin/ldconfig
%post -n libsysfs -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -n libsysfs -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
@ -79,6 +79,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Mon Feb 25 2008 Jarod Wilson <jwilson@redhat.com> - 2.1.0-3
- Review cleanups from Todd Zullinger (#226447)
* Thu Feb 14 2008 Jarod Wilson <jwilson@redhat.com> - 2.1.0-2
- Bump and rebuild with gcc 4.3
@ -124,7 +127,7 @@ rm -rf $RPM_BUILD_ROOT
- Rebuild
* Wed Feb 09 2005 AJ Lewis <alewis@redhat.com> 1.2.0-3
- start using %configure instead of calling configure directly
- start using %%configure instead of calling configure directly
* Wed Feb 09 2005 AJ Lewis <alewis@redhat.com> 1.2.0-2
- rebuild