Accepting request 105579 from home:elvigia:branches:Base:System

- Libraries are back to %{_libdir}, /usr merge project

OBS-URL: https://build.opensuse.org/request/show/105579
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysfsutils?expand=0&rev=10
This commit is contained in:
Marcus Meissner 2012-02-17 19:15:38 +00:00 committed by Git OBS Bridge
parent dfd653e502
commit 61cc5494d8
2 changed files with 13 additions and 15 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 16 20:11:00 UTC 2012 - crrodriguez@opensuse.org
- Libraries are back to %{_libdir}, /usr merge project
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 7 20:16:50 UTC 2010 - aj@suse.de Tue Sep 7 20:16:50 UTC 2010 - aj@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package sysfsutils (Version 2.1.0) # spec file for package sysfsutils
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,15 +15,13 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
Name: sysfsutils Name: sysfsutils
Summary: System Utilities Package / Libsysfs Summary: System Utilities Package / Libsysfs
Version: 2.1.0 License: LGPL-2.1+
Release: 138
License: LGPLv2.1+
Group: System/Libraries Group: System/Libraries
Version: 2.1.0
Release: 0
Url: http://linux-diag.sourceforge.net Url: http://linux-diag.sourceforge.net
Source: http://aleron.dl.sourceforge.net/sourceforge/linux-diag/%{name}-%{version}.tar.gz Source: http://aleron.dl.sourceforge.net/sourceforge/linux-diag/%{name}-%{version}.tar.gz
Source2: baselibs.conf Source2: baselibs.conf
@ -51,7 +49,6 @@ Authors:
%package devel %package devel
Summary: Development files for libsysfs Summary: Development files for libsysfs
License: LGPLv2.1+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name} = %{version} Requires: %{name} = %{version}
@ -67,16 +64,12 @@ This package contains the development files for libsysfs.
%setup -q %setup -q
%build %build
%configure --disable-static --with-pic --libdir=/%{_lib} %configure --disable-static --with-pic
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%install %install
make install DESTDIR=%{buildroot} make install DESTDIR=%{buildroot}
# create devel symlink in /usr %{__rm} -v %{buildroot}/%{_libdir}/libsysfs.la
mkdir -p %{buildroot}%{_libdir}
%{__ln_s} -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libsysfs.so) %{buildroot}%{_libdir}/libsysfs.so
%{__rm} -v %{buildroot}/%{_lib}/libsysfs.so
%{__rm} -v %{buildroot}/%{_lib}/libsysfs.la
# don't install the tools # don't install the tools
rm -f %{buildroot}/%{_bindir}/dlist_test rm -f %{buildroot}/%{_bindir}/dlist_test
rm -f %{buildroot}/%{_bindir}/get_device rm -f %{buildroot}/%{_bindir}/get_device
@ -95,7 +88,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root) %defattr(-,root,root)
/usr/bin/systool /usr/bin/systool
%{_mandir}/man1/systool.1.gz %{_mandir}/man1/systool.1.gz
/%{_lib}/libsysfs.so.* %{_libdir}/libsysfs.so.*
%doc README ChangeLog %doc README ChangeLog
%files devel %files devel