Accepting request 501206 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/501206 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grep?expand=0&rev=64
This commit is contained in:
commit
45e855e6c1
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 1 19:23:26 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Use https url's
|
||||||
|
- Drop no longer needed explicit pie
|
||||||
|
- Enable profiled build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 11 07:19:36 UTC 2017 - mpluskal@suse.com
|
Sat Feb 11 07:19:36 UTC 2017 - mpluskal@suse.com
|
||||||
|
|
||||||
|
25
grep.spec
25
grep.spec
@ -22,10 +22,10 @@ Release: 0
|
|||||||
Summary: Print lines matching a pattern
|
Summary: Print lines matching a pattern
|
||||||
License: GPL-3.0+
|
License: GPL-3.0+
|
||||||
Group: Productivity/Text/Utilities
|
Group: Productivity/Text/Utilities
|
||||||
Url: http://www.gnu.org/software/grep/
|
Url: https://www.gnu.org/software/grep/
|
||||||
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
Source0: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
||||||
Source2: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
|
Source2: https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
|
||||||
Source3: http://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep&download=1#/%{name}.keyring
|
Source3: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=grep&download=1#/%{name}.keyring
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: makeinfo
|
BuildRequires: makeinfo
|
||||||
BuildRequires: pcre-devel
|
BuildRequires: pcre-devel
|
||||||
@ -44,13 +44,20 @@ match to a specified pattern. By default, grep prints the matching lines.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global optflags %{optflags} -fPIE
|
%configure \
|
||||||
export LDFLAGS="-pie"
|
--disable-silent-rules \
|
||||||
%configure --disable-silent-rules --without-included-regex
|
--without-included-regex
|
||||||
make %{?_smp_mflags}
|
%if %{do_profiling}
|
||||||
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
|
||||||
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" check
|
||||||
|
make clean
|
||||||
|
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
|
||||||
|
%else
|
||||||
|
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||||
|
%endif
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check VERBOSE=1 %{?_smp_mflags}
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user