Remove redundant tags/sections from specfile

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=30
This commit is contained in:
Jan Engelhardt 2012-02-11 03:09:48 +00:00 committed by Git OBS Bridge
parent 16b8beb09f
commit 47624ba2e7
2 changed files with 13 additions and 14 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Feb 11 03:09:32 UTC 2012 - jengelh@medozas.de
- Remove rednudant tags/sections from specfile
-------------------------------------------------------------------
Thu Jan 26 12:38:03 UTC 2012 - dmacvicar@suse.de

View File

@ -16,13 +16,12 @@
#
Name: augeas
Version: 0.9.0
Release: 1
Release: 0
Summary: A library for changing configuration files
Group: System/Libraries
License: GPL-3.0+ ; LGPL-2.1+
Group: System/Libraries
Url: http://augeas.net/
Source0: http://augeas.net/download/augeas-%{version}.tar.gz
Source1: baselibs.conf
@ -30,7 +29,8 @@ Patch0: augeas-modprobe-lense.patch
# PATCH-FIX-OPENSUSE bnc-729491-recognize-suse-sysconfig-files.patch [bnc#729491]
Patch1: bnc-729491-recognize-suse-sysconfig-files.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: glib2-devel readline-devel
BuildRequires: glib2-devel
BuildRequires: readline-devel
%description
A library for programmatically editing configuration files. Augeas
@ -45,7 +45,6 @@ file format and the transformation into a tree.
%define __shrlibname lib%{name}0
%package devel
License: GPL-3.0+ ; LGPL-2.1+
Summary: A library for changing configuration files
Group: Development/Libraries/C and C++
Requires: %{__shrlibname} = %{version}
@ -61,7 +60,6 @@ details. It is controlled by ``lens'' definitions that describe the
file format and the transformation into a tree.
%package -n %{__shrlibname}
License: GPL-3.0+ ; LGPL-2.1+
Summary: A library for changing configuration files
Group: Development/Libraries/C and C++
Recommends: %{name}-lenses = %{version}
@ -77,7 +75,6 @@ details. It is controlled by ``lens'' definitions that describe the
file format and the transformation into a tree.
%package lenses
License: GPL-3.0+ ; LGPL-2.1+
Summary: Official set of lenses for use by %{__shrlibname}
Group: Development/Libraries/Other
Requires: %{__shrlibname} = %{version}
@ -91,7 +88,6 @@ mapping of its contents into a tree. This package includes the official
set of lenses.
%package lense-tests
License: GPL-3.0+ ; LGPL-2.1+
Summary: Set of tests for official Augeas lenses
Group: Development/Libraries/Other
Requires: %{name}-lenses = %{version}
@ -108,19 +104,17 @@ modifying the official lenses, or when creating new ones.
%build
export CFLAGS="-Wno-error $RPM_OPT_FLAGS"
%configure --disable-static
%{__make} %_smp_mflags
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
find $RPM_BUILD_ROOT -name '*.la' -delete
# move vim files to the right location
mv $RPM_BUILD_ROOT/%{_datadir}/vim/vimfiles $RPM_BUILD_ROOT/%{_datadir}/vim/site
%post -n %{__shrlibname}
/sbin/ldconfig
%post -n %{__shrlibname} -p /sbin/ldconfig
%postun -n %{__shrlibname}
/sbin/ldconfig
%postun -n %{__shrlibname} -p /sbin/ldconfig
%files
%defattr(-,root,root,-)