Hello community,

here is the log from the commit of package sgml-skel for openSUSE:Factory 
checked in at 2016-07-01 09:54:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sgml-skel (Old)
 and      /work/SRC/openSUSE:Factory/.sgml-skel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sgml-skel"

Changes:
--------
--- /work/SRC/openSUSE:Factory/sgml-skel/sgml-skel.changes      2015-07-20 
15:13:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.sgml-skel.new/sgml-skel.changes 2016-07-01 
09:54:48.000000000 +0200
@@ -1,0 +2,13 @@
+Tue Jun 14 14:50:47 UTC 2016 - [email protected]
+
+- Improve specfile
+- Version 0.7:
+  - Move to GitHub
+  - Integrate:
+    -  sgml-skel-edit-cat.diff
+    -  sgml-skel-regcat.diff
+    -  sgml-skel-regcat2.diff
+    -  edit-xml-catalog.sh
+    -  install-catalog.in
+
+-------------------------------------------------------------------

Old:
----
  edit-xml-catalog.sh
  install-catalog.in
  sgml-skel-0.6.tar.bz2
  sgml-skel-edit-cat.diff
  sgml-skel-regcat.diff
  sgml-skel-regcat2.diff

New:
----
  _service
  v0.7.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sgml-skel.spec ++++++
--- /var/tmp/diff_new_pack.0EWUpI/_old  2016-07-01 09:54:49.000000000 +0200
+++ /var/tmp/diff_new_pack.0EWUpI/_new  2016-07-01 09:54:49.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sgml-skel
 #
-# Copyright (c) 2015 SUSE Linux GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,78 +17,54 @@
 
 
 Name:           sgml-skel
-BuildRequires:  automake
-BuildRequires:  libxml2
+Version:        0.7
+Release:        0
 Summary:        Helper Scripts for the SGML System
 License:        GPL-2.0+
 Group:          Productivity/Publishing/SGML
-Version:        0.6
-Release:        0
-Requires:       libxml2
+Url:            https://github.com/openSUSE/sgml-skel
+Source0:        
https://github.com/openSUSE/sgml-skel/archive/v%{version}.tar.gz
+BuildRequires:  automake
+BuildRequires:  libxml2
+Requires:       /bin/awk
+Requires:       bash
+Requires:       coreutils
+Requires:       findutils
+Requires:       libxml2-tools
+Requires:       libxslt-tools
+Requires(post): /bin/awk
+Requires(post): findutils
+Requires(post): coreutils
 Requires(post): libxml2-tools
-PreReq:         /bin/awk
-PreReq:         /bin/mv
-PreReq:         /bin/chmod
-# URL: 
-Source0:        http://www.suse.de/~ke/%{name}/%{name}-%{version}.tar.bz2
-Source1:        docbook-tools/sgml-common/bin/install-catalog.in
-Source2:        edit-xml-catalog.sh
-Patch:          sgml-skel-regcat.diff
-Patch1:         sgml-skel-regcat2.diff
-Patch2:         sgml-skel-edit-cat.diff
+Requires(post): libxslt-tools
+Requires(post): bash
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
 %description
 These scripts will help prepare and maintain parts of an SGML system.
 
-
-
-Authors:
---------
-    Eric Bischoff <[email protected]>
-    Karl Eichwalder <[email protected]>
-
-%define sgmldir %{_datadir}/sgml
-%define INSTALL install -m755 -s
-%define INSTALL_SCRIPT install -m755
-%define INSTALL_DIR install -d -m755
-%define INSTALL_DATA install -m644
-
 %prep
 %setup -q
-%patch -p 1
-%patch1 -p 1
-# # cp -p $RPM_SOURCE_DIR/%{name}-README.SuSE .
-cp %{S:1} .
-cp %{S:2} .
-%patch2 -p 0
 
 %build
-# CFLAGS="$RPM_OPT_FLAGS"
-autoreconf -i -f
-./configure --prefix=%{_prefix} --infodir=%{_infodir} \
-  --datadir=%{_datadir} --mandir=%{_mandir} \
-  --build $RPM_ARCH-suse-linux
+autoreconf -fvi
+%configure 
 
 %install
