From f71dbba1114db8f2c9cd665300bc3fa89beba5b9001973ab2b2b0fd7ebe9456b Mon Sep 17 00:00:00 2001 From: Thomas Schraitle Date: Mon, 19 Sep 2011 07:00:32 +0000 Subject: [PATCH] - Applied spec file changes after Jan Engelhardt's mail on opensuse-packaging: (see also http://en.opensuse.org/openSUSE:Specfile_guidelines) - removal of '# norootforbuild' - removal of Authors list, no longer desired in factory - removal of %clean section, no longer required - adding %{?_smp_mflags} whereever there is none OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/daps?expand=0&rev=45 --- daps.changes | 11 +++++++++++ daps.spec | 20 ++------------------ fetchdapsspec | 7 +++++++ 3 files changed, 20 insertions(+), 18 deletions(-) create mode 100644 fetchdapsspec diff --git a/daps.changes b/daps.changes index 97e561b..083ab34 100644 --- a/daps.changes +++ b/daps.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Sep 19 06:58:53 UTC 2011 - toms@suse.de + +- Applied spec file changes after Jan Engelhardt's mail on + opensuse-packaging: + (see also http://en.opensuse.org/openSUSE:Specfile_guidelines) +- removal of '# norootforbuild' +- removal of Authors list, no longer desired in factory +- removal of %clean section, no longer required +- adding %{?_smp_mflags} whereever there is none + ------------------------------------------------------------------- Thu Sep 15 20:32:09 UTC 2011 - fsundermeyer@opensuse.org diff --git a/daps.spec b/daps.spec index d2f8aac..f0ab0cd 100644 --- a/daps.spec +++ b/daps.spec @@ -8,7 +8,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # -# norootforbuild Name: daps Version: 0.9beta7 @@ -167,15 +166,6 @@ DAPS is the successor of susedoc. See for upgrade instructions. -Authors: --------- - Frank Sundermeyer - Thomas Schraitle - Berthold Gunreben - Curtis Graham - Berthold Gunreben - Jana Jaeger - #-------------------------------------------------------------------------- %prep %setup -q -n %{name} @@ -184,12 +174,12 @@ Authors: #-------------------------------------------------------------------------- %build # specifying VERSION is manadatory!! -%__make VERSION=%{version} +%__make VERSION=%{version} %{?_smp_mflags} #-------------------------------------------------------------------------- %install # specifying VERSION is manadatory!! -%make_install VERSION=%{version} +%make_install VERSION=%{version} %{?_smp_mflags} # create symlinks: %fdupes -s $RPM_BUILD_ROOT/%{_datadir} @@ -258,12 +248,6 @@ fi exit 0 -#---------------------- -%clean -%__make clean -%{__rm} -rf $RPM_BUILD_ROOT - - #---------------------- %files %defattr(-,root,root) diff --git a/fetchdapsspec b/fetchdapsspec new file mode 100644 index 0000000..e170981 --- /dev/null +++ b/fetchdapsspec @@ -0,0 +1,7 @@ +#!/bin/sh +# Fetch the DAPS SPEC file from our SVN + + + +[ -e daps.spec ] && old daps.spec +svn cat https://svn.berlios.de/svnroot/repos/opensuse-doc/trunk/tools/daps/packaging/daps.spec > daps.spec