Accepting request 940936 from Apache

Update to 20211102 (forwarded request 940925 from david.anes)

OBS-URL: https://build.opensuse.org/request/show/940936
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-rex?expand=0&rev=25
This commit is contained in:
Dominique Leuenberger 2021-12-18 19:29:50 +00:00 committed by Git OBS Bridge
commit ca89c3737e
5 changed files with 26 additions and 9 deletions

View File

@ -1,3 +1,4 @@
addFilter("apache-rex.noarch: W: files-duplicate")
addFilter("apache-rex.noarch: W: zero-length")
addFilter("apache-rex.noarch: W: wrong-file-end-of-line-encoding")
addFilter("apache-rex.noarch: E: zero-length")
addFilter("apache-rex.noarch: W: wrong-file-end-of-line-encoding")

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Dec 16 14:41:42 UTC 2021 - David Anes <david.anes@suse.com>
- version update to 20211102
* add mod_php-ssl
-------------------------------------------------------------------
Tue Jan 12 08:48:46 UTC 2021 - pgajdos@suse.com

View File

@ -16,16 +16,11 @@
#
#
%if 0%{?suse_version} > 1230
%define macros_dir %{_rpmconfigdir}/macros.d
%else
%define macros_dir %{_sysconfdir}/rpm
%endif
%define macros_file macros.apache-rex
Name: apache-rex
Version: 20210108
Version: 20211102
Release: 0
Summary: Script for Apache HTTPD Runnable Examples
License: Apache-2.0
@ -34,6 +29,8 @@ URL: https://github.com/pgajdos/apache-rex
Source0: %{name}.tar.bz2
Source1: apache-rex-rpmlintrc
Source2: %{macros_file}
# simple script to generate the tarball from a commit id
Source1000: generate_tarball.sh
Requires: apache2-devel
Requires: apache2-utils
Requires: curl

BIN
apache-rex.tar.bz2 (Stored with Git LFS)

Binary file not shown.

13
generate_tarball.sh Normal file
View File

@ -0,0 +1,13 @@
#!/bin/bash
if [ -n "$1" ]; then
rm -rf apache_rex
git clone https://github.com/pgajdos/apache-rex __repo
cd __repo
git checkout -b $1
git archive --format=tar --prefix="apache-rex/" $1 | bzip2 > ../apache-rex.tar.bz2
cd ..
rm -rf __repo
else
echo "Usage: generate.tarball.sh COMMIT_ID"
fi