- 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
This commit is contained in:
Thomas Schraitle 2011-09-19 07:00:32 +00:00 committed by Git OBS Bridge
parent a6fa0d4aae
commit f71dbba111
3 changed files with 20 additions and 18 deletions

View File

@ -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

View File

@ -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 <fsundermeyer AT suse DOT de>
Thomas Schraitle <toms AT suse DOT de>
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)

7
fetchdapsspec Normal file
View File

@ -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