1
0
Josef Reidinger 2013-10-16 09:05:49 +00:00 committed by Git OBS Bridge
parent 89f176d62a
commit 6261dff89d
4 changed files with 27 additions and 38 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e4a4abf7821d94fdbd06665ee43b7d4106df4f121725321ee181327dd0326b17
size 108676

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:23db20c92d43f3d33e3549412e3feabd5e070be91b13ed50bd98008a45a3a720
size 30134

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Sep 18 16:40:45 UTC 2013 - lslezak@suse.cz
- do not use *.spec.in template, use *.spec file with RPM macros
instead
- 3.1.0
-------------------------------------------------------------------
Wed Jul 31 08:31:18 UTC 2013 - yast-devel@opensuse.org

View File

@ -17,11 +17,11 @@
Name: yast2-iscsi-client
Version: 3.0.0
Version: 3.1.0
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-iscsi-client-%{version}.tar.bz2
Source0: %{name}-%{version}.tar.bz2
# Service module switched to systemd
BuildRequires: docbook-xsl-stylesheets
@ -33,7 +33,7 @@ BuildRequires: popt-devel
BuildRequires: sgml-skel
BuildRequires: update-desktop-files
BuildRequires: yast2 >= 2.23.15
BuildRequires: yast2-devtools
BuildRequires: yast2-devtools >= 3.0.6
BuildRequires: yast2-packagemanager-devel
BuildRequires: yast2-packager
BuildRequires: yast2-perl-bindings
@ -59,44 +59,26 @@ This package contains the YaST2 component for configuration of an iSCSI
client.
%prep
%setup -n yast2-iscsi-client-%{version}
%setup -n %{name}-%{version}
%build
%{_prefix}/bin/y2tool y2autoconf
%{_prefix}/bin/y2tool y2automake
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
./configure --libdir=%{_libdir} --prefix=%{_prefix} --mandir=%{_mandir}
# V=1: verbose build in case we used AM_SILENT_RULES(yes)
# so that RPM_OPT_FLAGS check works
make %{?jobs:-j%jobs} V=1
%yast_build
%install
make install DESTDIR="$RPM_BUILD_ROOT"
[ -e "%{_prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" make check DESTDIR="$RPM_BUILD_ROOT"
for f in `find $RPM_BUILD_ROOT/%{_prefix}/share/applications/YaST2/ -name "*.desktop"` ; do
d=${f##*/}
%suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop}
done
%clean
rm -rf "$RPM_BUILD_ROOT"
%yast_install
%files
%defattr(-,root,root)
%dir /usr/share/YaST2/include/iscsi-client
/usr/share/YaST2/include/iscsi-client/*
/usr/share/YaST2/clients/iscsi-client.rb
/usr/share/YaST2/clients/iscsi-client_*.rb
/usr/share/YaST2/clients/inst_iscsi-client.rb
/usr/share/YaST2/modules/IscsiClient.*
/usr/share/YaST2/modules/IscsiClientLib.*
%{_prefix}/share/applications/YaST2/iscsi-client.desktop
/usr/share/YaST2/scrconf/iscsid.scr
%doc %{_prefix}/share/doc/packages/yast2-iscsi-client
/usr/share/YaST2/schema/autoyast/rnc/iscsi-client.rnc
%dir %{yast_yncludedir}/iscsi-client
%{yast_yncludedir}/iscsi-client/*
%{yast_clientdir}/iscsi-client.rb
%{yast_clientdir}/iscsi-client_*.rb
%{yast_clientdir}/inst_iscsi-client.rb
%{yast_moduledir}/IscsiClient.*
%{yast_moduledir}/IscsiClientLib.*
%{yast_desktopdir}/iscsi-client.desktop
%{yast_scrconfdir}/iscsid.scr
%doc %{yast_docdir}
%{yast_schemadir}/autoyast/rnc/iscsi-client.rnc
%changelog