-make install DESTDIR=$RPM_BUILD_ROOT
-%{INSTALL_SCRIPT} install-catalog.in $RPM_BUILD_ROOT%{_bindir}/install-catalog
-%{INSTALL_SCRIPT} edit-xml-catalog.sh \
-  $RPM_BUILD_ROOT%{_bindir}/edit-xml-catalog
-ln -sf sgml2xmlcat.sh $RPM_BUILD_ROOT%{_bindir}/sgmlcat2x.sh
-ln -sf install-catalog $RPM_BUILD_ROOT%{_bindir}/install-catalog.sh
-%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgmldir}
-%{INSTALL_DIR} $RPM_BUILD_ROOT%{_sysconfdir}/{sgml,xml}
-%{INSTALL_DIR} $RPM_BUILD_ROOT/var/lib/sgml
-touch $RPM_BUILD_ROOT%{_sysconfdir}/sgml/catalog
-xmlcatalog --noout --create $RPM_BUILD_ROOT%{_sysconfdir}/xml/suse-catalog.xml
-xmlcatalog --noout --create $RPM_BUILD_ROOT%{_sysconfdir}/xml/catalog
-xmlcatalog --noout --add  "nextCatalog" "suse-catalog.xml" "suse-catalog.xml" \
-  $RPM_BUILD_ROOT%{_sysconfdir}/xml/catalog
-
-%clean
-rm -fr $RPM_BUILD_ROOT
+%make_install
+ln -sf sgml2xmlcat.sh %{buildroot}%{_bindir}/sgmlcat2x.sh
+ln -sf install-catalog %{buildroot}%{_bindir}/install-catalog.sh
+ln -sf edit-xml-catalog %{buildroot}%{_bindir}/edit-xml-catalog.sh
+install -d -m755 %{buildroot}%{_datadir}/sgml
+install -d -m755 %{buildroot}%{_sysconfdir}/{sgml,xml}
+install -d -m755 %{buildroot}%{_localstatedir}/lib/sgml
+touch %{buildroot}%{_sysconfdir}/sgml/catalog
+xmlcatalog --noout --create %{buildroot}%{_sysconfdir}/xml/suse-catalog.xml
+xmlcatalog --noout --create %{buildroot}%{_sysconfdir}/xml/catalog
+xmlcatalog --noout --add  "nextCatalog" "suse-catalog.xml" "suse-catalog.xml" 
%{buildroot}%{_sysconfdir}/xml/catalog
+xmlcatalog --noout --add  "nextCatalog" "catalog-d.xml" "catalog-d.xml" 
%{buildroot}%{_sysconfdir}/xml/catalog
+install -d -m755 %{buildroot}%{_sysconfdir}/xml/catalog.d
 
 %post
 # only create suse-catalog.xml at installation time; not in the update case
@@ -97,16 +73,20 @@
     || xmlcatalog --create  | sed 's:/>:>\
 </catalog>:' >%{_sysconfdir}/xml/suse-catalog.xml
 fi
+update-xml-catalog
 
 %files
 %defattr(-, root, root)
-%doc AUTHORS COPYING NEWS README*
+%dir %{_sysconfdir}/sgml
+%dir %{_sysconfdir}/xml
+%dir %{_sysconfdir}/xml/catalog.d
+%dir %{_localstatedir}/lib/sgml
+%doc AUTHORS COPYING ChangeLog README*
 %ghost %{_sysconfdir}/sgml/catalog
 %ghost %{_sysconfdir}/xml/suse-catalog.xml
+%ghost %{_sysconfdir}/xml/catalog-d.xml
 %config %verify(not md5 size mtime) %{_sysconfdir}/xml/catalog
-%dir %{_sysconfdir}/sgml
-%dir %{_sysconfdir}/xml
 %{_bindir}/*
-%dir /var/lib/sgml
+%{_mandir}/man1/*
 
 %changelog

++++++ _service ++++++
<services>
  <service name="download_files" mode="disabled" />
</services>

Reply via email to